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.cpp633 jbyteArray keyObj = NULL; in android_media_MediaExtractor_getSampleCryptoInfo() local
640 keyObj = env->NewByteArray(size); in android_media_MediaExtractor_getSampleCryptoInfo()
642 jbyte *dst = env->GetByteArrayElements(keyObj, &isCopy); in android_media_MediaExtractor_getSampleCryptoInfo()
644 env->ReleaseByteArrayElements(keyObj, dst, 0); in android_media_MediaExtractor_getSampleCryptoInfo()
674 keyObj, in android_media_MediaExtractor_getSampleCryptoInfo()
Dandroid_media_MediaDrm.cpp1234 jobject keyObj = NULL; in android_media_MediaDrm_getKeyRequest() local
1237 keyObj = env->AllocObject(clazz); in android_media_MediaDrm_getKeyRequest()
1239 env->SetObjectField(keyObj, gFields.keyRequest.data, jrequest); in android_media_MediaDrm_getKeyRequest()
1242 env->SetObjectField(keyObj, gFields.keyRequest.defaultUrl, jdefaultUrl); in android_media_MediaDrm_getKeyRequest()
1246 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1250 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1254 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1258 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1262 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest()
1273 return keyObj; in android_media_MediaDrm_getKeyRequest()
Dandroid_media_MediaCodec.cpp2386 jbyteArray keyObj = in android_media_MediaCodec_queueSecureInputBuffer() local
2476 if (err == OK && keyObj != NULL) { in android_media_MediaCodec_queueSecureInputBuffer()
2477 if (env->GetArrayLength(keyObj) != 16) { in android_media_MediaCodec_queueSecureInputBuffer()
2481 key = env->GetByteArrayElements(keyObj, &isCopy); in android_media_MediaCodec_queueSecureInputBuffer()
2514 env->ReleaseByteArrayElements(keyObj, key, 0); in android_media_MediaCodec_queueSecureInputBuffer()