Add securityLevel to MediaDrm isCryptoSchemeSupported API
bug:110701831 test: cts media test cases, widevine integration tests Change-Id: I4a8973537b4b90740cdaf79a36e73943bcf074fb
This commit is contained in:
@@ -95,6 +95,14 @@ TEST(WVDrmFactoryTest, DoesNotSupportUnsupportedContainerFormats) {
|
||||
"WVPluginFactory incorrectly claims to support WMV";
|
||||
}
|
||||
|
||||
TEST(WVDrmFactoryTest, SupportsSupportedCryptoSchemeWithLevel) {
|
||||
WVDrmFactory factory;
|
||||
|
||||
EXPECT_TRUE(factory.isCryptoSchemeSupported_1_2(kWidevineUUID, hidl_string("video/mp4"),
|
||||
android::hardware::drm::V1_1::SecurityLevel::SW_SECURE_CRYPTO)) <<
|
||||
"WVPluginFactory does not support Widevine's UUID for video/mp4 and SW_SECURE_CRYPTO";
|
||||
}
|
||||
|
||||
TEST(WVDrmFactoryTest, CalculatesSpoidUseCorrectly) {
|
||||
WVDrmFactory factory;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user