Home
last modified time | relevance | path

Searched refs:fnPtr (Results 1 – 5 of 5) sorted by relevance

/art/test/115-native-bridge/
Dnativebridge.cc39 void* fnPtr; member
49 FnPtr_t fnPtr = reinterpret_cast<FnPtr_t>(find_native_bridge_method("JNI_OnLoad")->fnPtr); in trampoline_JNI_OnLoad() local
91 return fnPtr(vm, reserved); in trampoline_JNI_OnLoad()
96 FnPtr_t fnPtr = reinterpret_cast<FnPtr_t> in trampoline_Java_Main_testFindClassOnAttachedNativeThread() local
97 (find_native_bridge_method("testFindClassOnAttachedNativeThread")->fnPtr); in trampoline_Java_Main_testFindClassOnAttachedNativeThread()
99 return fnPtr(env, klass); in trampoline_Java_Main_testFindClassOnAttachedNativeThread()
105 FnPtr_t fnPtr = reinterpret_cast<FnPtr_t> in trampoline_Java_Main_testFindFieldOnAttachedNativeThreadNative() local
106 (find_native_bridge_method("testFindFieldOnAttachedNativeThreadNative")->fnPtr); in trampoline_Java_Main_testFindFieldOnAttachedNativeThreadNative()
108 return fnPtr(env, klass); in trampoline_Java_Main_testFindFieldOnAttachedNativeThreadNative()
114 FnPtr_t fnPtr = reinterpret_cast<FnPtr_t> in trampoline_Java_Main_testCallStaticVoidMethodOnSubClassNative() local
[all …]
/art/test/986-native-method-bind/
Dnative_bind.cc120 m[0].fnPtr = reinterpret_cast<void*>(Java_art_Test986_00024Transform_sayHi__); in Java_art_Test986_rebindTransformClass()
123 m[1].fnPtr = reinterpret_cast<void*>(Java_art_Test986_00024Transform_sayHi2); in Java_art_Test986_rebindTransformClass()
/art/runtime/
Dnative_bridge_art_interface.cc70 methods[count].fnPtr = m.GetEntryPointFromJni(); in GetNativeMethods()
/art/test/ti-agent/
Djni_binder.cc114 native_method.fnPtr = sym; in BindMethod()
/art/runtime/jni/
Djni_internal.cc2320 const void* fnPtr = methods[i].fnPtr; in RegisterNatives() local
2327 } else if (UNLIKELY(fnPtr == nullptr)) { in RegisterNatives()
2424 const void* final_function_ptr = class_linker->RegisterNative(soa.Self(), m, fnPtr); in RegisterNatives()