Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_AudioPresentation.h116 jstring keyObj = env->NewStringUTF(key); in ConvertMessageToMap() local
118 env->CallObjectMethod(hashMap, hashMapPutID, keyObj, valueObj); in ConvertMessageToMap()
120 env->DeleteLocalRef(keyObj); keyObj = NULL; in ConvertMessageToMap()
Dandroid_media_Utils.cpp273 jstring keyObj = env->NewStringUTF(key); in SetMapInt32() local
276 env->CallObjectMethod(hashMapObj, hashMapPutID, keyObj, valueObj); in SetMapInt32()
279 env->DeleteLocalRef(keyObj); keyObj = NULL; in SetMapInt32()
408 jstring keyObj = env->NewStringUTF(key); in ConvertMessageToMap() local
410 env->CallObjectMethod(hashMap, hashMapPutID, keyObj, valueObj); in ConvertMessageToMap()
412 env->DeleteLocalRef(keyObj); keyObj = NULL; in ConvertMessageToMap()
455 jobject keyObj = env->GetObjectArrayElement(keys, i); in ConvertKeyValueArraysToMessage() local
457 if (!env->IsInstanceOf(keyObj, stringClass.get())) { in ConvertKeyValueArraysToMessage()
461 const char *tmp = env->GetStringUTFChars((jstring)keyObj, NULL); in ConvertKeyValueArraysToMessage()
469 env->ReleaseStringUTFChars((jstring)keyObj, tmp); in ConvertKeyValueArraysToMessage()
Dandroid_media_MediaExtractor.cpp613 jbyteArray keyObj = NULL; in android_media_MediaExtractor_getSampleCryptoInfo() local
620 keyObj = env->NewByteArray(size); in android_media_MediaExtractor_getSampleCryptoInfo()
622 jbyte *dst = env->GetByteArrayElements(keyObj, &isCopy); in android_media_MediaExtractor_getSampleCryptoInfo()
624 env->ReleaseByteArrayElements(keyObj, dst, 0); in android_media_MediaExtractor_getSampleCryptoInfo()
654 keyObj, in android_media_MediaExtractor_getSampleCryptoInfo()
Dandroid_media_MediaDrm.cpp1001 jobject keyObj = NULL; in android_media_MediaDrm_getKeyRequest() local
1004 keyObj = env->AllocObject(clazz); in android_media_MediaDrm_getKeyRequest()
1006 env->SetObjectField(keyObj, gFields.keyRequest.data, jrequest); in android_media_MediaDrm_getKeyRequest()
1009 env->SetObjectField(keyObj, gFields.keyRequest.defaultUrl, jdefaultUrl); in android_media_MediaDrm_getKeyRequest()
1013 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1017 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1021 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1025 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1029 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1040 return keyObj; in android_media_MediaDrm_getKeyRequest()
Dandroid_media_MediaCodec.cpp1424 jbyteArray keyObj = in android_media_MediaCodec_queueSecureInputBuffer() local
1512 if (err == OK && keyObj != NULL) { in android_media_MediaCodec_queueSecureInputBuffer()
1513 if (env->GetArrayLength(keyObj) != 16) { in android_media_MediaCodec_queueSecureInputBuffer()
1517 key = env->GetByteArrayElements(keyObj, &isCopy); in android_media_MediaCodec_queueSecureInputBuffer()
1550 env->ReleaseByteArrayElements(keyObj, key, 0); in android_media_MediaCodec_queueSecureInputBuffer()