* DO NOT MERGE * Fixes crashes on Watch device.
Clearkey support is not required on Watch devices.
On tests that do not play content: if the device is a watch,
and there is no clearkey plugin, skip the test.
On tests that play content: if the device is a watch,
skip the test because the device may not have the codec.
Also, Clearkey tests should use CLEARKEY_SCHEME_UUID
for clarity even though the clearkey service supports
both UUIDs.
bug: 68994488
Test: Cts tests on device with clearkey support removed
Test: Cts tests on device that includes legacy clearkey plugin
Test: Cts tests on device with full clearkey support
Test: Cts test
ANDROID_BUILD_TOP= ./android-cts/toolsefed run cts-dev
--module CtsMediaTestCases -t android.media.cts.MediaDrmClearkeyTest
Test: Native CTS test
ANDROID_BUILD_TOP= ./android-cts/toolsefed run cts-dev
--module CtsMediaTestCases
-t android.media.cts.NativeMediaDrmClearkeyTest
Change-Id: I9fd7d4ce5510e2bf5544442d1ac9957fcbd66256
2 files changed