a78c1cc9773532b1f9d066ed8fa0d9414c1bb8bb |
|
01-Apr-2017 |
Chong Zhang <chz@google.com> |
MediaCas: combine openSession methods Combine the two openSession methods into one that doesn't take any arguments. This gives the client more flexibility on creating sessions efficiently. They can better decide whether to share one session for multiple streams, or create one session per stream. bug: 22804304 Change-Id: I9634f4dd4fc437229068103b54555cc28a818937
/frameworks/av/drm/mediacas/plugins/clearkey/ClearKeyCasPlugin.cpp
|
b01fb48fcc755d6bfad9bc94d8c227349155e1b5 |
|
24-Mar-2017 |
Chong Zhang <chz@google.com> |
MediaCas: fixes for playback tests - Set crypto mode to kMode_AES_CTR, since kMode_AES_CBC is not defined on Java API, and is rejected when the sample is queued to MediaCodec. - Wrap the plugin object in a RefBase, and hold a strong ref to it when executing any API calls in CasImpl. This is needed because CasImpl could be released by Java API, while MediaCodec native is still trying to access it. - Fix build warnings. Tests: cts-tradefed run cts-dev --module CtsMediaTestCases --test android.media.cts.ClearKeySystemTest It should not fail. bug: 22804304 Change-Id: Id4ef037d57dd741d2bb22b1de3d04c8d078b69fb
/frameworks/av/drm/mediacas/plugins/clearkey/ClearKeyCasPlugin.cpp
|
791a1a206b56be8601a6fffd2614926e67d64790 |
|
03-Jan-2017 |
Chong Zhang <chz@google.com> |
MediaCas: add two sets of test plugins - MockCasPlugin: does nothing other than API logging - ClearKeyCasPlugin: implement a clear key CAS that carries content keys in the clear in ECMs. It initializes from a test asset string with a valid id. It outputs to clear buffers. bug: 22804304 Change-Id: Ifc70b86c1ec80a45b75c7bdd1e558a59018ace5a
/frameworks/av/drm/mediacas/plugins/clearkey/ClearKeyCasPlugin.cpp
|