Searched refs:keySetId (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.cpp | 173 Vector<uint8_t> &keySetId) in provideKeyResponse() argument 195 keySetId.appendArray((uint8_t *)&r, sizeof(long)); in provideKeyResponse() 197 mKeySets.add(keySetId); in provideKeyResponse() 202 status_t MockDrmPlugin::removeKeys(Vector<uint8_t> const &keySetId) in removeKeys() argument 206 vectorToString(keySetId).string()); in removeKeys() 208 ssize_t index = findKeySet(keySetId); in removeKeys() 219 Vector<uint8_t> const &keySetId) in restoreKeys() argument 224 vectorToString(keySetId).string()); in restoreKeys() 231 index = findKeySet(keySetId); in restoreKeys() 614 ssize_t MockDrmPlugin::findKeySet(Vector<uint8_t> const &keySetId) const in findKeySet() [all …]
|
D | MockDrmCryptoPlugin.h | 69 Vector<uint8_t> &keySetId); 71 status_t removeKeys(Vector<uint8_t> const &keySetId); 74 Vector<uint8_t> const &keySetId); 135 ssize_t findKeySet(Vector<uint8_t> const &keySetId) const;
|
/frameworks/av/media/libmedia/ |
D | IDrm.cpp | 148 Vector<uint8_t> &keySetId) { in provideKeyResponse() 154 readVector(reply, keySetId); in provideKeyResponse() 159 virtual status_t removeKeys(Vector<uint8_t> const &keySetId) { in removeKeys() 163 writeVector(data, keySetId); in removeKeys() 170 Vector<uint8_t> const &keySetId) { in restoreKeys() 175 writeVector(data, keySetId); in restoreKeys() 518 Vector<uint8_t> sessionId, response, keySetId; in onTransact() local 521 uint32_t result = provideKeyResponse(sessionId, response, keySetId); in onTransact() 522 writeVector(reply, keySetId); in onTransact() 530 Vector<uint8_t> keySetId; in onTransact() local [all …]
|
/frameworks/av/include/media/ |
D | 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/media/libmediaplayerservice/ |
D | Drm.h | 59 Vector<uint8_t> &keySetId); 61 virtual status_t removeKeys(Vector<uint8_t> const &keySetId); 64 Vector<uint8_t> const &keySetId);
|
D | Drm.cpp | 318 Vector<uint8_t> &keySetId) { in provideKeyResponse() argument 329 return mPlugin->provideKeyResponse(sessionId, response, keySetId); in provideKeyResponse() 332 status_t Drm::removeKeys(Vector<uint8_t> const &keySetId) { in removeKeys() argument 343 return mPlugin->removeKeys(keySetId); in removeKeys() 347 Vector<uint8_t> const &keySetId) { in restoreKeys() argument 358 return mPlugin->restoreKeys(sessionId, keySetId); in restoreKeys()
|
/frameworks/base/services/java/com/android/server/pm/ |
D | KeySetManager.java | 203 long keySetId = p.keySetData.getAliases().get(alias); in getKeySetByAliasAndPackageName() local 204 return mKeySets.get(keySetId); in getKeySetByAliasAndPackageName() 438 for (long keySetId : pkg.keySetData.getDefinedKeySets()) { in dump() 445 pw.print(Long.toString(keySetId)); in dump() 451 for (long keySetId : pkg.keySetData.getSigningKeySets()) { in dump() 458 pw.print(Long.toString(keySetId)); in dump()
|
/frameworks/native/include/media/drm/ |
D | DrmAPI.h | 156 Vector<uint8_t> &keySetId) = 0; 164 Vector<uint8_t> const &keySetId) = 0;
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.cpp | 758 Vector<uint8_t> keySetId; in android_media_MediaDrm_provideKeyResponse() local 760 status_t err = drm->provideKeyResponse(sessionId, response, keySetId); in android_media_MediaDrm_provideKeyResponse() 765 return VectorToJByteArray(env, keySetId); in android_media_MediaDrm_provideKeyResponse() 778 Vector<uint8_t> keySetId(JByteArrayToVector(env, jkeysetId)); in android_media_MediaDrm_removeKeys() local 780 status_t err = drm->removeKeys(keySetId); in android_media_MediaDrm_removeKeys() 801 Vector<uint8_t> keySetId(JByteArrayToVector(env, jkeysetId)); in android_media_MediaDrm_restoreKeys() local 803 status_t err = drm->restoreKeys(sessionId, keySetId); in android_media_MediaDrm_restoreKeys()
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 409 public native void restoreKeys(byte[] sessionId, byte[] keySetId); in restoreKeys() argument
|