Remove ExpiryOnReleaseOfflineKeyTest
The test verifies that a downloaded license receives an expiry event in a session if it is released from another session. With the introduction of the big usage table feature loading a license/usage entry into multiple sessions is not permitted and so this test is no longer needed. Some OEMCrypto implementations might require OEMCrypto_UpdateUsageEntry to be called between calls to OEMCrypto_LoadKeys and OEMCrypto_ReportUsage. This CL adds the call to OEMCrypto_UpdateUsageEntry. Test: WV unit/integration test Test: Playback using play movies and netflix Test: GTS tests Bug: 64988654 Change-Id: Ic737c3200ea1858736a168be835507378eaf7b3e
This commit is contained in:
@@ -50,7 +50,7 @@ class CdmLicense {
|
||||
const CdmKeyResponse& license_response,
|
||||
const CdmKeyResponse& license_renewal_response,
|
||||
int64_t playback_start_time, int64_t last_playback_time,
|
||||
int64_t grace_period_end_time);
|
||||
int64_t grace_period_end_time, CdmSession* cdm_session);
|
||||
virtual bool RestoreLicenseForRelease(const CdmKeyMessage& license_request,
|
||||
const CdmKeyResponse& license_response);
|
||||
virtual bool HasInitData() { return stored_init_data_.get(); }
|
||||
|
||||
Reference in New Issue
Block a user