/aosp12/system/extras/module_ndk_libs/libnativehelper/include_jni/ |
H A D | jni.h | 109 typedef union jvalue { union 119 } jvalue; typedef 235 jmethodID, const jvalue*); 247 jmethodID, const jvalue*); 253 jmethodID, const jvalue*); 259 jmethodID, const jvalue*); 265 jmethodID, const jvalue*); 271 jmethodID, const jvalue*); 277 jmethodID, const jvalue*); 283 jmethodID, const jvalue*); [all …]
|
/aosp12/libnativehelper/include_jni/ |
H A D | jni.h | 109 typedef union jvalue { union 119 } jvalue; typedef 235 jmethodID, const jvalue*); 247 jmethodID, const jvalue*); 253 jmethodID, const jvalue*); 259 jmethodID, const jvalue*); 265 jmethodID, const jvalue*); 271 jmethodID, const jvalue*); 277 jmethodID, const jvalue*); 283 jmethodID, const jvalue*); [all …]
|
/aosp12/art/runtime/ |
H A D | reflection_test.cc | 152 jvalue args[1]; in InvokeIdentityByteMethod() 178 jvalue args[1]; in InvokeIdentityIntMethod() 203 jvalue args[1]; in InvokeIdentityDoubleMethod() 228 jvalue args[2]; in InvokeSumIntIntMethod() 257 jvalue args[3]; in InvokeSumIntIntIntMethod() 296 jvalue args[4]; in InvokeSumIntIntIntIntMethod() 340 jvalue args[5]; in InvokeSumIntIntIntIntIntMethod() 389 jvalue args[2]; in InvokeSumDoubleDoubleMethod() 423 jvalue args[3]; in InvokeSumDoubleDoubleDoubleMethod() 450 jvalue args[4]; in InvokeSumDoubleDoubleDoubleDoubleMethod() [all …]
|
H A D | reflection.h | 77 const jvalue* args) 87 const jvalue* args)
|
H A D | reflection.cc | 93 jvalue jv; in AppendFloat() 99 jvalue jv; in AppendDouble() 142 ObjPtr<mirror::Object> receiver, const jvalue* args) in BuildArgArrayFromJValues() 570 const jvalue* args) { in InvokeWithJValues() 602 const jvalue* args) { in InvokeWithJValues() 611 const jvalue* args) { in InvokeVirtualOrInterfaceWithJValues() 645 const jvalue* args) { in InvokeVirtualOrInterfaceWithJValues()
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_animation_PropertyValuesHolder.cpp | 106 jvalue* values = new jvalue[parameterCount]; in android_animation_PropertyValuesHolder_callMultipleFloatMethod() 133 jvalue* values = new jvalue[parameterCount]; in android_animation_PropertyValuesHolder_callMultipleIntMethod()
|
/aosp12/art/test/ti-agent/ |
H A D | common_helper.h | 30 jobject GetJavaValueByType(JNIEnv* env, char type, jvalue value); 31 jobject GetJavaValue(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m, jvalue value);
|
H A D | common_helper.cc | 57 jobject GetJavaValueByType(JNIEnv* env, char type, jvalue value) { in GetJavaValueByType() 105 jobject GetJavaValue(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m, jvalue value) { in GetJavaValue()
|
H A D | trace_helper.cc | 202 jvalue new_value) { in fieldModificationCB() 243 jvalue return_value) { in methodExitCB()
|
/aosp12/art/test/674-hiddenapi/ |
H A D | hiddenapi.cc | 278 size_t initargs_size = sizeof(jvalue) * kNumConstructorArgs; in Java_JNI_canInvokeConstructorA() 279 jvalue *initargs = reinterpret_cast<jvalue*>(alloca(initargs_size)); in Java_JNI_canInvokeConstructorA() 303 size_t initargs_size = sizeof(jvalue) * kNumConstructorArgs; in Java_JNI_canInvokeConstructorV() 304 jvalue *initargs = reinterpret_cast<jvalue*>(alloca(initargs_size)); in Java_JNI_canInvokeConstructorV()
|
/aosp12/art/openjdkjvmti/ |
H A D | ti_method.h | 103 jvalue value); 109 jvalue* value);
|
H A D | ti_method.cc | 804 jvalue* val) in GetLocalVariableClosure() 934 jvalue* val_; 945 jvalue* val) { in GetLocalVariableGeneric() 974 jvalue val) in SetLocalVariableClosure() 1112 jvalue val_; 1121 jvalue val) { in SetLocalVariableGeneric() 1220 template<typename T> void WriteJvalue(T, jvalue*); 1221 template<typename T> void ReadJvalue(jvalue, T*); 1237 template<> void WriteJvalue<srctype>(srctype in, jvalue* out) { \ 1253 jvalue v = {.j = 0}; in SetLocalVariable() [all …]
|
H A D | events.cc | 602 void AddDelayedNonStandardExitEvent(const art::ShadowFrame* frame, bool is_object, jvalue val) in AddDelayedNonStandardExitEvent() 684 jvalue val; in MethodExited() 733 jvalue val; in MethodExited() 757 jvalue val; in MethodUnwind() 851 jvalue val; in FieldWritten() 886 jvalue val; in FieldWritten() 1061 jvalue return_val_; 1620 jvalue val) { in AddDelayedNonStandardExitEvent()
|
/aosp12/art/runtime/jni/ |
H A D | jni_internal.cc | 505 jvalue args[2]; in ThrowNewException() 1207 const jvalue* args) { in CallNonvirtualObjectMethodA() 1236 const jvalue* args) { in CallNonvirtualBooleanMethodA() 1263 const jvalue* args) { in CallNonvirtualByteMethodA() 1290 const jvalue* args) { in CallNonvirtualCharMethodA() 1317 const jvalue* args) { in CallNonvirtualShortMethodA() 1344 const jvalue* args) { in CallNonvirtualIntMethodA() 1371 const jvalue* args) { in CallNonvirtualLongMethodA() 1398 const jvalue* args) { in CallNonvirtualFloatMethodA() 1425 const jvalue* args) { in CallNonvirtualDoubleMethodA() [all …]
|
/aosp12/frameworks/base/media/jni/ |
H A D | android_media_VolumeShaper.h | 169 jvalue args[7]; in convertVolumeShaperToJobject() 196 jvalue args[3]; in convertOperationToJobject() 217 jvalue args[2]; in convertStateToJobject()
|
H A D | android_media_MediaDrm.cpp | 671 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 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 1752 if (jvalue == NULL) { in android_media_MediaDrm_setPropertyByteArray() [all …]
|
H A D | android_media_MediaCodec.cpp | 2244 ScopedLocalRef<jobject> jvalue{ in ConvertKeyValueListsToAMessage() local 2247 if (env->IsInstanceOf(jvalue.get(), sFields.mStringClass)) { 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() 2265 } else if (env->IsInstanceOf(jvalue.get(), gByteBufferInfo.clazz)) { in ConvertKeyValueListsToAMessage() 2269 void *data = env->GetDirectBufferAddress(jvalue.get()); in ConvertKeyValueListsToAMessage() [all …]
|
/aosp12/art/test/1962-multi-thread-events/ |
H A D | multi_thread_events.cc | 42 jvalue val ATTRIBUTE_UNUSED) { in cbMethodEntry()
|
/aosp12/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 375 ScopedLocalRef<jstring> jvalue(env, env->NewStringUTF(value.c_str())); in SetRuntimeStatValue() local 376 if (jvalue.get() == nullptr) { in SetRuntimeStatValue() 379 env->SetObjectArrayElement(result, static_cast<jint>(id), jvalue.get()); in SetRuntimeStatValue()
|
/aosp12/art/test/ti-stress/ |
H A D | stress.cc | 399 static std::string GetValOf(jvmtiEnv* env, JNIEnv* jnienv, std::string type, jvalue val) { in GetValOf() 459 static std::string PrintJValue(jvmtiEnv* jvmtienv, JNIEnv* env, char type, jvalue new_value) { in PrintJValue() 512 jvalue new_value) { in FieldModificationHook() 534 jvalue val) { in MethodExitHook()
|
/aosp12/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 66 std::vector<jvalue>& args) { in InvokeProxyInvocationHandler() 99 jvalue invocation_args[3]; in InvokeProxyInvocationHandler()
|
H A D | entrypoint_utils.h | 186 std::vector<jvalue>& args)
|
/aosp12/art/test/906-iterate-heap/ |
H A D | iterate_heap.cc | 364 jvalue value, in Java_art_Test906_iterateThroughHeapPrimitiveFields() 380 static_assert(sizeof(jvalue) == sizeof(uint64_t), "Unexpected jvalue size"); in Java_art_Test906_iterateThroughHeapPrimitiveFields()
|
/aosp12/art/tools/jvmti-agents/ti-fast/ |
H A D | tifast.cc | 87 …mtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jboolean jb, jvalue jv), (jvmti, jni, … 391 jvalue v, 463 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jvalue v, Args... args) { in PrintRest()
|
/aosp12/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints.cc | 758 ScopedObjectAccessUnchecked* soa, std::vector<jvalue>* args) : in BuildQuickArgumentVisitor() 765 std::vector<jvalue>* const args_; 771 jvalue val; in Visit() 829 std::vector<jvalue> args; in artQuickProxyInvokeHandler() 2164 jvalue result, 2173 jvalue result, in artQuickGenericJniEndTrampoline()
|