Home
last modified time | relevance | path

Searched refs:keyObj (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_Streams.cpp270 jstring keyObj = env->NewStringUTF(key); in SetMapInt32() local
273 env->CallObjectMethod(hashMapObj, hashMapPutID, keyObj, valueObj); in SetMapInt32()
276 env->DeleteLocalRef(keyObj); keyObj = NULL; in SetMapInt32()
405 jstring keyObj = env->NewStringUTF(key); in ConvertMessageToMap() local
407 env->CallObjectMethod(hashMap, hashMapPutID, keyObj, valueObj); in ConvertMessageToMap()
409 env->DeleteLocalRef(keyObj); keyObj = NULL; in ConvertMessageToMap()
452 jobject keyObj = env->GetObjectArrayElement(keys, i); in ConvertKeyValueArraysToMessage() local
454 if (!env->IsInstanceOf(keyObj, stringClass.get())) { in ConvertKeyValueArraysToMessage()
458 const char *tmp = env->GetStringUTFChars((jstring)keyObj, NULL); in ConvertKeyValueArraysToMessage()
466 env->ReleaseStringUTFChars((jstring)keyObj, tmp); in ConvertKeyValueArraysToMessage()
Dandroid_media_MediaExtractor.cpp619 jbyteArray keyObj = NULL; in android_media_MediaExtractor_getSampleCryptoInfo() local
626 keyObj = env->NewByteArray(size); in android_media_MediaExtractor_getSampleCryptoInfo()
628 jbyte *dst = env->GetByteArrayElements(keyObj, &isCopy); in android_media_MediaExtractor_getSampleCryptoInfo()
630 env->ReleaseByteArrayElements(keyObj, dst, 0); in android_media_MediaExtractor_getSampleCryptoInfo()
660 keyObj, in android_media_MediaExtractor_getSampleCryptoInfo()
Dandroid_media_MediaDrm.cpp1093 jobject keyObj = NULL; in android_media_MediaDrm_getKeyRequest() local
1096 keyObj = env->AllocObject(clazz); in android_media_MediaDrm_getKeyRequest()
1098 env->SetObjectField(keyObj, gFields.keyRequest.data, jrequest); in android_media_MediaDrm_getKeyRequest()
1101 env->SetObjectField(keyObj, gFields.keyRequest.defaultUrl, jdefaultUrl); in android_media_MediaDrm_getKeyRequest()
1105 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1109 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1113 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1117 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1121 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1132 return keyObj; in android_media_MediaDrm_getKeyRequest()
Dandroid_media_MediaCodec.cpp1459 jbyteArray keyObj = in android_media_MediaCodec_queueSecureInputBuffer() local
1547 if (err == OK && keyObj != NULL) { in android_media_MediaCodec_queueSecureInputBuffer()
1548 if (env->GetArrayLength(keyObj) != 16) { in android_media_MediaCodec_queueSecureInputBuffer()
1552 key = env->GetByteArrayElements(keyObj, &isCopy); in android_media_MediaCodec_queueSecureInputBuffer()
1585 env->ReleaseByteArrayElements(keyObj, key, 0); in android_media_MediaCodec_queueSecureInputBuffer()