/frameworks/av/drm/mediadrm/plugins/clearkey/ |
DrmPlugin.cpp | 65 Vector<uint8_t>& keySetId) { 69 keySetId.clear();
|
DrmPlugin.h | 62 Vector<uint8_t>& keySetId); 71 const Vector<uint8_t>& keySetId) { 73 UNUSED(keySetId);
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
MockDrmCryptoPlugin.cpp | 173 Vector<uint8_t> &keySetId) 195 keySetId.appendArray((uint8_t *)&r, sizeof(long)); 197 mKeySets.add(keySetId); 202 status_t MockDrmPlugin::removeKeys(Vector<uint8_t> const &keySetId) 205 ALOGD("MockDrmPlugin::removeKeys(keySetId=%s)", 206 vectorToString(keySetId).string()); 208 ssize_t index = findKeySet(keySetId); 210 ALOGD("Invalid keySetId"); 219 Vector<uint8_t> const &keySetId) 222 ALOGD("MockDrmPlugin::restoreKeys(sessionId=%s, keySetId=%s)" [all...] |
MockDrmCryptoPlugin.h | 69 Vector<uint8_t> &keySetId); 71 status_t removeKeys(Vector<uint8_t> const &keySetId); 74 Vector<uint8_t> const &keySetId); 149 ssize_t findKeySet(Vector<uint8_t> const &keySetId) const;
|
/frameworks/av/include/media/ |
IDrm.h | 54 Vector<uint8_t> &keySetId) = 0; 56 virtual status_t removeKeys(Vector<uint8_t> const &keySetId) = 0; 59 Vector<uint8_t> const &keySetId) = 0;
|
/frameworks/av/include/ndk/ |
NdkMediaDrm.h | 166 * scope may be a sessionId or a keySetId, depending on the specified keyType. 169 * KEY_TYPE_RELEASE, scope should be set to the keySetId of the keys being released. 183 * identified by a keySetId. 209 * response is for an offline key request, a keySetId is returned that can be 211 * When the response is for a streaming or release request, a null keySetId is 214 * scope may be a sessionId or keySetId depending on the type of the 216 * streaming or offline key requests. Scope should be set to the keySetId when 224 const uint8_t *response, size_t responseSize, AMediaDrmKeySetId *keySetId); 227 * Restore persisted offline keys into a new session. keySetId identifies the 231 * keySetId identifies the saved key set to restor [all...] |
/frameworks/av/media/libmediaplayerservice/ |
Drm.h | 59 Vector<uint8_t> &keySetId); 61 virtual status_t removeKeys(Vector<uint8_t> const &keySetId); 64 Vector<uint8_t> const &keySetId);
|
Drm.cpp | 330 Vector<uint8_t> &keySetId) { 341 return mPlugin->provideKeyResponse(sessionId, response, keySetId); 344 status_t Drm::removeKeys(Vector<uint8_t> const &keySetId) { 355 return mPlugin->removeKeys(keySetId); 359 Vector<uint8_t> const &keySetId) { 370 return mPlugin->restoreKeys(sessionId, keySetId);
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/media/ |
NdkMediaDrm.h | 166 * scope may be a sessionId or a keySetId, depending on the specified keyType. 169 * KEY_TYPE_RELEASE, scope should be set to the keySetId of the keys being released. 183 * identified by a keySetId. 209 * response is for an offline key request, a keySetId is returned that can be 211 * When the response is for a streaming or release request, a null keySetId is 214 * scope may be a sessionId or keySetId depending on the type of the 216 * streaming or offline key requests. Scope should be set to the keySetId when 224 const uint8_t *response, size_t responseSize, AMediaDrmKeySetId *keySetId); 227 * Restore persisted offline keys into a new session. keySetId identifies the 231 * keySetId identifies the saved key set to restor [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/media/ |
NdkMediaDrm.h | 166 * scope may be a sessionId or a keySetId, depending on the specified keyType. 169 * KEY_TYPE_RELEASE, scope should be set to the keySetId of the keys being released. 183 * identified by a keySetId. 209 * response is for an offline key request, a keySetId is returned that can be 211 * When the response is for a streaming or release request, a null keySetId is 214 * scope may be a sessionId or keySetId depending on the type of the 216 * streaming or offline key requests. Scope should be set to the keySetId when 224 const uint8_t *response, size_t responseSize, AMediaDrmKeySetId *keySetId); 227 * Restore persisted offline keys into a new session. keySetId identifies the 231 * keySetId identifies the saved key set to restor [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/media/ |
NdkMediaDrm.h | 166 * scope may be a sessionId or a keySetId, depending on the specified keyType. 169 * KEY_TYPE_RELEASE, scope should be set to the keySetId of the keys being released. 183 * identified by a keySetId. 209 * response is for an offline key request, a keySetId is returned that can be 211 * When the response is for a streaming or release request, a null keySetId is 214 * scope may be a sessionId or keySetId depending on the type of the 216 * streaming or offline key requests. Scope should be set to the keySetId when 224 const uint8_t *response, size_t responseSize, AMediaDrmKeySetId *keySetId); 227 * Restore persisted offline keys into a new session. keySetId identifies the 231 * keySetId identifies the saved key set to restor [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/media/ |
NdkMediaDrm.h | 166 * scope may be a sessionId or a keySetId, depending on the specified keyType. 169 * KEY_TYPE_RELEASE, scope should be set to the keySetId of the keys being released. 183 * identified by a keySetId. 209 * response is for an offline key request, a keySetId is returned that can be 211 * When the response is for a streaming or release request, a null keySetId is 214 * scope may be a sessionId or keySetId depending on the type of the 216 * streaming or offline key requests. Scope should be set to the keySetId when 224 const uint8_t *response, size_t responseSize, AMediaDrmKeySetId *keySetId); 227 * Restore persisted offline keys into a new session. keySetId identifies the 231 * keySetId identifies the saved key set to restor [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/media/ |
NdkMediaDrm.h | 166 * scope may be a sessionId or a keySetId, depending on the specified keyType. 169 * KEY_TYPE_RELEASE, scope should be set to the keySetId of the keys being released. 183 * identified by a keySetId. 209 * response is for an offline key request, a keySetId is returned that can be 211 * When the response is for a streaming or release request, a null keySetId is 214 * scope may be a sessionId or keySetId depending on the type of the 216 * streaming or offline key requests. Scope should be set to the keySetId when 224 const uint8_t *response, size_t responseSize, AMediaDrmKeySetId *keySetId); 227 * Restore persisted offline keys into a new session. keySetId identifies the 231 * keySetId identifies the saved key set to restor [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/media/ |
NdkMediaDrm.h | 166 * scope may be a sessionId or a keySetId, depending on the specified keyType. 169 * KEY_TYPE_RELEASE, scope should be set to the keySetId of the keys being released. 183 * identified by a keySetId. 209 * response is for an offline key request, a keySetId is returned that can be 211 * When the response is for a streaming or release request, a null keySetId is 214 * scope may be a sessionId or keySetId depending on the type of the 216 * streaming or offline key requests. Scope should be set to the keySetId when 224 const uint8_t *response, size_t responseSize, AMediaDrmKeySetId *keySetId); 227 * Restore persisted offline keys into a new session. keySetId identifies the 231 * keySetId identifies the saved key set to restor [all...] |
/frameworks/av/media/libmedia/ |
IDrm.cpp | 152 Vector<uint8_t> &keySetId) { 158 readVector(reply, keySetId); 163 virtual status_t removeKeys(Vector<uint8_t> const &keySetId) { 167 writeVector(data, keySetId); 174 Vector<uint8_t> const &keySetId) { 179 writeVector(data, keySetId); 579 Vector<uint8_t> sessionId, response, keySetId; 582 uint32_t result = provideKeyResponse(sessionId, response, keySetId); 583 writeVector(reply, keySetId); 591 Vector<uint8_t> keySetId; [all...] |
/frameworks/av/media/ndk/ |
NdkMediaDrm.cpp | 328 const uint8_t *response, size_t responseSize, AMediaDrmKeySetId *keySetId) { 333 if (!scope || !response || !responseSize || !keySetId) { 349 keySetId->ptr = iter->array(); 350 keySetId->length = iter->size(); 352 keySetId->ptr = NULL; 353 keySetId->length = 0; 360 const AMediaDrmKeySetId *keySetId) { 365 if (!sessionId || !keySetId) { 373 keySet.appendArray(keySetId->ptr, keySetId->length) [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
KeySetManagerService.java | 186 long keySetID = mKeySets.keyAt(keySetIndex); 187 ArraySet<Long> definedKeys = mKeySetMapping.get(keySetID); 189 pkg.keySetData.addSigningKeySet(keySetID); 228 Long keySetId = p.keySetData.getAliases().get(alias); 229 if (keySetId == null) { 232 return mKeySets.get(keySetId); 527 for (long keySetId : pkg.keySetData.getDefinedKeySets()) { 534 pw.print(Long.toString(keySetId)); 543 for (long keySetId : signingKeySets) { 550 pw.print(Long.toString(keySetId)); [all...] |
/frameworks/native/include/media/drm/ |
DrmAPI.h | 111 // The scope parameter may be a sessionId or a keySetId, depending on the 115 // the keySetId of the keys being released. Releasing keys from a device 144 // scope may be a sessionId or a keySetId depending on the type of the 147 // keySetId when the response is for a release request. 149 // When the response is for an offline key request, a keySetId is returned 150 // in the keySetId vector parameter that can be used to later restore the 152 // for a streaming or release request, no keySetId is returned. 156 Vector<uint8_t> &keySetId) = 0; 161 // Restore persisted offline keys into a new session. keySetId identifies 164 Vector<uint8_t> const &keySetId) = 0 [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaDrmMockTest.java | 368 byte[] keySetId = md.provideKeyResponse(sessionId, testResponse); 371 md.removeKeys(keySetId); 383 byte[] keySetId = md.provideKeyResponse(sessionId, testResponse); 387 md.restoreKeys(sessionId, keySetId);
|
/frameworks/base/media/jni/ |
android_media_MediaDrm.cpp | 813 Vector<uint8_t> keySetId; 815 status_t err = drm->provideKeyResponse(sessionId, response, keySetId); 820 return VectorToJByteArray(env, keySetId); 829 "keySetId is null"); 833 Vector<uint8_t> keySetId(JByteArrayToVector(env, jkeysetId)); 835 status_t err = drm->removeKeys(keySetId); 856 Vector<uint8_t> keySetId(JByteArrayToVector(env, jkeysetId)); 858 status_t err = drm->restoreKeys(sessionId, keySetId); [all...] |
/frameworks/base/media/java/android/media/ |
MediaDrm.java | 413 * @param scope may be a sessionId or a keySetId, depending on the specified keyType. 416 * is KEY_TYPE_RELEASE, scope should be set to the keySetId of the keys 426 * keys, which are identified by a keySetId. 441 * response is for an offline key request, a keySetId is returned that can be 446 * @param scope may be a sessionId or keySetId depending on the type of the 448 * streaming or offline key requests. Scope should be set to the keySetId when 463 * Restore persisted offline keys into a new session. keySetId identifies the 467 * @param keySetId identifies the saved key set to restore 469 public native void restoreKeys(byte[] sessionId, byte[] keySetId); [all...] |