Home
last modified time | relevance | path

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

123

/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.cc118 VLOG(jni) << "[" << *self << " waiting for \"" << path_ << "\" " << "JNI_OnLoad...]"; in CheckOnLoadResult()
123 VLOG(jni) << "[Earlier JNI_OnLoad for \"" << path_ << "\" " in CheckOnLoadResult()
297 VLOG(jni) << "[Found native code for " << jni_long_name in FindNativeMethodInternal()
333 VLOG(jni) << "[No JNI_OnUnload found in \"" << library->GetPath() << "\"]"; in UnloadNativeLibraries()
335 VLOG(jni) << "[JNI_OnUnload found for \"" << library->GetPath() << "\"]: Calling..."; in UnloadNativeLibraries()
842 VLOG(jni) << "[Shared library \"" << path << "\" already loaded in " in LoadNativeLibrary()
874 VLOG(jni) << "[Call to dlopen(\"" << path << "\", RTLD_NOW) returned " << handle << "]"; in LoadNativeLibrary()
877 VLOG(jni) << "dlopen(\"" << path << "\", RTLD_NOW) failed: " << *error_msg; in LoadNativeLibrary()
913 VLOG(jni) << "[Added shared library \"" << path << "\" for ClassLoader " << class_loader << "]"; in LoadNativeLibrary()
918 VLOG(jni) << "[No JNI_OnLoad found in \"" << path << "\"]"; in LoadNativeLibrary()
[all …]
Djni_internal.h35 namespace jni {
Dclass_loader_context.cc483 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexFile_cookie); in CollectDexFilesFromSupportedClassLoader()
485 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList__Element_dexFile); in CollectDexFilesFromSupportedClassLoader()
487 jni::DecodeArtField(WellKnownClasses::dalvik_system_BaseDexClassLoader_pathList)-> in CollectDexFilesFromSupportedClassLoader()
498 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList_dexElements)-> in CollectDexFilesFromSupportedClassLoader()
537 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexFile_cookie); in GetDexFilesFromDexElementsArray()
539 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.cc612 ArtField* cookie_field = jni::DecodeArtField(WellKnownClasses::dalvik_system_DexFile_cookie); in GetDexFiles()
614 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList__Element_dexFile); in GetDexFiles()
616 jni::DecodeArtField(WellKnownClasses::dalvik_system_BaseDexClassLoader_pathList)-> in GetDexFiles()
621 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList_dexElements)-> in GetDexFiles()
Djni_internal.cc245 return jni::EncodeArtMethod(method); in FindMethodID()
252 if (method == jni::DecodeArtMethod(WellKnownClasses::java_lang_Runtime_nativeLoad)) { in GetClassLoader()
323 return jni::EncodeArtField(field); in FindFieldID()
456 return jni::EncodeArtMethod(ArtMethod::FromReflectedMethod(soa, jlr_method)); in FromReflectedMethod()
468 return jni::EncodeArtField(field->GetArtField()); in FromReflectedField()
474 ArtMethod* m = jni::DecodeArtMethod(mid); in ToReflectedMethod()
489 ArtField* f = jni::DecodeArtField(fid); in ToReflectedField()
719 jmethodID sf_mid = jni::EncodeArtMethod( in NewObjectV()
720 WellKnownClasses::StringInitToStringFactory(jni::DecodeArtMethod(mid))); in NewObjectV()
746 jmethodID sf_mid = jni::EncodeArtMethod( in NewObjectA()
[all …]
Dreflection.cc468 ArtMethod* method = jni::DecodeArtMethod(mid); in InvokeWithVarArgs()
499 ArtMethod* method = jni::DecodeArtMethod(mid); in InvokeWithJValues()
531 ArtMethod* method = FindVirtualMethod(receiver, jni::DecodeArtMethod(mid)); in InvokeVirtualOrInterfaceWithJValues()
563 ArtMethod* method = FindVirtualMethod(receiver, jni::DecodeArtMethod(mid)); in InvokeVirtualOrInterfaceWithVarArgs()
754 jni::DecodeArtMethod(m)->Invoke(soa.Self(), in BoxPrimitive()
/art/runtime/openjdkjvmti/
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()
198 auto res_pair = env->modify_watched_fields.insert(art::jni::DecodeArtField(field)); in SetFieldModificationWatch()
214 auto pos = env->modify_watched_fields.find(art::jni::DecodeArtField(field)); in ClearFieldModificationWatch()
230 auto res_pair = env->access_watched_fields.insert(art::jni::DecodeArtField(field)); in SetFieldAccessWatch()
246 auto pos = env->access_watched_fields.find(art::jni::DecodeArtField(field)); in ClearFieldAccessWatch()
Dti_method.cc67 art::jni::EncodeArtMethod(method), in RegisterNativeMethod()
101 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetBytecodes()
134 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetArgumentsSize()
168 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMaxLocals()
197 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodName()
264 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodDeclaringClass()
281 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodLocation()
313 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodModifiers()
347 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetLineNumberTable()
401 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in IsMethodT()
Dti_breakpoint.cc85 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method)->GetCanonicalMethod(); in SetBreakpoint()
106 /* Breakpoint */ {art::jni::DecodeArtMethod(method)->GetCanonicalMethod(), location}); in ClearBreakpoint()
Devents.cc341 art::jni::EncodeArtMethod(method)); in MethodEntered()
364 art::jni::EncodeArtMethod(method), in MethodExited()
390 art::jni::EncodeArtMethod(method), in MethodExited()
416 art::jni::EncodeArtMethod(method), in MethodUnwind()
440 jmethodID jmethod = art::jni::EncodeArtMethod(method); in DexPcMoved()
468 art::jni::EncodeArtMethod(method), in FieldRead()
472 art::jni::EncodeArtField(field)); in FieldRead()
496 art::jni::EncodeArtMethod(method), in FieldWritten()
500 art::jni::EncodeArtField(field), in FieldWritten()
529 art::jni::EncodeArtMethod(method), in FieldWritten()
[all …]
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_search.cc143 art::jni::EncodeArtMethod(get_property), in Update()
177 art::jni::EncodeArtMethod(set_property), in Update()
Devents-inl.h229 art::ArtMethod* method = art::jni::DecodeArtMethod(jmethod);
266 art::jni::DecodeArtField(field)) != env->modify_watched_fields.end()) {
300 art::jni::DecodeArtField(field)) != env->access_watched_fields.end()) {
Dti_thread.cc220 art::ArtField* f = art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_group); in GetThreadInfo()
245 art::ArtField* f = art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_name); in GetThreadInfo()
266 art::ArtField* f = art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_priority); in GetThreadInfo()
273 art::ArtField* f = art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_daemon); in GetThreadInfo()
280 art::ArtField* f = art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_group); in GetThreadInfo()
/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=…
175 root@root --(jni-global)--> 1@1000 [size=16, length=-1]
176 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-…
[all …]
/art/compiler/
DAndroid.bp47 "jni/quick/calling_convention.cc",
48 "jni/quick/jni_compiler.cc",
106 "jni/quick/arm/calling_convention_arm.cc",
124 "jni/quick/arm64/calling_convention_arm64.cc",
138 "jni/quick/mips/calling_convention_mips.cc",
150 "jni/quick/mips64/calling_convention_mips64.cc",
161 "jni/quick/x86/calling_convention_x86.cc",
176 "jni/quick/x86_64/calling_convention_x86_64.cc",
337 "jni/jni_compiler_test.cc",
371 "jni/jni_cfi_test.cc",
/art/runtime/mirror/
Dmethod_handles_lookup.cc61 ArtMethod* lookup = jni::DecodeArtMethod(WellKnownClasses::java_lang_invoke_MethodHandles_lookup); in GetDefault()
71 jni::DecodeArtMethod(WellKnownClasses::java_lang_invoke_MethodHandles_Lookup_findConstructor); in FindConstructor()
/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/runtime/base/
Dlogging.h46 bool jni; member
/art/test/
DAndroid.bp277 "928-jni-table/jni_table.cc",
388 "136-daemon-jni-shutdown/daemon_jni_shutdown.cc",
409 "647-jni-get-field-id/get_field_id.cc",
410 "656-annotation-lookup-generic-jni/test.cc",
/art/benchmark/
DAndroid.bp24 "jni-perf/perf_jni.cc",
/art/test/testrunner/
Dtestrunner.py350 jni, image, pictest, debuggable, jvmti in config:
368 test_name += jni + '-'
376 variant_set = {target, run, prebuild, compiler, relocate, trace, gc, jni,
424 if jni == 'forcecopy':
426 elif jni == 'checkjni':
/art/test/common/
Dstack_inspect.cc124 ArtMethod* goal = jni::DecodeArtMethod(id); in Java_Main_isInterpretedFunction()

123