Home
last modified time | relevance | path

Searched refs:ScopedObjectAccess (Results 1 – 25 of 183) sorted by relevance

12345678

/art/runtime/jni/
Djni_internal.cc205 static void ReportInvalidJNINativeMethod(const ScopedObjectAccess& soa, in ReportInvalidJNINativeMethod()
221 static jmethodID FindMethodID(ScopedObjectAccess& soa, jclass jni_class, in FindMethodID()
228 static ObjPtr<mirror::ClassLoader> GetClassLoader(const ScopedObjectAccess& soa) in GetClassLoader()
260 static jfieldID FindFieldID(const ScopedObjectAccess& soa, jclass jni_class, const char* name, in FindFieldID()
266 static void ThrowAIOOBE(ScopedObjectAccess& soa, in ThrowAIOOBE()
278 static void ThrowSIOOBE(ScopedObjectAccess& soa, jsize start, jsize length, in ThrowSIOOBE()
286 static void ThrowNoSuchMethodError(const ScopedObjectAccess& soa, in ThrowNoSuchMethodError()
314 ArtMethod* FindMethodJNI(const ScopedObjectAccess& soa, in FindMethodJNI()
340 ArtField* FindFieldJNI(const ScopedObjectAccess& soa, in FindFieldJNI()
423 ScopedObjectAccess soa(env); in ThrowNewException()
[all …]
Djni_internal.h34 class ScopedObjectAccess; variable
50 ArtMethod* FindMethodJNI(const ScopedObjectAccess& soa,
58 ArtField* FindFieldJNI(const ScopedObjectAccess& soa,
/art/runtime/
Dscoped_thread_state_change-inl.h116 inline ScopedObjectAccess::ScopedObjectAccess(JNIEnv* env) : ScopedObjectAccessUnchecked(env) {} in ScopedObjectAccess() function
117 inline ScopedObjectAccess::ScopedObjectAccess(Thread* self) : ScopedObjectAccessUnchecked(self) {} in ScopedObjectAccess() function
118 inline ScopedObjectAccess::~ScopedObjectAccess() {} in ~ScopedObjectAccess()
Dscoped_thread_state_change.h171 class ScopedObjectAccess : public ScopedObjectAccessUnchecked {
173 ALWAYS_INLINE explicit ScopedObjectAccess(JNIEnv* env)
177 ALWAYS_INLINE explicit ScopedObjectAccess(Thread* self)
182 ~ScopedObjectAccess() UNLOCK_FUNCTION(Locks::mutator_lock_) ALWAYS_INLINE;
188 explicit ScopedObjectAccess(JavaVM* vm) SHARED_LOCK_FUNCTION(Locks::mutator_lock_) in ScopedObjectAccess() function
192 DISALLOW_COPY_AND_ASSIGN(ScopedObjectAccess);
Dmonitor_test.cc68 ScopedObjectAccess soa(self); in Run()
98 ScopedObjectAccess soa(self); in Run()
117 ScopedObjectAccess soa(self); in Run()
144 ScopedObjectAccess soa(self); in Run()
182 ScopedObjectAccess soa(self); in Run()
221 ScopedObjectAccess soa(self); in Run()
247 ScopedObjectAccess soa(self); in CommonWaitSetup()
285 ScopedObjectAccess soa2(self); in CommonWaitSetup()
331 ScopedObjectAccess soa(self); in Run()
351 ScopedObjectAccess soa(self); in TEST_F()
Dmethod_handles_test.cc81 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
93 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
106 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
118 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
132 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
146 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
160 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
178 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
195 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
215 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
[all …]
Dhidden_api_test.cc122 ScopedObjectAccess soa(self_); in TEST_F()
189 ScopedObjectAccess soa(self_); in TEST_F()
244 ScopedObjectAccess soa(self_); in TEST_F()
263 ScopedObjectAccess soa(self_); in TEST_F()
282 ScopedObjectAccess soa(self_); in TEST_F()
298 ScopedObjectAccess soa(self_); in TEST_F()
313 ScopedObjectAccess soa(self_); in TEST_F()
326 ScopedObjectAccess soa(self_); in TEST_F()
337 ScopedObjectAccess soa(self_); in TEST_F()
347 ScopedObjectAccess soa(self_); in TEST_F()
[all …]
Dnative_bridge_art_interface.cc36 ScopedObjectAccess soa(env); in GetMethodShorty()
46 ScopedObjectAccess soa(env); in GetNativeMethodCount()
61 ScopedObjectAccess soa(env); in GetNativeMethods()
/art/benchmark/jobject-benchmark/
Djobject_benchmark.cc28 ScopedObjectAccess soa(env); in Java_JObjectBenchmark_timeAddRemoveLocal()
39 ScopedObjectAccess soa(env); in Java_JObjectBenchmark_timeDecodeLocal()
51 ScopedObjectAccess soa(env); in Java_JObjectBenchmark_timeAddRemoveGlobal()
62 ScopedObjectAccess soa(env); in Java_JObjectBenchmark_timeDecodeGlobal()
74 ScopedObjectAccess soa(env); in Java_JObjectBenchmark_timeAddRemoveWeakGlobal()
85 ScopedObjectAccess soa(env); in Java_JObjectBenchmark_timeDecodeWeakGlobal()
97 ScopedObjectAccess soa(env); in Java_JObjectBenchmark_timeDecodeHandleScopeRef()
/art/test/common/
Druntime_state.cc65 ScopedObjectAccess soa(env); in Java_Main_hasOatFile()
76 ScopedObjectAccess soa(env); in Java_Main_getCompilerFilter()
116 ScopedObjectAccess soa(env); in Java_Main_compiledWithOptimizing()
171 ScopedObjectAccess soa(self); in Java_Main_isAotCompiled()
187 static ArtMethod* GetMethod(ScopedObjectAccess& soa, jclass cls, const ScopedUtfChars& chars) in GetMethod()
209 ScopedObjectAccess soa(self); in Java_Main_hasJitCompiledEntrypoint()
226 ScopedObjectAccess soa(self); in Java_Main_hasJitCompiledCode()
235 ScopedObjectAccess soa(self); in ForceJitCompiled()
278 ScopedObjectAccess soa(self); in ForceJitCompiled()
304 ScopedObjectAccess soa(self); in Java_Main_ensureMethodJitCompiled()
[all …]
/art/test/596-app-images/
Dapp_images.cc38 ScopedObjectAccess soa(Thread::Current()); in Java_Main_checkAppImageLoaded()
52 ScopedObjectAccess soa(Thread::Current()); in Java_Main_checkAppImageContains()
69 ScopedObjectAccess soa(Thread::Current()); in Java_Main_checkInitialized()
/art/test/004-ThreadStress/
Dthread_stress.cc27 ScopedObjectAccess soa(Thread::Current()); in Java_Main_printString()
32 ScopedObjectAccess soa(Thread::Current()); in Java_Main_printThrowable()
/art/test/667-jit-jni-stub/
Djit_jni_stub_test.cc42 ScopedObjectAccess soa(Thread::Current()); in Java_Main_callThrough()
53 ScopedObjectAccess soa(Thread::Current()); in Java_Main_jitGc()
59 ScopedObjectAccess soa(Thread::Current()); in Java_Main_isNextJitGcFull()
/art/test/203-multi-checkpoint/
Dmulti_checkpoint.cc38 ScopedObjectAccess soa(self); in Run()
67 ScopedObjectAccess soa(self); in Run()
79 ScopedObjectAccess soa(self); in Java_Main_pushCheckpoints()
/art/runtime/gc/
Dheap_verification_test.cc49 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
74 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
93 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
105 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
123 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
149 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
169 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
/art/test/597-deopt-new-string/
Ddeopt.cc32 ScopedObjectAccess soa(env); in Java_Main_deoptimizeAll()
51 ScopedObjectAccess soa(env); in Java_Main_undeoptimizeAll()
/art/runtime/jit/
Dprofiling_info_test.cc50 ScopedObjectAccess soa(self); in GetVirtualMethods()
74 ScopedObjectAccess soa(Thread::Current()); in SaveProfilingInfo()
106 ScopedObjectAccess soa(Thread::Current()); in SaveProfilingInfoWithFakeInlineCaches()
205 ScopedObjectAccess soa(self); in TEST_F()
222 ScopedObjectAccess soa(self); in TEST_F()
243 ScopedObjectAccess soa(self); in TEST_F()
263 ScopedObjectAccess soa(self); in TEST_F()
283 ScopedObjectAccess soa(self); in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver_test.cc98 ScopedObjectAccess soa(Thread::Current()); in MakeDexFileExecutable()
123 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
170 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
193 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
201 ScopedObjectAccess soa(Thread::Current()); in GetProfileCompilationInfo()
238 ScopedObjectAccess soa(self); in CheckCompiledMethods()
269 ScopedObjectAccess soa(self); in TEST_F()
299 ScopedObjectAccess soa(self); in CheckVerifiedClass()
319 ScopedObjectAccess soa(self); in TEST_F()
338 ScopedObjectAccess soa(self); in TEST_F()
Dcompiler_driver-inl.h36 const ScopedObjectAccess& soa, in ResolveClass()
54 const ScopedObjectAccess& soa, in ResolveCompilingMethodsClass()
65 inline ArtField* CompilerDriver::ResolveField(const ScopedObjectAccess& soa, in ResolveField()
/art/test/004-UnsafeTest/
Dunsafe_test.cc29 ScopedObjectAccess soa(env); in Java_Main_vmArrayBaseOffset()
36 ScopedObjectAccess soa(env); in Java_Main_vmArrayIndexScale()
/art/test/661-oat-writer-layout/
Doat_writer_layout.cc38 ScopedObjectAccess soa(env); in Java_Main_getOatMethodQuickCode()
52 ScopedObjectAccess soa(env); in Java_Main_hasOatCompiledCode()
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc28 ScopedObjectAccess soa(Thread::Current()); in Java_Main_nativeClearResolvedTypes()
37 ScopedObjectAccess soa(Thread::Current()); in Java_Main_nativeSkipVerification()
51 ScopedObjectAccess soa(Thread::Current()); in Java_Main_nativeDumpClasses()
/art/runtime/native/
Ddalvik_system_VMDebug.cc112 ScopedObjectAccess soa(env); in VMDebug_startMethodTracingFd()
121 ScopedObjectAccess soa(env); in VMDebug_startMethodTracingFd()
181 ScopedObjectAccess soa(env); in VMDebug_isDebuggingEnabled()
192 ScopedObjectAccess soa(env); in ThrowUnsupportedOperationException()
253 ScopedObjectAccess soa(env); in VMDebug_dumpHprofData()
279 ScopedObjectAccess soa(env); in VMDebug_dumpReferenceTables()
300 ScopedObjectAccess soa(env); in VMDebug_countInstancesOfClass()
318 ScopedObjectAccess soa(env); in VMDebug_countInstancesOfClasses()
349 ScopedObjectAccess soa(env); in VMDebug_getInstancesOfClasses()
411 ScopedObjectAccess soa(env); in VMDebug_getHeapSpaceStats()
[all …]
Djava_lang_Thread.cc73 ScopedObjectAccess soa(env); in Thread_nativeGetStatus()
123 ScopedObjectAccess soa(env); in Thread_holdsLock()
145 ScopedObjectAccess soa(env); in Thread_setNativeName()
163 ScopedObjectAccess soa(env); in Thread_setNativeName()
180 ScopedObjectAccess soa(env); in Thread_setPriority0()
/art/test/595-profile-saving/
Dprofile-saving.cc39 ScopedObjectAccess soa(env); in Java_Main_ensureProfilingInfo()
57 ScopedObjectAccess soa(env); in Java_Main_presentInProfile()

12345678