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.cpp647 jstring jvalue = static_cast<jstring>(obj); in HashMapToKeyedVector() local
650 String8 value = JStringToString8(env, jvalue); in HashMapToKeyedVector()
654 env->DeleteLocalRef(jvalue); in HashMapToKeyedVector()
671 jstring jvalue = env->NewStringUTF(map.valueAt(i).string()); in KeyedVectorToHashMap() local
672 env->CallObjectMethod(hashMap, gFields.hashmap.put, jkey, jvalue); in KeyedVectorToHashMap()
674 env->DeleteLocalRef(jvalue); in KeyedVectorToHashMap()
1681 JNIEnv *env, jobject thiz, jstring jname, jstring jvalue) { in android_media_MediaDrm_setPropertyString() argument
1694 if (jvalue == NULL) { in android_media_MediaDrm_setPropertyString()
1701 String8 value = JStringToString8(env, jvalue); in android_media_MediaDrm_setPropertyString()
1709 JNIEnv *env, jobject thiz, jstring jname, jbyteArray jvalue) { in android_media_MediaDrm_setPropertyByteArray() argument
[all …]
Dandroid_media_MediaCodec.cpp2089 ScopedLocalRef<jobject> jvalue{ in ConvertKeyValueListsToAMessage() local
2092 if (env->IsInstanceOf(jvalue.get(), sFields.mStringClass)) { in ConvertKeyValueListsToAMessage()
2093 const char *tmp = env->GetStringUTFChars((jstring)jvalue.get(), nullptr); in ConvertKeyValueListsToAMessage()
2099 env->ReleaseStringUTFChars((jstring)jvalue.get(), tmp); in ConvertKeyValueListsToAMessage()
2101 } else if (env->IsInstanceOf(jvalue.get(), sFields.mIntegerClass)) { in ConvertKeyValueListsToAMessage()
2102 jint value = env->CallIntMethod(jvalue.get(), sFields.mIntegerValueId); in ConvertKeyValueListsToAMessage()
2104 } else if (env->IsInstanceOf(jvalue.get(), sFields.mLongClass)) { in ConvertKeyValueListsToAMessage()
2105 jlong value = env->CallLongMethod(jvalue.get(), sFields.mLongValueId); in ConvertKeyValueListsToAMessage()
2107 } else if (env->IsInstanceOf(jvalue.get(), sFields.mFloatClass)) { in ConvertKeyValueListsToAMessage()
2108 jfloat value = env->CallFloatMethod(jvalue.get(), sFields.mFloatValueId); in ConvertKeyValueListsToAMessage()
[all …]