Add securityLevel to MediaDrm isCryptoSchemeSupported API
bug:110701831 test: cts media test cases, widevine integration tests Change-Id: I4a8973537b4b90740cdaf79a36e73943bcf074fb
This commit is contained in:
@@ -31,6 +31,15 @@ Return<bool> WVDrmFactory::isCryptoSchemeSupported(
|
||||
return isWidevineUUID(uuid.data());
|
||||
}
|
||||
|
||||
Return<bool> WVDrmFactory::isCryptoSchemeSupported_1_2(
|
||||
const hidl_array<uint8_t, 16>& uuid,
|
||||
const hidl_string& initDataType,
|
||||
SecurityLevel level) {
|
||||
return isWidevineUUID(uuid.data()) &&
|
||||
isContentTypeSupported(initDataType)
|
||||
/* TODO: jtinker@ b/117104043 && wvcdm::IsSecurityLevelSupported(level)*/;
|
||||
}
|
||||
|
||||
Return<bool> WVDrmFactory::isContentTypeSupported(
|
||||
const hidl_string& initDataType) {
|
||||
return wvcdm::WvContentDecryptionModule::IsSupported(initDataType.c_str());
|
||||
|
||||
Reference in New Issue
Block a user