Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_Utils.cpp272 jstring keyObj = env->NewStringUTF(key); in SetMapInt32() local
275 env->CallObjectMethod(hashMapObj, hashMapPutID, keyObj, valueObj); in SetMapInt32()
278 env->DeleteLocalRef(keyObj); keyObj = NULL; in SetMapInt32()
407 jstring keyObj = env->NewStringUTF(key); in ConvertMessageToMap() local
409 env->CallObjectMethod(hashMap, hashMapPutID, keyObj, valueObj); in ConvertMessageToMap()
411 env->DeleteLocalRef(keyObj); keyObj = NULL; in ConvertMessageToMap()
454 jobject keyObj = env->GetObjectArrayElement(keys, i); in ConvertKeyValueArraysToMessage() local
456 if (!env->IsInstanceOf(keyObj, stringClass.get())) { in ConvertKeyValueArraysToMessage()
460 const char *tmp = env->GetStringUTFChars((jstring)keyObj, NULL); in ConvertKeyValueArraysToMessage()
468 env->ReleaseStringUTFChars((jstring)keyObj, tmp); in ConvertKeyValueArraysToMessage()
Dandroid_media_MediaExtractor.cpp550 jbyteArray keyObj = NULL; in android_media_MediaExtractor_getSampleCryptoInfo() local
557 keyObj = env->NewByteArray(size); in android_media_MediaExtractor_getSampleCryptoInfo()
559 jbyte *dst = env->GetByteArrayElements(keyObj, &isCopy); in android_media_MediaExtractor_getSampleCryptoInfo()
561 env->ReleaseByteArrayElements(keyObj, dst, 0); in android_media_MediaExtractor_getSampleCryptoInfo()
591 keyObj, in android_media_MediaExtractor_getSampleCryptoInfo()
Dandroid_media_MediaDrm.cpp842 jobject keyObj = NULL; in android_media_MediaDrm_getKeyRequest() local
845 keyObj = env->AllocObject(clazz); in android_media_MediaDrm_getKeyRequest()
847 env->SetObjectField(keyObj, gFields.keyRequest.data, jrequest); in android_media_MediaDrm_getKeyRequest()
850 env->SetObjectField(keyObj, gFields.keyRequest.defaultUrl, jdefaultUrl); in android_media_MediaDrm_getKeyRequest()
854 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
858 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
862 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
872 return keyObj; in android_media_MediaDrm_getKeyRequest()
Dandroid_media_MediaCodec.cpp1288 jbyteArray keyObj = in android_media_MediaCodec_queueSecureInputBuffer() local
1376 if (err == OK && keyObj != NULL) { in android_media_MediaCodec_queueSecureInputBuffer()
1377 if (env->GetArrayLength(keyObj) != 16) { in android_media_MediaCodec_queueSecureInputBuffer()
1381 key = env->GetByteArrayElements(keyObj, &isCopy); in android_media_MediaCodec_queueSecureInputBuffer()
1414 env->ReleaseByteArrayElements(keyObj, key, 0); in android_media_MediaCodec_queueSecureInputBuffer()