Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_Streams.cpp209 jstring keyObj = env->NewStringUTF(key); in SetMapInt32() local
212 env->CallObjectMethod(hashMapObj, hashMapPutID, keyObj, valueObj); in SetMapInt32()
215 env->DeleteLocalRef(keyObj); keyObj = NULL; in SetMapInt32()
344 jstring keyObj = env->NewStringUTF(key); in ConvertMessageToMap() local
346 env->CallObjectMethod(hashMap, hashMapPutID, keyObj, valueObj); in ConvertMessageToMap()
348 env->DeleteLocalRef(keyObj); keyObj = NULL; in ConvertMessageToMap()
391 jobject keyObj = env->GetObjectArrayElement(keys, i); in ConvertKeyValueArraysToMessage() local
393 if (!env->IsInstanceOf(keyObj, stringClass.get())) { in ConvertKeyValueArraysToMessage()
397 const char *tmp = env->GetStringUTFChars((jstring)keyObj, NULL); in ConvertKeyValueArraysToMessage()
405 env->ReleaseStringUTFChars((jstring)keyObj, tmp); in ConvertKeyValueArraysToMessage()
Dandroid_media_MediaExtractor.cpp623 jbyteArray keyObj = NULL; in android_media_MediaExtractor_getSampleCryptoInfo() local
630 keyObj = env->NewByteArray(size); in android_media_MediaExtractor_getSampleCryptoInfo()
632 jbyte *dst = env->GetByteArrayElements(keyObj, &isCopy); in android_media_MediaExtractor_getSampleCryptoInfo()
634 env->ReleaseByteArrayElements(keyObj, dst, 0); in android_media_MediaExtractor_getSampleCryptoInfo()
664 keyObj, in android_media_MediaExtractor_getSampleCryptoInfo()
Dandroid_media_MediaDrm.cpp1157 jobject keyObj = NULL; in android_media_MediaDrm_getKeyRequest() local
1160 keyObj = env->AllocObject(clazz); in android_media_MediaDrm_getKeyRequest()
1162 env->SetObjectField(keyObj, gFields.keyRequest.data, jrequest); in android_media_MediaDrm_getKeyRequest()
1165 env->SetObjectField(keyObj, gFields.keyRequest.defaultUrl, jdefaultUrl); in android_media_MediaDrm_getKeyRequest()
1169 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1173 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1177 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1181 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1185 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1196 return keyObj; in android_media_MediaDrm_getKeyRequest()
Dandroid_media_MediaCodec.cpp1922 jbyteArray keyObj = in android_media_MediaCodec_queueSecureInputBuffer() local
2010 if (err == OK && keyObj != NULL) { in android_media_MediaCodec_queueSecureInputBuffer()
2011 if (env->GetArrayLength(keyObj) != 16) { in android_media_MediaCodec_queueSecureInputBuffer()
2015 key = env->GetByteArrayElements(keyObj, &isCopy); in android_media_MediaCodec_queueSecureInputBuffer()
2048 env->ReleaseByteArrayElements(keyObj, key, 0); in android_media_MediaCodec_queueSecureInputBuffer()