Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_animation_PropertyValuesHolder.cpp106 jvalue* values = new jvalue[parameterCount]; in android_animation_PropertyValuesHolder_callMultipleFloatMethod()
133 jvalue* values = new jvalue[parameterCount]; in android_animation_PropertyValuesHolder_callMultipleIntMethod()
/frameworks/base/media/jni/
Dandroid_media_VolumeShaper.h169 jvalue args[7]; in convertVolumeShaperToJobject()
196 jvalue args[3]; in convertOperationToJobject()
217 jvalue args[2]; in convertStateToJobject()
Dandroid_media_MediaDrm.cpp671 jstring jvalue = static_cast<jstring>(obj); in HashMapToKeyedVector() local
674 String8 value = JStringToString8(env, jvalue); in HashMapToKeyedVector()
678 env->DeleteLocalRef(jvalue); in HashMapToKeyedVector()
695 jstring jvalue = env->NewStringUTF(map.valueAt(i).string()); in KeyedVectorToHashMap() local
696 env->CallObjectMethod(hashMap, gFields.hashmap.put, jkey, jvalue); in KeyedVectorToHashMap()
698 env->DeleteLocalRef(jvalue); in KeyedVectorToHashMap()
1711 JNIEnv *env, jobject thiz, jstring jname, jstring jvalue) { in android_media_MediaDrm_setPropertyString() argument
1724 if (jvalue == NULL) { in android_media_MediaDrm_setPropertyString()
1731 String8 value = JStringToString8(env, jvalue); in android_media_MediaDrm_setPropertyString()
1739 JNIEnv *env, jobject thiz, jstring jname, jbyteArray jvalue) { in android_media_MediaDrm_setPropertyByteArray() argument
[all …]
Dandroid_media_MediaCodec.cpp2244 ScopedLocalRef<jobject> jvalue{ in ConvertKeyValueListsToAMessage() local
2247 if (env->IsInstanceOf(jvalue.get(), sFields.mStringClass)) { in ConvertKeyValueListsToAMessage()
2248 const char *tmp = env->GetStringUTFChars((jstring)jvalue.get(), nullptr); in ConvertKeyValueListsToAMessage()
2254 env->ReleaseStringUTFChars((jstring)jvalue.get(), tmp); in ConvertKeyValueListsToAMessage()
2256 } else if (env->IsInstanceOf(jvalue.get(), sFields.mIntegerClass)) { in ConvertKeyValueListsToAMessage()
2257 jint value = env->CallIntMethod(jvalue.get(), sFields.mIntegerValueId); in ConvertKeyValueListsToAMessage()
2259 } else if (env->IsInstanceOf(jvalue.get(), sFields.mLongClass)) { in ConvertKeyValueListsToAMessage()
2260 jlong value = env->CallLongMethod(jvalue.get(), sFields.mLongValueId); in ConvertKeyValueListsToAMessage()
2262 } else if (env->IsInstanceOf(jvalue.get(), sFields.mFloatClass)) { in ConvertKeyValueListsToAMessage()
2263 jfloat value = env->CallFloatMethod(jvalue.get(), sFields.mFloatValueId); in ConvertKeyValueListsToAMessage()
[all …]