Searched refs:keyStatus (Results 1 – 5 of 5) sorted by relevance
464 DrmPlugin::KeyStatus keyStatus; in setPropertyString() local466 keyStatus.mKeyId.clear(); in setPropertyString()467 keyStatus.mKeyId.appendArray(keyId1, sizeof(keyId1)); in setPropertyString()468 keyStatus.mType = DrmPlugin::kKeyStatusType_Usable; in setPropertyString()469 keyStatusList.add(keyStatus); in setPropertyString()472 keyStatus.mKeyId.clear(); in setPropertyString()473 keyStatus.mKeyId.appendArray(keyId2, sizeof(keyId2)); in setPropertyString()474 keyStatus.mType = DrmPlugin::kKeyStatusType_Expired; in setPropertyString()475 keyStatusList.add(keyStatus); in setPropertyString()478 keyStatus.mKeyId.clear(); in setPropertyString()[all …]
405 KeyStatus_V1_2 keyStatus; in provideKeyResponse() local408 keyStatus.keyId = keyId1; in provideKeyResponse()409 keyStatus.type = V1_2::KeyStatusType::USABLE; in provideKeyResponse()410 keysStatus.push_back(keyStatus); in provideKeyResponse()413 keyStatus.keyId = keyId2; in provideKeyResponse()414 keyStatus.type = V1_2::KeyStatusType::EXPIRED; in provideKeyResponse()415 keysStatus.push_back(keyStatus); in provideKeyResponse()418 keyStatus.keyId = keyId3; in provideKeyResponse()419 keyStatus.type = V1_2::KeyStatusType::USABLEINFUTURE; in provideKeyResponse()420 keysStatus.push_back(keyStatus); in provideKeyResponse()
133 AMediaDrmKeyStatus keyStatus; in notify() local136 keyStatus.keyId.ptr = nullptr; in notify()137 keyStatus.keyId.length = 0; in notify()146 keyStatus.keyId.ptr = data.get(); in notify()147 keyStatus.keyId.length = idSize; in notify()150 keyStatus.keyType = static_cast<AMediaDrmKeyStatusType>(obj->readInt32()); in notify()151 keysStatus.push(keyStatus); in notify()
165 const AMediaDrmSessionId *sessionId, const AMediaDrmKeyStatus *keyStatus,
544 const KeyStatus &keyStatus = keyStatusList[i]; in sendKeysChange_1_2() local545 writeByteArray(obj, keyStatus.keyId); in sendKeysChange_1_2()547 switch(keyStatus.type) { in sendKeysChange_1_2()569 mMetrics.mKeyStatusChangeCounter.Increment(keyStatus.type); in sendKeysChange_1_2()