OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keySetId
(Results
1 - 11
of
11
) sorted by null
/frameworks/av/drm/mediadrm/plugins/mock/
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;
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
...]
/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/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
318
Vector<uint8_t> &
keySetId
) {
329
return mPlugin->provideKeyResponse(sessionId, response,
keySetId
);
332
status_t Drm::removeKeys(Vector<uint8_t> const &
keySetId
) {
343
return mPlugin->removeKeys(
keySetId
);
347
Vector<uint8_t> const &
keySetId
) {
358
return mPlugin->restoreKeys(sessionId,
keySetId
);
/frameworks/av/media/libmedia/
IDrm.cpp
148
Vector<uint8_t> &
keySetId
) {
154
readVector(reply,
keySetId
);
159
virtual status_t removeKeys(Vector<uint8_t> const &
keySetId
) {
163
writeVector(data,
keySetId
);
170
Vector<uint8_t> const &
keySetId
) {
175
writeVector(data,
keySetId
);
518
Vector<uint8_t> sessionId, response,
keySetId
;
521
uint32_t result = provideKeyResponse(sessionId, response,
keySetId
);
522
writeVector(reply,
keySetId
);
530
Vector<uint8_t>
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
...]
/frameworks/base/services/java/com/android/server/pm/
KeySetManager.java
147
for (Long
keySetID
: pkg.keySetData.getDefinedKeySets()) {
148
Set<Long> definedKeys = mKeySetMapping.get(
keySetID
);
150
pkg.keySetData.addSigningKeySet(
keySetID
);
203
long
keySetId
= p.keySetData.getAliases().get(alias);
204
return mKeySets.get(
keySetId
);
438
for (long
keySetId
: pkg.keySetData.getDefinedKeySets()) {
445
pw.print(Long.toString(
keySetId
));
451
for (long
keySetId
: pkg.keySetData.getSigningKeySets()) {
458
pw.print(Long.toString(
keySetId
));
/frameworks/base/media/jni/
android_media_MediaDrm.cpp
758
Vector<uint8_t>
keySetId
;
760
status_t err = drm->provideKeyResponse(sessionId, response,
keySetId
);
765
return VectorToJByteArray(env,
keySetId
);
774
"
keySetId
is null");
778
Vector<uint8_t>
keySetId
(JByteArrayToVector(env, jkeysetId));
780
status_t err = drm->removeKeys(
keySetId
);
801
Vector<uint8_t>
keySetId
(JByteArrayToVector(env, jkeysetId));
803
status_t err = drm->restoreKeys(sessionId,
keySetId
);
[
all
...]
/cts/tests/tests/media/src/android/media/cts/
MediaDrmMockTest.java
367
byte[]
keySetId
= md.provideKeyResponse(sessionId, testResponse);
370
md.removeKeys(
keySetId
);
382
byte[]
keySetId
= md.provideKeyResponse(sessionId, testResponse);
386
md.restoreKeys(sessionId,
keySetId
);
/frameworks/base/media/java/android/media/
MediaDrm.java
352
* @param scope may be a sessionId or a
keySetId
, depending on the specified keyType.
355
* is KEY_TYPE_RELEASE, scope should be set to the
keySetId
of the keys
365
* keys, which are identified by a
keySetId
.
381
* response is for an offline key request, a
keySetId
is returned that can be
386
* @param scope may be a sessionId or
keySetId
depending on the type of the
388
* streaming or offline key requests. Scope should be set to the
keySetId
when
403
* Restore persisted offline keys into a new session.
keySetId
identifies the
407
* @param
keySetId
identifies the saved key set to restore
409
public native void restoreKeys(byte[] sessionId, byte[]
keySetId
);
Completed in 284 milliseconds