Home
last modified time | relevance | path

Searched refs:jsessionId (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp567 static bool CheckSession(JNIEnv *env, const sp<IDrm> &drm, jbyteArray const &jsessionId) in CheckSession() argument
574 if (jsessionId == NULL) { in CheckSession()
770 JNIEnv *env, jobject thiz, jbyteArray jsessionId) { in android_media_MediaDrm_closeSession() argument
773 if (!CheckSession(env, drm, jsessionId)) { in android_media_MediaDrm_closeSession()
777 Vector<uint8_t> sessionId(JByteArrayToVector(env, jsessionId)); in android_media_MediaDrm_closeSession()
785 JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jinitData, in android_media_MediaDrm_getKeyRequest() argument
789 if (!CheckSession(env, drm, jsessionId)) { in android_media_MediaDrm_getKeyRequest()
793 Vector<uint8_t> sessionId(JByteArrayToVector(env, jsessionId)); in android_media_MediaDrm_getKeyRequest()
876 JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jresponse) { in android_media_MediaDrm_provideKeyResponse() argument
879 if (!CheckSession(env, drm, jsessionId)) { in android_media_MediaDrm_provideKeyResponse()
[all …]
Dandroid_media_MediaCrypto.cpp283 JNIEnv *env, jobject thiz, jbyteArray jsessionId) { in android_media_MediaCrypto_setMediaDrmSession() argument
284 if (jsessionId == NULL) { in android_media_MediaCrypto_setMediaDrmSession()
296 Vector<uint8_t> sessionId(JByteArrayToVector(env, jsessionId)); in android_media_MediaCrypto_setMediaDrmSession()