Add MediaDrm property to allow test keybox
Merge from Widevine repo of http://go/wvgerrit/142150 (part 1) For an EVT device, without a keybox or with a test keybox, we want it to fall back to L3. However, when running the unit or integration tests it should continue running tests with test keybox. This will allow us to test L1 oemcrypto on an EVT device, while still using an EVT device for dogfooding video content at the L3 level. This CL modifes the HIDL and non-HIDL plugin, so it was hand merged to downstream branches. Bug: 210807585 Merged-In: I85b96f127abe30f8f061b242f7580fa8f6c01776 Change-Id: I85b96f127abe30f8f061b242f7580fa8f6c01776
This commit is contained in:
@@ -505,6 +505,11 @@ CdmResponseType WvContentDecryptionModule::SetDebugIgnoreKeyboxCount(
|
||||
return CdmEngine::SetDebugIgnoreKeyboxCount(count);
|
||||
}
|
||||
|
||||
CdmResponseType WvContentDecryptionModule::SetAllowTestKeybox(bool allow) {
|
||||
// TODO(210807585) add functionality in next CL.
|
||||
return NO_ERROR;
|
||||
}
|
||||
|
||||
CdmResponseType WvContentDecryptionModule::SetDecryptHash(
|
||||
const std::string& hash_data, CdmSessionId* id) {
|
||||
if (id == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user