Home
last modified time | relevance | path

Searched refs:jni (Results 1 – 25 of 48) sorted by relevance

12

/art/runtime/
Dreflection_test.cc141 InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), nullptr); in InvokeNopMethod()
153 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
157 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
161 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
166 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
179 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
183 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
187 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
191 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
204 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
[all …]
Djava_vm_ext.cc116 VLOG(jni) << "[" << *self << " waiting for \"" << path_ << "\" " << "JNI_OnLoad...]"; in CheckOnLoadResult()
121 VLOG(jni) << "[Earlier JNI_OnLoad for \"" << path_ << "\" " in CheckOnLoadResult()
264 VLOG(jni) << "[Found native code for " << m->PrettyMethod() in FindNativeMethod()
303 VLOG(jni) << "[No JNI_OnUnload found in \"" << library->GetPath() << "\"]"; in UnloadNativeLibraries()
305 VLOG(jni) << "[JNI_OnUnload found for \"" << library->GetPath() << "\"]: Calling..."; in UnloadNativeLibraries()
812 VLOG(jni) << "[Shared library \"" << path << "\" already loaded in " in LoadNativeLibrary()
844 VLOG(jni) << "[Call to dlopen(\"" << path << "\", RTLD_NOW) returned " << handle << "]"; in LoadNativeLibrary()
847 VLOG(jni) << "dlopen(\"" << path << "\", RTLD_NOW) failed: " << *error_msg; in LoadNativeLibrary()
883 VLOG(jni) << "[Added shared library \"" << path << "\" for ClassLoader " << class_loader << "]"; in LoadNativeLibrary()
888 VLOG(jni) << "[No JNI_OnLoad found in \"" << path << "\"]"; in LoadNativeLibrary()
[all …]
Djni_internal.h44 namespace jni {
Doat_file_manager.cc299 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexFile_cookie); in IterateOverPathClassLoader()
301 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList__Element_dexFile); in IterateOverPathClassLoader()
303 jni::DecodeArtField(WellKnownClasses::dalvik_system_BaseDexClassLoader_pathList)-> in IterateOverPathClassLoader()
308 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList_dexElements)-> in IterateOverPathClassLoader()
383 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexFile_cookie); in GetDexFilesFromDexElementsArray()
385 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList__Element_dexFile); in GetDexFilesFromDexElementsArray()
Dnative_bridge_art_interface.cc37 ArtMethod* m = jni::DecodeArtMethod(mid); in GetMethodShorty()
Dcommon_runtime_test.cc599 ArtField* cookie_field = jni::DecodeArtField(WellKnownClasses::dalvik_system_DexFile_cookie); in GetDexFiles()
601 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList__Element_dexFile); in GetDexFiles()
603 jni::DecodeArtField(WellKnownClasses::dalvik_system_BaseDexClassLoader_pathList)-> in GetDexFiles()
608 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList_dexElements)-> in GetDexFiles()
Dthread.cc439 ArtField* priorityField = jni::DecodeArtField(WellKnownClasses::java_lang_Thread_priority); in CreateCallback()
458 ArtField* f = jni::DecodeArtField(WellKnownClasses::java_lang_Thread_nativePeer); in FromManagedThread()
590 ArtField* f = jni::DecodeArtField(WellKnownClasses::java_lang_Thread_name); in CreateNativeThread()
968 jni::DecodeArtField(WellKnownClasses::java_lang_Thread_daemon)-> in InitPeer()
970 jni::DecodeArtField(WellKnownClasses::java_lang_Thread_group)-> in InitPeer()
972 jni::DecodeArtField(WellKnownClasses::java_lang_Thread_name)-> in InitPeer()
974 jni::DecodeArtField(WellKnownClasses::java_lang_Thread_priority)-> in InitPeer()
1128 ArtField* f = jni::DecodeArtField(WellKnownClasses::java_lang_Thread_name); in GetThreadName()
1541 priority = jni::DecodeArtField(WellKnownClasses::java_lang_Thread_priority) in DumpState()
1543 is_daemon = jni::DecodeArtField(WellKnownClasses::java_lang_Thread_daemon) in DumpState()
[all …]
Djni_internal.cc160 return jni::EncodeArtMethod(method); in FindMethodID()
167 if (method == jni::DecodeArtMethod(WellKnownClasses::java_lang_Runtime_nativeLoad)) { in GetClassLoader()
238 return jni::EncodeArtField(field); in FindFieldID()
371 return jni::EncodeArtMethod(ArtMethod::FromReflectedMethod(soa, jlr_method)); in FromReflectedMethod()
383 return jni::EncodeArtField(field->GetArtField()); in FromReflectedField()
389 ArtMethod* m = jni::DecodeArtMethod(mid); in ToReflectedMethod()
404 ArtField* f = jni::DecodeArtField(fid); in ToReflectedField()
634 jmethodID sf_mid = jni::EncodeArtMethod( in NewObjectV()
635 WellKnownClasses::StringInitToStringFactory(jni::DecodeArtMethod(mid))); in NewObjectV()
661 jmethodID sf_mid = jni::EncodeArtMethod( in NewObjectA()
[all …]
Dreflection.cc467 ArtMethod* method = jni::DecodeArtMethod(mid); in InvokeWithVarArgs()
498 ArtMethod* method = jni::DecodeArtMethod(mid); in InvokeWithJValues()
530 ArtMethod* method = FindVirtualMethod(receiver, jni::DecodeArtMethod(mid)); in InvokeVirtualOrInterfaceWithJValues()
562 ArtMethod* method = FindVirtualMethod(receiver, jni::DecodeArtMethod(mid)); in InvokeVirtualOrInterfaceWithVarArgs()
753 jni::DecodeArtMethod(m)->Invoke(soa.Self(), in BoxPrimitive()
Dparsed_options_test.cc99 EXPECT_TRUE(VLOG_IS_ON(jni)); in TEST_F()
/art/test/913-heaps/
Dexpected.txt3 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=136, length=…
46 root@root --(jni-global)--> 1@1000 [size=16, length=-1]
47 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-…
48 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=136, length=…
101 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=136, length=…
112 root@root --(jni-global)--> 1@1000 [size=16, length=-1]
113 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-…
114 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=136, length=…
177 root@root --(jni-global)--> 1@1000 [size=16, length=-1]
178 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-…
[all …]
/art/runtime/openjdkjvmti/
Dti_method.cc67 art::jni::EncodeArtMethod(method), in RegisterNativeMethod()
100 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetArgumentsSize()
134 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMaxLocals()
163 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodName()
230 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodDeclaringClass()
247 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodLocation()
279 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodModifiers()
313 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetLineNumberTable()
367 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in IsMethodT()
Dti_field.cc64 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldName()
137 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldDeclaringClass()
160 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldModifiers()
183 art::ArtField* art_field = art::jni::DecodeArtField(field); in IsFieldSynthetic()
Dti_threadgroup.cc107 art::jni::DecodeArtField(art::WellKnownClasses::java_lang_ThreadGroup_name); in GetThreadGroupInfo()
130 art::jni::DecodeArtField(art::WellKnownClasses::java_lang_ThreadGroup_parent); in GetThreadGroupInfo()
162 art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_group); in IsInDesiredThreadGroup()
195 art::jni::DecodeArtField(art::WellKnownClasses::java_lang_ThreadGroup_groups); in GetChildThreadGroups()
Dti_thread.cc209 art::ArtField* f = art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_group); in GetThreadInfo()
234 art::ArtField* f = art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_name); in GetThreadInfo()
255 art::ArtField* f = art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_priority); in GetThreadInfo()
262 art::ArtField* f = art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_daemon); in GetThreadInfo()
269 art::ArtField* f = art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_group); in GetThreadInfo()
Dti_search.cc139 art::jni::EncodeArtMethod(get_property), in Update()
173 art::jni::EncodeArtMethod(set_property), in Update()
/art/compiler/
DAndroid.bp47 "jni/quick/calling_convention.cc",
48 "jni/quick/jni_compiler.cc",
105 "jni/quick/arm/calling_convention_arm.cc",
128 "jni/quick/arm64/calling_convention_arm64.cc",
142 "jni/quick/mips/calling_convention_mips.cc",
155 "jni/quick/mips64/calling_convention_mips64.cc",
166 "jni/quick/x86/calling_convention_x86.cc",
181 "jni/quick/x86_64/calling_convention_x86_64.cc",
341 "jni/jni_compiler_test.cc",
373 "jni/jni_cfi_test.cc",
/art/benchmark/
DAndroid.bp24 "jni-perf/perf_jni.cc",
62 "libnativehelper/include/nativehelper" // only for jni.h
/art/runtime/base/
Dlogging.h46 bool jni; member
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.cc65 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni) { in ReturnRegisterForShorty() argument
67 if (jni) { in ReturnRegisterForShorty()
/art/test/
DAndroid.bp273 "928-jni-table/jni_table.cc",
374 "136-daemon-jni-shutdown/daemon_jni_shutdown.cc",
395 "647-jni-get-field-id/get_field_id.cc",
396 "656-annotation-lookup-generic-jni/test.cc"
/art/test/testrunner/
Dtestrunner.py349 jni, image, pictest, debuggable, jvmti in config:
367 test_name += jni + '-'
375 variant_set = {target, run, prebuild, compiler, relocate, trace, gc, jni,
423 if jni == 'forcecopy':
425 elif jni == 'checkjni':
/art/test/common/
Dstack_inspect.cc124 ArtMethod* goal = jni::DecodeArtMethod(id); in Java_Main_isInterpretedFunction()
/art/compiler/optimizing/
Dprepare_for_register_allocation.cc56 ArtMethod* char_at_method = jni::DecodeArtMethod(WellKnownClasses::java_lang_String_charAt); in VisitBoundsCheck()
/art/compiler/jni/quick/
Djni_compiler.cc139 VLOG(jni) << "JniCompile: Method :: " in ArtJniCompileMethodInternal()
144 VLOG(jni) << "JniCompile: Fast native method detected :: " in ArtJniCompileMethodInternal()
149 VLOG(jni) << "JniCompile: Critical native method detected :: " in ArtJniCompileMethodInternal()

12