Home
last modified time | relevance | path

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

1234567

/art/runtime/
Djni_internal.cc184 static void ThrowNoSuchMethodError(ScopedObjectAccess& soa, in ThrowNoSuchMethodError()
199 static void ReportInvalidJNINativeMethod(const ScopedObjectAccess& soa, in ReportInvalidJNINativeMethod()
227 static jmethodID FindMethodID(ScopedObjectAccess& soa, jclass jni_class, in FindMethodID()
248 static ObjPtr<mirror::ClassLoader> GetClassLoader(const ScopedObjectAccess& soa) in GetClassLoader()
278 static jfieldID FindFieldID(const ScopedObjectAccess& soa, jclass jni_class, const char* name, in FindFieldID()
326 static void ThrowAIOOBE(ScopedObjectAccess& soa, mirror::Array* array, jsize start, in ThrowAIOOBE()
335 static void ThrowSIOOBE(ScopedObjectAccess& soa, jsize start, jsize length, in ThrowSIOOBE()
369 ScopedObjectAccess soa(env); in ThrowNewException()
380 ScopedObjectAccess soa(env); in ThrowNewException()
441 ScopedObjectAccess soa(env); in FindClass()
[all …]
Dscoped_thread_state_change-inl.h117 inline ScopedObjectAccess::ScopedObjectAccess(JNIEnv* env) : ScopedObjectAccessUnchecked(env) {} in ScopedObjectAccess() function
118 inline ScopedObjectAccess::ScopedObjectAccess(Thread* self) : ScopedObjectAccessUnchecked(self) {} in ScopedObjectAccess() function
119 inline ScopedObjectAccess::~ScopedObjectAccess() {} in ~ScopedObjectAccess()
Dscoped_thread_state_change.h169 class ScopedObjectAccess : public ScopedObjectAccessUnchecked {
171 ALWAYS_INLINE explicit ScopedObjectAccess(JNIEnv* env)
175 ALWAYS_INLINE explicit ScopedObjectAccess(Thread* self)
180 ~ScopedObjectAccess() UNLOCK_FUNCTION(Locks::mutator_lock_) ALWAYS_INLINE;
186 explicit ScopedObjectAccess(JavaVM* vm) SHARED_LOCK_FUNCTION(Locks::mutator_lock_) in ScopedObjectAccess() function
190 DISALLOW_COPY_AND_ASSIGN(ScopedObjectAccess);
Dmonitor_test.cc116 ScopedObjectAccess soa(self); in Run()
146 ScopedObjectAccess soa(self); in Run()
165 ScopedObjectAccess soa(self); in Run()
192 ScopedObjectAccess soa(self); in Run()
230 ScopedObjectAccess soa(self); in Run()
269 ScopedObjectAccess soa(self); in Run()
295 ScopedObjectAccess soa(self); in CommonWaitSetup()
337 ScopedObjectAccess soa2(self); in CommonWaitSetup()
383 ScopedObjectAccess soa(self); in Run()
403 ScopedObjectAccess soa(self); in TEST_F()
Dnative_bridge_art_interface.cc36 ScopedObjectAccess soa(env); in GetMethodShorty()
46 ScopedObjectAccess soa(env); in GetNativeMethodCount()
61 ScopedObjectAccess soa(env); in GetNativeMethods()
Dcheck_jni.cc275 bool CheckInstanceFieldID(ScopedObjectAccess& soa, jobject java_object, jfieldID fid) in CheckInstanceFieldID()
318 bool CheckMethodAndSig(ScopedObjectAccess& soa, jobject jobj, jclass jc, in CheckMethodAndSig()
367 bool CheckStaticFieldID(ScopedObjectAccess& soa, jclass java_class, jfieldID fid) in CheckStaticFieldID()
391 bool CheckStaticMethod(ScopedObjectAccess& soa, jclass java_class, jmethodID mid) in CheckStaticMethod()
413 bool CheckVirtualMethod(ScopedObjectAccess& soa, jobject java_object, jmethodID mid) in CheckVirtualMethod()
467 bool Check(ScopedObjectAccess& soa, bool entry, const char* fmt, JniValueType* args) in Check()
523 ScopedObjectAccess soa(self); in CheckNonHeap()
542 ScopedObjectAccess soa(self); in CheckNonHeap()
567 bool CheckReflectedMethod(ScopedObjectAccess& soa, jobject jmethod) in CheckReflectedMethod()
598 bool CheckReflectedField(ScopedObjectAccess& soa, jobject jfield) in CheckReflectedField()
[all …]
Dtype_lookup_table_test.cc34 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
43 ScopedObjectAccess soa(Thread::Current()); in TEST_P()
/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/543-env-long-ref/
Denv_long_ref.cc30 TestVisitor(const ScopedObjectAccess& soa, Context* context, jobject expected_value) in TestVisitor()
53 const ScopedObjectAccess& soa_;
59 ScopedObjectAccess soa(Thread::Current()); in Java_Main_lookForMyRegisters()
/art/test/596-app-images/
Dapp_images.cc36 ScopedObjectAccess soa(Thread::Current()); in Java_Main_checkAppImageLoaded()
50 ScopedObjectAccess soa(Thread::Current()); in Java_Main_checkAppImageContains()
67 ScopedObjectAccess soa(Thread::Current()); in Java_Main_checkInitialized()
/art/test/common/
Druntime_state.cc55 ScopedObjectAccess soa(env); in Java_Main_hasOatFile()
95 ScopedObjectAccess soa(env); in Java_Main_compiledWithOptimizing()
146 ScopedObjectAccess soa(self); in Java_Main_isAotCompiled()
163 ScopedObjectAccess soa(self); in Java_Main_isJitCompiled()
183 ScopedObjectAccess soa(self); in Java_Main_ensureJitCompiled()
207 ScopedObjectAccess soa(self); in Java_Main_ensureJitCompiled()
221 ScopedObjectAccess soa(Thread::Current()); in Java_Main_hasSingleImplementation()
242 ScopedObjectAccess soa(Thread::Current()); in Java_Main_getHotnessCounter()
266 ScopedObjectAccess soa(Thread::Current()); in Java_Main_fetchProfiles()
/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/compiler/driver/
Dcompiler_driver-inl.h36 const ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, in ResolveClass()
52 const ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, in ResolveCompilingMethodsClass()
62 const ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, in ResolveFieldWithDexFile()
83 const ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, in ResolveField()
106 ScopedObjectAccess& soa, in ResolveMethod()
Dcompiler_driver_test.cc85 ScopedObjectAccess soa(Thread::Current()); in MakeDexFileExecutable()
110 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
157 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
180 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
200 ScopedObjectAccess soa(self); in TEST_F()
214 ScopedObjectAccess soa(self); in TEST_F()
241 ScopedObjectAccess soa(Thread::Current()); in GetProfileCompilationInfo()
278 ScopedObjectAccess soa(self); in CheckCompiledMethods()
309 ScopedObjectAccess soa(self); in TEST_F()
339 ScopedObjectAccess soa(self); in CheckVerifiedClass()
[all …]
/art/test/004-UnsafeTest/
Dunsafe_test.cc28 ScopedObjectAccess soa(env); in Java_Main_vmArrayBaseOffset()
35 ScopedObjectAccess soa(env); in Java_Main_vmArrayIndexScale()
/art/runtime/gc/
Dheap_verification_test.cc48 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
73 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
87 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
99 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
111 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
131 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
152 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
/art/test/597-deopt-new-string/
Ddeopt.cc31 ScopedObjectAccess soa(env); in Java_Main_deoptimizeAll()
50 ScopedObjectAccess soa(env); in Java_Main_undeoptimizeAll()
/art/test/570-checker-osr/
Dosr.cc70 ScopedObjectAccess soa(Thread::Current()); in Java_Main_isInOsrCode()
85 ScopedObjectAccess soa(Thread::Current()); in Java_Main_isInInterpreter()
120 ScopedObjectAccess soa(Thread::Current()); in Java_Main_ensureHasProfilingInfo()
160 ScopedObjectAccess soa(Thread::Current()); in Java_Main_ensureHasOsrCode()
/art/runtime/openjdkjvmti/
Dti_object.cc51 art::ScopedObjectAccess soa(art::Thread::Current()); in GetObjectSize()
68 art::ScopedObjectAccess soa(art::Thread::Current()); in GetObjectHashCode()
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc27 ScopedObjectAccess soa(Thread::Current()); in Java_Main_nativeClearResolvedTypes()
36 ScopedObjectAccess soa(Thread::Current()); in Java_Main_nativeSkipVerification()
49 ScopedObjectAccess soa(Thread::Current()); in Java_Main_nativeDumpClasses()
/art/test/595-profile-saving/
Dprofile-saving.cc39 ScopedObjectAccess soa(env); in Java_Main_ensureProfilingInfo()
57 ScopedObjectAccess soa(env); in Java_Main_presentInProfile()
/art/runtime/mirror/
Dobject_test.cc108 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
118 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
154 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
177 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
207 ScopedObjectAccess soa(Thread::Current()); in TestPrimitiveArray()
255 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
285 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
315 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
351 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
389 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
[all …]
Ddex_cache_test.cc43 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
66 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
80 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
94 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
120 ScopedObjectAccess soa(Thread::Current()); in TEST_F()
/art/runtime/native/
Djava_lang_Thread.cc73 ScopedObjectAccess soa(env); in Thread_nativeGetStatus()
113 ScopedObjectAccess soa(env); in Thread_nativeHoldsLock()
136 ScopedObjectAccess soa(env); in Thread_nativeSetName()
154 ScopedObjectAccess soa(env); in Thread_nativeSetName()
171 ScopedObjectAccess soa(env); in Thread_nativeSetPriority()
/art/test/004-StackWalk/
Dstack_walk_jni.cc80 ScopedObjectAccess soa(Thread::Current()); in Java_Main_stackmap()
92 ScopedObjectAccess soa(Thread::Current()); in Java_Main_refmap2()

1234567