Home
last modified time | relevance | path

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

/hardware/interfaces/drm/aidl/vts/
Ddrm_hal_test.cpp177 vector<uint8_t> keySetId = loadKeys(sessionId, KeyType::OFFLINE); in TEST_P() local
185 if (keySetId == keySetId2.keySetId) { in TEST_P()
192 ret = drmPlugin->removeOfflineLicense({keySetId}); in TEST_P()
198 EXPECT_NE(keySetId, keySetId2.keySetId); in TEST_P()
213 ret = drmPlugin->removeOfflineLicense({keySetId}); in TEST_P()
224 vector<uint8_t> keySetId = loadKeys(sessionId, content, KeyType::OFFLINE); in TEST_P() local
228 auto ret = drmPlugin->getOfflineLicenseState({keySetId}, &result); in TEST_P()
232 vector<uint8_t> keyRequest = getKeyRequest(keySetId, content, KeyType::RELEASE); in TEST_P()
233 ret = drmPlugin->getOfflineLicenseState({keySetId}, &result); in TEST_P()
244 provideKeyResponse(keySetId, keyResponse); in TEST_P()
[all …]
Ddrm_hal_common.cpp395 return result.keySetId; in provideKeyResponse()
630 EXPECT_EQ(0u, result.keySetId.size()); in decryptWithInvalidKeys()
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_test.cpp174 hidl_vec<uint8_t> keySetId = loadKeys(sessionId, KeyType::OFFLINE); in TEST_P() local
182 if (keySetId == keySetId2) { in TEST_P()
191 Status err = drmPlugin->removeOfflineLicense(keySetId); in TEST_P()
198 EXPECT_NE(keySetId, keySetId2); in TEST_P()
203 err = drmPlugin->removeOfflineLicense(keySetId); in TEST_P()
213 hidl_vec<uint8_t> keySetId = loadKeys(sessionId, content, KeyType::OFFLINE); in TEST_P() local
216 …drmPlugin->getOfflineLicenseState(keySetId, checkKeySetIdState<Status::OK, OfflineLicenseState::US… in TEST_P()
218 hidl_vec<uint8_t> keyRequest = getKeyRequest(keySetId, content, KeyType::RELEASE); in TEST_P()
219 …drmPlugin->getOfflineLicenseState(keySetId, checkKeySetIdState<Status::OK, OfflineLicenseState::IN… in TEST_P()
228 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/aidl/android/hardware/drm/
DIDrmPlugin.aidl239 OfflineLicenseState getOfflineLicenseState(in KeySetId keySetId); in getOfflineLicenseState() argument
552 void removeOfflineLicense(in KeySetId keySetId); in removeOfflineLicense() argument
592 void restoreKeys(in byte[] sessionId, in KeySetId keySetId); in restoreKeys() argument
DKeySetId.aidl21 byte[] keySetId;
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/1/android/hardware/drm/
DIDrmPlugin.aidl46 …hardware.drm.OfflineLicenseState getOfflineLicenseState(in android.hardware.drm.KeySetId keySetId); in getOfflineLicenseState() argument
63 void removeOfflineLicense(in android.hardware.drm.KeySetId keySetId); in removeOfflineLicense() argument
66 void restoreKeys(in byte[] sessionId, in android.hardware.drm.KeySetId keySetId); in restoreKeys() argument
DKeySetId.aidl37 byte[] keySetId;
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/current/android/hardware/drm/
DIDrmPlugin.aidl46 …hardware.drm.OfflineLicenseState getOfflineLicenseState(in android.hardware.drm.KeySetId keySetId); in getOfflineLicenseState() argument
63 void removeOfflineLicense(in android.hardware.drm.KeySetId keySetId); in removeOfflineLicense() argument
66 void restoreKeys(in byte[] sessionId, in android.hardware.drm.KeySetId keySetId); in restoreKeys() argument
DKeySetId.aidl37 byte[] keySetId;
/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.cpp108 Vector<uint8_t> keySetId; in provideKeyResponse() local
110 toVector(response), keySetId); in provideKeyResponse()
111 _hidl_cb(toStatus(status), toHidlVec(keySetId)); in provideKeyResponse()
120 const hidl_vec<uint8_t>& keySetId) { in restoreKeys() argument
122 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.