Address Cdm Extended Duration Test failures
[ Merge of http://go/wvgerrit/49980 ] This CL * corrects some of the test expectations * switches test content used to test streaming with provider session tokens. The policy of the earlier test content had changed. * adds some more information to log messages Bug: 63819720 Test: WV unit, integration tests, WvCdmExtendedDuraionTest, GtsMediaDrmTest Change-Id: I8fdbc9c38d6018cc6e884e1b95b2e9d26e7aa536
This commit is contained in:
@@ -299,7 +299,8 @@ CdmResponseType WvContentDecryptionModule::Decrypt(
|
||||
// key sharing, the shared session will still be in the same CdmEngine.
|
||||
CdmEngine* cdm_engine = GetCdmForSessionId(session_id);
|
||||
if (!cdm_engine) {
|
||||
LOGE("WvContentDecryptionModule::Decrypt: not found");
|
||||
LOGE("WvContentDecryptionModule::Decrypt: session not found: %s",
|
||||
session_id.c_str());
|
||||
return SESSION_NOT_FOUND_18;
|
||||
}
|
||||
|
||||
@@ -310,7 +311,8 @@ CdmResponseType WvContentDecryptionModule::Decrypt(
|
||||
cdm_engine->GetMetrics()->cdm_engine_find_session_for_key_.Increment(
|
||||
status);
|
||||
if (!status && parameters.is_encrypted) {
|
||||
LOGE("WvContentDecryptionModule::Decrypt: unable to find session");
|
||||
LOGE("WvContentDecryptionModule::Decrypt: unable to find session: %s",
|
||||
session_id.c_str());
|
||||
return KEY_NOT_FOUND_IN_SESSION;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user