Searched refs:keyObj (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/media/jni/ |
D | android_media_Utils.cpp | 136 jstring keyObj = env->NewStringUTF(key); in SetMapInt32() local 139 env->CallObjectMethod(hashMapObj, hashMapPutID, keyObj, valueObj); in SetMapInt32() 142 env->DeleteLocalRef(keyObj); keyObj = NULL; in SetMapInt32() 266 jstring keyObj = env->NewStringUTF(key); in ConvertMessageToMap() local 268 env->CallObjectMethod(hashMap, hashMapPutID, keyObj, valueObj); in ConvertMessageToMap() 270 env->DeleteLocalRef(keyObj); keyObj = NULL; in ConvertMessageToMap() 313 jobject keyObj = env->GetObjectArrayElement(keys, i); in ConvertKeyValueArraysToMessage() local 315 if (!env->IsInstanceOf(keyObj, stringClass.get())) { in ConvertKeyValueArraysToMessage() 319 const char *tmp = env->GetStringUTFChars((jstring)keyObj, NULL); in ConvertKeyValueArraysToMessage() 327 env->ReleaseStringUTFChars((jstring)keyObj, tmp); in ConvertKeyValueArraysToMessage()
|
D | android_media_MediaExtractor.cpp | 550 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()
|
D | android_media_MediaDrm.cpp | 846 jobject keyObj = NULL; in android_media_MediaDrm_getKeyRequest() local 849 keyObj = env->AllocObject(clazz); in android_media_MediaDrm_getKeyRequest() 851 env->SetObjectField(keyObj, gFields.keyRequest.data, jrequest); in android_media_MediaDrm_getKeyRequest() 854 env->SetObjectField(keyObj, gFields.keyRequest.defaultUrl, jdefaultUrl); 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() 866 env->SetIntField(keyObj, gFields.keyRequest.requestType, in android_media_MediaDrm_getKeyRequest() 876 return keyObj; in android_media_MediaDrm_getKeyRequest()
|
D | android_media_MediaCodec.cpp | 1259 jbyteArray keyObj = in android_media_MediaCodec_queueSecureInputBuffer() local 1325 if (err == OK && keyObj != NULL) { in android_media_MediaCodec_queueSecureInputBuffer() 1326 if (env->GetArrayLength(keyObj) != 16) { in android_media_MediaCodec_queueSecureInputBuffer() 1330 key = env->GetByteArrayElements(keyObj, &isCopy); in android_media_MediaCodec_queueSecureInputBuffer() 1362 env->ReleaseByteArrayElements(keyObj, key, 0); in android_media_MediaCodec_queueSecureInputBuffer()
|