Home
last modified time | relevance | path

Searched refs:keySetId (Results 1 – 11 of 11) sorted by relevance

/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_test.cpp174 hidl_vec<uint8_t> keySetId = loadKeys(sessionId, KeyType::OFFLINE); in TEST_P() local
181 if (keySetId == keySetId2) { in TEST_P()
190 Status err = drmPlugin->removeOfflineLicense(keySetId); in TEST_P()
197 EXPECT_NE(keySetId, keySetId2); in TEST_P()
202 err = drmPlugin->removeOfflineLicense(keySetId); in TEST_P()
214 hidl_vec<uint8_t> keySetId = loadKeys(sessionId, content, KeyType::OFFLINE); in TEST_P() local
215 …drmPlugin->getOfflineLicenseState(keySetId, checkKeySetIdState<Status::OK, OfflineLicenseState::US… in TEST_P()
217 hidl_vec<uint8_t> keyRequest = getKeyRequest(keySetId, content, KeyType::RELEASE); in TEST_P()
218 …drmPlugin->getOfflineLicenseState(keySetId, checkKeySetIdState<Status::OK, OfflineLicenseState::IN… in TEST_P()
227 provideKeyResponse(keySetId, keyResponse); in TEST_P()
[all …]
Ddrm_hal_common.cpp297 hidl_vec<uint8_t> keySetId; in provideKeyResponse() local
303 keySetId = myKeySetId; in provideKeyResponse()
306 return keySetId; in provideKeyResponse()
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp274 hidl_vec<uint8_t> keySetId; in loadKeys() local
280 keySetId = myKeySetId; in loadKeys()
283 return keySetId; in loadKeys()
384 [&](Status status, const hidl_vec<uint8_t>& keySetId) { in TEST_P() argument
386 EXPECT_EQ(0u, keySetId.size()); in TEST_P()
401 [&](Status status, const hidl_vec<uint8_t>& keySetId) { in TEST_P() argument
403 EXPECT_EQ(0u, keySetId.size()); in TEST_P()
416 [&](Status status, const hidl_vec<uint8_t>& keySetId) { in TEST_P() argument
418 EXPECT_EQ(0u, keySetId.size()); in TEST_P()
449 hidl_vec<uint8_t> keySetId = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; in TEST_P() local
[all …]
Ddrm_hal_vendor_test.cpp327 hidl_vec<uint8_t> keySetId; in loadKeys() local
334 keySetId = myKeySetId; in loadKeys()
337 return keySetId; in loadKeys()
400 [&](Status status, const hidl_vec<uint8_t>& keySetId) { in TEST_P() argument
402 EXPECT_EQ(keySetId.size(), 0u); in TEST_P()
416 [&](Status status, const hidl_vec<uint8_t>& keySetId) { in TEST_P() argument
418 EXPECT_EQ(keySetId.size(), 0u); in TEST_P()
455 hidl_vec<uint8_t> keySetId = in TEST_P() local
459 EXPECT_NE(0u, keySetId.size()); in TEST_P()
460 Status status = drmPlugin->restoreKeys(sessionId, keySetId); in TEST_P()
[all …]
/hardware/interfaces/drm/1.0/default/
DDrmPlugin.cpp109 Vector<uint8_t> keySetId; in provideKeyResponse() local
111 toVector(response), keySetId); in provideKeyResponse()
112 _hidl_cb(toStatus(status), toHidlVec(keySetId)); in provideKeyResponse()
121 const hidl_vec<uint8_t>& keySetId) { in restoreKeys() argument
123 toVector(keySetId)); in restoreKeys()
DDrmPlugin.h69 const hidl_vec<uint8_t>& keySetId) override;
/hardware/interfaces/drm/1.2/
DIDrmPlugin.hal73 * @param keySetId the id of the offline license to remove
79 removeOfflineLicense(KeySetId keySetId) generates (@1.0::Status status);
90 * @param keySetId the id of the offline license
99 getOfflineLicenseState(KeySetId keySetId) generates (
111 * @param scope either a sessionId or a keySetId, depending on the
114 * keyType is RELEASE, scope must be set to the keySetId of the keys
Dtypes.hal91 * offline license. The keySetId is created by the HAL implementation
/hardware/interfaces/drm/1.0/
DIDrmPlugin.hal61 * @param scope may be a sessionId or a keySetId, depending on the
64 * When the keyType is RELEASE, scope should be set to the keySetId
105 * @param scope may be a sessionId or a keySetId depending on the type
108 * the keySetId when the response is for a release request.
120 * @return keySetId when the response is for an offline key request, a
121 * keySetId is returned in the keySetId vector parameter that can be used
123 * When the response is for a streaming or release request, no keySetId is
127 generates (Status status, vec<uint8_t> keySetId);
144 * @param keySetId identifies the keys to load, obtained from a prior
152 vec<uint8_t> keySetId) generates (Status status);
/hardware/interfaces/drm/1.1/vts/functional/
Ddrm_hal_clearkey_test.cpp125 hidl_vec<uint8_t> keySetId; in loadKeys() local
131 keySetId = myKeySetId; in loadKeys()
134 return keySetId; in loadKeys()
/hardware/interfaces/drm/1.1/
DIDrmPlugin.hal75 * @param scope may be a sessionId or a keySetId, depending on the
79 * keySetId of the keys being released.