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.cpp190 hidl_vec<uint8_t> keySetId = loadKeys(sessionId, KeyType::OFFLINE); in TEST_P() local
197 if (keySetId == keySetId2) { in TEST_P()
206 Status err = drmPlugin->removeOfflineLicense(keySetId); in TEST_P()
213 EXPECT_NE(keySetId, keySetId2); in TEST_P()
218 err = drmPlugin->removeOfflineLicense(keySetId); in TEST_P()
230 hidl_vec<uint8_t> keySetId = loadKeys(sessionId, content, KeyType::OFFLINE); in TEST_P() local
231 …drmPlugin->getOfflineLicenseState(keySetId, checkKeySetIdState<Status::OK, OfflineLicenseState::US… in TEST_P()
233 hidl_vec<uint8_t> keyRequest = getKeyRequest(keySetId, content, KeyType::RELEASE); in TEST_P()
234 …drmPlugin->getOfflineLicenseState(keySetId, checkKeySetIdState<Status::OK, OfflineLicenseState::IN… in TEST_P()
243 provideKeyResponse(keySetId, keyResponse); in TEST_P()
[all …]
Ddrm_hal_common.cpp236 hidl_vec<uint8_t> keySetId; in provideKeyResponse() local
242 keySetId = myKeySetId; in provideKeyResponse()
245 return keySetId; in provideKeyResponse()
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp400 hidl_vec<uint8_t> keySetId; in loadKeys() local
406 keySetId = myKeySetId; in loadKeys()
409 return keySetId; in loadKeys()
510 [&](Status status, const hidl_vec<uint8_t>& keySetId) { in TEST_F() argument
512 EXPECT_EQ(0u, keySetId.size()); in TEST_F()
527 [&](Status status, const hidl_vec<uint8_t>& keySetId) { in TEST_F() argument
529 EXPECT_EQ(0u, keySetId.size()); in TEST_F()
542 [&](Status status, const hidl_vec<uint8_t>& keySetId) { in TEST_F() argument
544 EXPECT_EQ(0u, keySetId.size()); in TEST_F()
575 hidl_vec<uint8_t> keySetId = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; in TEST_F() local
[all …]
Ddrm_hal_vendor_test.cpp488 hidl_vec<uint8_t> keySetId; in loadKeys() local
495 keySetId = myKeySetId; in loadKeys()
498 return keySetId; in loadKeys()
561 [&](Status status, const hidl_vec<uint8_t>& keySetId) { in TEST_P() argument
563 EXPECT_EQ(keySetId.size(), 0u); in TEST_P()
577 [&](Status status, const hidl_vec<uint8_t>& keySetId) { in TEST_P() argument
579 EXPECT_EQ(keySetId.size(), 0u); in TEST_P()
616 hidl_vec<uint8_t> keySetId = in TEST_P() local
620 EXPECT_NE(0u, keySetId.size()); in TEST_P()
621 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.cpp359 hidl_vec<uint8_t> keySetId; in loadKeys() local
365 keySetId = myKeySetId; in loadKeys()
368 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.