platform_hardware_interfaces/drm/1.0/vts/functional
Edwin Wong 48311a8c27 Fix VtsHalDrmV1_0Target clearkey tests.
1. Fix the following issues:
  - queryKeyStatus is now implemented, do not return
    ERROR_DRM_CANNOT_HANDLE anymore
  - expectedKeyRequest and knownKeyResponse should use
    '-' and '_' instead of '+' and '/' for base64Url encode;
    one uint8_t change from 0x2b to 0x2d for each vector

2. Add tests to create clearkey drm and crypto plugin using
both common pssh box format system ID and clearkey scheme
UUID.

Test: Vts test on Marlin and Taimen
  adb shell /data/nativetest/VtsHalDrmV1_0TargetTest/
  VtsHalDrmV1_0TargetTest

Test: Cts ClearKeyTest on Marlin and Taimen
  ANDROIOP= ./android-cts/tools/cts-tradefed run cts
  -m CtsMediaTestCases
  --test android.media.cts.ClearKeySystemTest

Test: ClearKey plugin unit tests
  adb shell LD_LIBRARY_PATH="/vendor/lib/mediadrm"
  /data/nativetest/ClearKeyDrmUnitTest/ClearKeyDrmUnitTest

Test: netflix and Play Movies & TV for sanity check

bug: 66327050
Change-Id: Icfbe715cf246a7c5253d5f104d0fd446618b18bd
2017-10-04 03:31:27 +00:00
..
Android.bp Drm test static links to HAL def libs. 2017-08-22 16:10:27 +00:00
drm_hal_clearkey_test.cpp Fix VtsHalDrmV1_0Target clearkey tests. 2017-10-04 03:31:27 +00:00
drm_hal_vendor_module_api.h Skip tests when the drm scheme is not installed 2017-04-14 13:28:32 -07:00
drm_hal_vendor_test.cpp Allow clearkey tests to run if no vendor modules am: 5db2e67293 2017-08-18 04:13:04 +00:00
vendor_modules.cpp Remove dependency to libmediadrm from drm HAL 2017-06-20 12:32:28 +09:00
vendor_modules.h Remove dependency to libmediadrm from drm HAL 2017-06-20 12:32:28 +09:00