Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be0b32a1 authored by Jeff Tinker's avatar Jeff Tinker Committed by Android Git Automerger
Browse files

am 052f9b2f: am 39bfc698: Merge "Add ability to test supported content types...

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

* commit '052f9b2f':
  Add ability to test supported content types to MediaDrm
parents 3b15290d 052f9b2f
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -60,6 +60,11 @@ namespace android {
        // given crypto scheme, which is specified by a UUID.
        // given crypto scheme, which is specified by a UUID.
        virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) = 0;
        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.
        // Construct a DrmPlugin for the crypto scheme specified by UUID.
        virtual status_t createDrmPlugin(
        virtual status_t createDrmPlugin(
                const uint8_t uuid[16], DrmPlugin **plugin) = 0;
                const uint8_t uuid[16], DrmPlugin **plugin) = 0;