Home
last modified time | relevance | path

Searched refs:keyStatus (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp464 DrmPlugin::KeyStatus keyStatus; in setPropertyString() local
466 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 …]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DDrmPlugin.cpp405 KeyStatus_V1_2 keyStatus; in provideKeyResponse() local
408 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()
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp133 AMediaDrmKeyStatus keyStatus; in notify() local
136 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()
/frameworks/av/media/ndk/include/media/
DNdkMediaDrm.h165 const AMediaDrmSessionId *sessionId, const AMediaDrmKeyStatus *keyStatus,
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp544 const KeyStatus &keyStatus = keyStatusList[i]; in sendKeysChange_1_2() local
545 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()