• Home
  • History
  • Annotate
  • only in /frameworks/av/drm/mediadrm/plugins/clearkey/tests/
History log of /frameworks/av/drm/mediadrm/plugins/clearkey/tests/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
01a977aa75c296c5467024a7beac50cbd4ed0335 11-Aug-2016 Edwin Wong <edwinwong@google.com> Fix AMediaDrm_getKeyRequest which fails clearkey InitDataParser::parse test.

AMediaDrm_getKeyRequest() passes mimeType to drm plugin's getKeyRequest()
based on the UUID. If the drm scheme is clearkey UUID, clearkey plugin will
return ERROR_DRM_CANNOT_HANDLE because it is expecting initDataType
(e.g. "cenc") instead of mimeType (e.g. "video/mp4").

Replace initDataType parameter in clearkey DrmPlugin::getKeyRequest() with
mimeType.

bug: 30790899
Change-Id: I60c77c458d8d836d3eb2f9f52296a86efa73a4eb
nitDataParserUnittest.cpp
683202e1d42d2642f7471272b4a3b5d64525a7bf 23-Jan-2015 Adam Langley <agl@google.com> Remove superfluous OpenSSL include paths.

The libcrypto and libssl modules (and their respective static and host
versions) use LOCAL_EXPORT_C_INCLUDE_DIRS thus just including the module
is sufficient.

Change-Id: If9df76e6fefb7419cbb2fb33a0264626c748561e
ndroid.mk
effaa7832a095c11acedbe488ebbeff296f35ab8 10-Nov-2014 Dan Albert <danalbert@google.com> Move to libc++.

This also cleans up some makefile cruft.

Bug: 15193147
Change-Id: Ia53ca4f6fb2153f4e77e6f696eb27dcaae73a78e
ndroid.mk
4ebf92c0418584f1bb5ab3e83e8398351f4c05e5 01-Jul-2014 Edwin Wong <edwinwong@google.com> Create a single test binary.

To run individual test suite, follow the example shown below:
adb shell LD_LIBRARY_PATH=/system/vendor/lib/mediadrm /system/bin/ClearKeyDrmUnitTest
--gtest_filter=JsonWebKeyTest.*

Change-Id: I8ecc944a734cde351505a7cd8c3997976d74553b
ndroid.mk
nit-test.mk
2421a4ba309f082a83be9b8e385c00cd8e0043f6 01-Jul-2014 Edwin Wong <edwinwong@google.com> Fix build target path.

Change-Id: I45ee7efb13ffaff8c15ce6b2aea3076db713c73e
nit-test.mk
8d0bc4a8ea2a5d0d6aba036f15b185d60e18778f 23-Jun-2014 John "Juce" Bruce <juce@google.com> Add Unit Tests for ClearKey Plugin

Change-Id: I0008a01d29ade169df9a0fd30ca0303adf9ecad3
esCtrDecryptorUnittest.cpp
ndroid.mk
nitDataParserUnittest.cpp
nit-test.mk
7bdf28d2b83e527f474e96b0984d6a3f5eb457f7 16-May-2014 Edwin Wong <edwinwong@google.com> JsonWebKey support.

Parses JSON Web Key Set in the response data; extracts and base64 decode
key id(s) and key(s).

bug: 12035506
Change-Id: Ib71bce942d6eca1e569dfad0a9adb6dee1cdf75e
ndroid.mk
sonWebKeyUnittest.cpp
nit-test.mk