bug: 8620943 This is a merge of changes made to the Widevine CDM repository during certificate provisioning verification. The following changes are included: Fixes for certificate based licensing https://widevine-internal-review.googlesource.com/#/c/5162/ Base64 encode and decode now handles non-multiple of 24-bits input https://widevine-internal-review.googlesource.com/#/c/4981/ Fixed issues with device provisioning response handling https://widevine-internal-review.googlesource.com/#/c/5153/ Persistent storage to support device certificates https://widevine-internal-review.googlesource.com/#/c/5161/ Enable loading of certificates https://widevine-internal-review.googlesource.com/#/c/5172/ Provide license server url https://widevine-internal-review.googlesource.com/#/c/5173/ Change-Id: I0c032c1ae0055dcc1a7a77ad4b0ea0898030dc7d
25 lines
786 B
Bash
Executable File
25 lines
786 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -z "$ANDROID_BUILD_TOP" ]; then
|
|
echo "Android build environment not set"
|
|
exit -1
|
|
fi
|
|
|
|
echo "waiting for device"
|
|
adb root && adb wait-for-device remount && adb sync
|
|
|
|
adb shell /system/bin/request_license_test
|
|
adb shell /system/bin/policy_engine_unittest
|
|
adb shell /system/bin/libwvdrmmediacrypto_test
|
|
adb shell /system/bin/libwvdrmdrmplugin_test
|
|
adb shell /system/bin/cdm_engine_test
|
|
adb shell /system/bin/oemcrypto_test
|
|
adb shell /system/bin/file_store_unittest
|
|
adb shell /system/bin/device_files_unittest
|
|
adb shell LD_LIBRARY_PATH=/system/vendor/lib/mediadrm/ /system/bin/libwvdrmengine_test
|
|
|
|
adb shell am start com.widevine.test/com.widevine.test.MediaDrmAPITest
|
|
# TODO: make this test more command line friendly
|
|
echo "check logcat output for MediaDrmAPITest"
|
|
|