Implement Widevine drm HIDL HAL service.
Modify Android mediadrm and mediacrypto glue layer to use HIDL interface. Test: Play Movies (streaming and offline playback) Test: ANDROID_BUILD_TOP= ./android-gts/tools/gts-tradefed run gts -m GtsMediaTestCases Test: adb shell /system/bin/libwvdrmengine_hidl_test Test: adb shell /system/bin/libwvdrmmediacrypto_hidl_test Test: adb shell /system/bin/libwvdrmdrmplugin_hidl_test bug: 34628973 Change-Id: Icd5f2dd556acb9874697963b4d7d62cb7c943e74
This commit is contained in:
committed by
John W. Bruce
parent
a4506542df
commit
2dc53442e7
@@ -71,7 +71,9 @@ adb_shell_run request_license_test
|
||||
adb_shell_run policy_engine_unittest
|
||||
adb_shell_run policy_engine_constraints_unittest
|
||||
adb_shell_run libwvdrmmediacrypto_test
|
||||
adb_shell_run libwvdrmmediacrypto_hidl_test
|
||||
adb_shell_run libwvdrmdrmplugin_test
|
||||
adb_shell_run libwvdrmdrmplugin_hidl_test
|
||||
adb_shell_run cdm_engine_test
|
||||
adb_shell_run cdm_session_unittest
|
||||
adb_shell_run file_store_unittest
|
||||
@@ -89,14 +91,9 @@ adb_shell_run event_metric_test
|
||||
library_path="/system/vendor/lib/mediadrm/ "
|
||||
adb_shell_run libwvdrmengine_test LD_LIBRARY_PATH=$library_path
|
||||
|
||||
library_path="/system/vendor/lib/hw/ "
|
||||
adb_shell_run libwvdrmengine_hidl_test LD_LIBRARY_PATH=$library_path
|
||||
|
||||
# Re-enable DroidGuard
|
||||
set_droidguard enable
|
||||
|
||||
adb shell am start com.widevine.test/com.widevine.test.MediaDrmAPITest
|
||||
if [ $final_result -eq 0 ]; then
|
||||
echo "MediaDrm unittests completed successfully!"
|
||||
else
|
||||
printf '\n%s\n' "${failed_tests[@]}"
|
||||
exit $final_result
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user