Fall back to L3 if L1 has test keybox
Merge from Widevine repo of http://go/wvgerrit/142150 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. Bug: 210807585 Change-Id: I30c35134239db35bb39f11f75220063181987763
This commit is contained in:
@@ -159,8 +159,14 @@ class WvContentDecryptionModule : public android::RefBase, public TimerHandler {
|
||||
// Closes the CdmEngine and sessions associated with the given CdmIdentifier.
|
||||
virtual CdmResponseType CloseCdm(const CdmIdentifier& identifier);
|
||||
|
||||
// When positive, the keybox will be ignored at initialization and force the
|
||||
// device to request a keybox OTA reprovisioning.
|
||||
virtual CdmResponseType SetDebugIgnoreKeyboxCount(uint32_t count);
|
||||
|
||||
// Allow the device to continue with a test keybox. Otherwise, it will fall
|
||||
// back to L3.
|
||||
virtual CdmResponseType SetAllowTestKeybox(bool allow);
|
||||
|
||||
virtual CdmResponseType SetDecryptHash(const std::string& hash_data,
|
||||
CdmSessionId* session_id);
|
||||
virtual CdmResponseType GetDecryptHashError(const CdmSessionId& session_id,
|
||||
|
||||
Reference in New Issue
Block a user