am 39bfc698: Merge "Add ability to test supported content types to MediaDrm" into klp-dev

* commit '39bfc6989259c5d24fd43f3d7fa7e967a4b17aac':
  Add ability to test supported content types to MediaDrm
This commit is contained in:
Jeff Tinker 2013-08-22 16:13:15 -07:00 committed by Android Git Automerger
commit 052f9b2fad
1 changed files with 5 additions and 0 deletions

View File

@ -60,6 +60,11 @@ namespace android {
// given crypto scheme, which is specified by a UUID.
virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) = 0;
// DrmFactory::isContentTypeSupported can be called to determine
// if the plugin factory is able to construct plugins that support a
// given media container format specified by mimeType
virtual bool isContentTypeSupported(const String8 &mimeType) = 0;
// Construct a DrmPlugin for the crypto scheme specified by UUID.
virtual status_t createDrmPlugin(
const uint8_t uuid[16], DrmPlugin **plugin) = 0;