Home
last modified time | relevance | path

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

123

/art/runtime/
Dreflection_test.cc142 InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), nullptr); in InvokeNopMethod()
154 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
158 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
162 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
167 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
180 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
184 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
188 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
192 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
205 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
[all …]
Dclass_loader_utils.h66 jni::DecodeArtField(WellKnownClasses::dalvik_system_BaseDexClassLoader_pathList)-> in VisitClassLoaderDexElements()
71 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList_dexElements)-> in VisitClassLoaderDexElements()
109 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexFile_cookie); in VisitClassLoaderDexFiles()
111 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList__Element_dexFile); in VisitClassLoaderDexFiles()
Djava_vm_ext.cc122 VLOG(jni) << "[" << *self << " waiting for \"" << path_ << "\" " << "JNI_OnLoad...]"; in CheckOnLoadResult()
127 VLOG(jni) << "[Earlier JNI_OnLoad for \"" << path_ << "\" " in CheckOnLoadResult()
301 VLOG(jni) << "[Found native code for " << jni_long_name in FindNativeMethodInternal()
337 VLOG(jni) << "[No JNI_OnUnload found in \"" << library->GetPath() << "\"]"; in UnloadNativeLibraries()
339 VLOG(jni) << "[JNI_OnUnload found for \"" << library->GetPath() << "\"]: Calling..."; in UnloadNativeLibraries()
932 VLOG(jni) << "[Shared library \"" << path << "\" already loaded in " in LoadNativeLibrary()
967 VLOG(jni) << "[Call to dlopen(\"" << path << "\", RTLD_NOW) returned " << handle << "]"; in LoadNativeLibrary()
970 VLOG(jni) << "dlopen(\"" << path << "\", RTLD_NOW) failed: " << *error_msg; in LoadNativeLibrary()
1006 VLOG(jni) << "[Added shared library \"" << path << "\" for ClassLoader " << class_loader << "]"; in LoadNativeLibrary()
1011 VLOG(jni) << "[No JNI_OnLoad found in \"" << path << "\"]"; in LoadNativeLibrary()
[all …]
Djni_internal.h35 namespace jni {
Dclass_loader_context.cc498 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexFile_cookie); in CollectDexFilesFromSupportedClassLoader()
500 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList__Element_dexFile); in CollectDexFilesFromSupportedClassLoader()
502 jni::DecodeArtField(WellKnownClasses::dalvik_system_BaseDexClassLoader_pathList)-> in CollectDexFilesFromSupportedClassLoader()
513 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList_dexElements)-> in CollectDexFilesFromSupportedClassLoader()
552 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexFile_cookie); in GetDexFilesFromDexElementsArray()
554 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList__Element_dexFile); in GetDexFilesFromDexElementsArray()
Dnative_bridge_art_interface.cc37 ArtMethod* m = jni::DecodeArtMethod(mid); in GetMethodShorty()
Djni_internal.cc265 return jni::EncodeArtMethod(method); in FindMethodID()
272 if (method == jni::DecodeArtMethod(WellKnownClasses::java_lang_Runtime_nativeLoad)) { in GetClassLoader()
346 return jni::EncodeArtField(field); in FindFieldID()
479 return jni::EncodeArtMethod(ArtMethod::FromReflectedMethod(soa, jlr_method)); in FromReflectedMethod()
491 return jni::EncodeArtField(field->GetArtField()); in FromReflectedField()
497 ArtMethod* m = jni::DecodeArtMethod(mid); in ToReflectedMethod()
512 ArtField* f = jni::DecodeArtField(fid); in ToReflectedField()
742 jmethodID sf_mid = jni::EncodeArtMethod( in NewObjectV()
743 WellKnownClasses::StringInitToStringFactory(jni::DecodeArtMethod(mid))); in NewObjectV()
769 jmethodID sf_mid = jni::EncodeArtMethod( in NewObjectA()
[all …]
/art/openjdkjvmti/
Dti_object.cc89 art::JNIEnvExt* jni = self->GetJniEnv(); in GetObjectMonitorUsage() local
100 jni->AddLocalReference<jthread>(info.owner_->GetPeerFromOtherThread()) : nullptr; in GetObjectMonitorUsage()
105 notify_wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage()
106 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage()
113 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage()
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()
199 auto res_pair = env->modify_watched_fields.insert(art::jni::DecodeArtField(field)); in SetFieldModificationWatch()
216 auto pos = env->modify_watched_fields.find(art::jni::DecodeArtField(field)); in ClearFieldModificationWatch()
233 auto res_pair = env->access_watched_fields.insert(art::jni::DecodeArtField(field)); in SetFieldAccessWatch()
250 auto pos = env->access_watched_fields.find(art::jni::DecodeArtField(field)); in ClearFieldAccessWatch()
Dti_breakpoint.cc94 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method)->GetCanonicalMethod(); in SetBreakpoint()
118 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method)->GetCanonicalMethod(); in ClearBreakpoint()
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()
Devents.cc494 art::jni::EncodeArtMethod(method)); in MethodEntered()
518 art::jni::EncodeArtMethod(method), in MethodExited()
545 art::jni::EncodeArtMethod(method), in MethodExited()
572 art::jni::EncodeArtMethod(method), in MethodUnwind()
596 jmethodID jmethod = art::jni::EncodeArtMethod(method); in DexPcMoved()
625 art::jni::EncodeArtMethod(method), in FieldRead()
629 art::jni::EncodeArtField(field)); in FieldRead()
654 art::jni::EncodeArtMethod(method), in FieldWritten()
658 art::jni::EncodeArtField(field), in FieldWritten()
688 art::jni::EncodeArtMethod(method), in FieldWritten()
[all …]
Dti_class_loader-inl.h51 art::ArtField* element_dex_file_field = art::jni::DecodeArtField( in VisitDexFileObjects()
Dti_method.cc81 art::jni::EncodeArtMethod(method), in RegisterNativeMethod()
116 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetBytecodes()
149 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetArgumentsSize()
184 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetLocalVariableTable()
287 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMaxLocals()
316 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodName()
383 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodDeclaringClass()
400 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodLocation()
432 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodModifiers()
466 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetLineNumberTable()
[all …]
Dti_class_loader.cc147 art::ArtField* path_list_field = art::jni::DecodeArtField( in GetDexElementList()
150 art::jni::DecodeArtField(art::WellKnownClasses::dalvik_system_DexPathList_dexElements); in GetDexElementList()
Dti_search.cc145 art::jni::EncodeArtMethod(get_property), in Update()
179 art::jni::EncodeArtMethod(set_property), in Update()
/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.bp45 "jni/quick/calling_convention.cc",
46 "jni/quick/jni_compiler.cc",
103 "jni/quick/arm/calling_convention_arm.cc",
121 "jni/quick/arm64/calling_convention_arm64.cc",
135 "jni/quick/mips/calling_convention_mips.cc",
148 "jni/quick/mips64/calling_convention_mips64.cc",
159 "jni/quick/x86/calling_convention_x86.cc",
174 "jni/quick/x86_64/calling_convention_x86_64.cc",
331 "jni/jni_compiler_test.cc",
363 "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/tools/amm/
DAndroid.mk20 LOCAL_SRC_FILES := $(call all-c-files-under, AmmTest/jni)
/art/libartbase/base/
Dlogging.h46 bool jni; member
/art/test/
DAndroid.bp245 "928-jni-table/jni_table.cc",
409 "136-daemon-jni-shutdown/daemon_jni_shutdown.cc",
417 "169-threadgroup-jni/jni_daemon_thread.cc",
436 "647-jni-get-field-id/get_field_id.cc",
437 "656-annotation-lookup-generic-jni/test.cc",
440 "667-jit-jni-stub/jit_jni_stub_test.cc",
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.cc66 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni) { in ReturnRegisterForShorty() argument
68 if (jni) { in ReturnRegisterForShorty()
/art/benchmark/
DAndroid.bp24 "jni-perf/perf_jni.cc",
/art/test/testrunner/
Dtestrunner.py376 jni, image, pictest, debuggable, jvmti, cdex_level = config_tuple
396 test_name += jni + '-'
405 variant_set = {target, run, prebuild, compiler, relocate, trace, gc, jni,
458 if jni == 'forcecopy':
460 elif jni == 'checkjni':

123