The default provisioning server url now points to the production server. Also switches to the real field provisioning system ID that works only on the production servers, and updates the unit tests to work properly with the prod servers. Bug: 8724358 Merge of: https://widevine-internal-review.googlesource.com/#/c/5270/ https://widevine-internal-review.googlesource.com/#/c/5550/ https://widevine-internal-review.googlesource.com/#/c/5321/ https://widevine-internal-review.googlesource.com/#/c/5501/ from the Widevine CDM repository Change-Id: Iff1d7349c6a84bf30c6cdd534933ae747d5cff55
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/file_store_unittest
|
|
adb shell /system/bin/device_files_unittest
|
|
adb shell /system/bin/timer_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"
|
|
|