/aosp12/art/runtime/ |
H A D | method_handles_test.cc | 128 soa.Self()->ClearException(); in TEST_F() 142 soa.Self()->ClearException(); in TEST_F() 156 soa.Self()->ClearException(); in TEST_F() 170 soa.Self()->ClearException(); in TEST_F() 207 soa.Self()->ClearException(); in TEST_F() 255 soa.Self()->ClearException(); in TEST_F() 269 soa.Self()->ClearException(); in TEST_F() 283 soa.Self()->ClearException(); in TEST_F() 331 soa.Self()->ClearException(); in TEST_F() 346 soa.Self()->ClearException(); in TEST_F() [all …]
|
H A D | transaction_test.cc | 41 StackHandleScope<2> hs(soa.Self()); in testTransactionAbort() 90 soa.Self()->ClearException(); in testTransactionAbort() 99 StackHandleScope<2> hs(soa.Self()); in TEST_F() 116 StackHandleScope<2> hs(soa.Self()); in TEST_F() 125 h_obj->MonitorEnter(soa.Self()); in TEST_F() 130 h_obj->MonitorExit(soa.Self()); in TEST_F() 143 StackHandleScope<2> hs(soa.Self()); in TEST_F() 154 mirror::Array::Alloc(soa.Self(), in TEST_F() 170 StackHandleScope<4> hs(soa.Self()); in TEST_F() 680 soa.Self(), in TEST_F() [all …]
|
H A D | intern_table_test.cc | 35 StackHandleScope<4> hs(soa.Self()); in TEST_F() 39 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F() 59 StackHandleScope<1> hs(soa.Self()); in TEST_F() 61 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F() 119 StackHandleScope<5> hs(soa.Self()); in TEST_F() 134 ReaderMutexLock mu(soa.Self(), *Locks::heap_bitmap_lock_); in TEST_F() 152 StackHandleScope<2> hs(soa.Self()); in TEST_F() 163 StackHandleScope<4> hs(soa.Self()); in TEST_F() 178 StackHandleScope<3> hs(soa.Self()); in TEST_F() 191 StackHandleScope<3> hs(soa.Self()); in TEST_F() [all …]
|
H A D | class_linker_test.cc | 896 StackHandleScope<1> hs(soa.Self()); in TEST_F() 928 StackHandleScope<2> hs(soa.Self()); in TEST_F() 981 StackHandleScope<1> hs(soa.Self()); in TEST_F() 1001 StackHandleScope<2> hs(soa.Self()); in TEST_F() 1035 StackHandleScope<3> hs(soa.Self()); in TEST_F() 1060 soa.Self()->ClearException(); in TEST_F() 1099 StackHandleScope<5> hs(soa.Self()); in TEST_F() 1154 StackHandleScope<3> hs(soa.Self()); in TEST_F() 1170 StackHandleScope<2> hs(soa.Self()); in TEST_F() 1247 StackHandleScope<6> hs(soa.Self()); in TEST_F() [all …]
|
H A D | proxy_test.cc | 49 StackHandleScope<4> hs(soa.Self()); in TEST_F() 54 class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader))); in TEST_F() 56 class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader))); in TEST_F() 71 EXPECT_OBJ_PTR_EQ(I.Get(), mirror::Class::GetDirectInterface(soa.Self(), proxy_class.Get(), 0)); in TEST_F() 72 EXPECT_OBJ_PTR_EQ(J.Get(), mirror::Class::GetDirectInterface(soa.Self(), proxy_class.Get(), 1)); in TEST_F() 83 StackHandleScope<9> hs(soa.Self()); in TEST_F() 88 class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader))); in TEST_F() 90 class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader))); in TEST_F() 114 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Class;"))); in TEST_F() 117 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Class;"))); in TEST_F() [all …]
|
H A D | reference_table_test.cc | 80 StackHandleScope<5u> hs(soa.Self()); in TEST_F() 189 ScopedThreadSuspension sts(soa.Self(), ThreadState::kSuspended); in TEST_F() 208 h_with_trace = hs.NewHandle(soa.Self()->DecodeJObject(result)); in TEST_F() 222 h_ref = hs.NewHandle(soa.Self()->DecodeJObject(result)); in TEST_F() 283 StackHandleScope<1> hs(soa.Self()); in TEST_F() 298 StackHandleScope<1> hs(soa.Self()); in TEST_F() 301 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 2)); in TEST_F() 303 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 2)); in TEST_F() 304 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 1)); in TEST_F() 305 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 2)); in TEST_F() [all …]
|
H A D | proxy_test.h | 42 StackHandleScope<1> hs(soa.Self()); in GenerateProxyClass() 51 soa.Self()->AssertNoPendingException(); in GenerateProxyClass() 66 soa.Self()->AssertNoPendingException(); in GenerateProxyClass() 79 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method))); in GenerateProxyClass() 86 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method))); in GenerateProxyClass() 94 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method))); in GenerateProxyClass() 100 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), &m))); in GenerateProxyClass() 107 soa.Self()->AssertNoPendingException(); in GenerateProxyClass() 116 soa.Self()->AssertNoPendingException(); in GenerateProxyClass()
|
H A D | scoped_thread_state_change-inl.h | 77 Locks::mutator_lock_->AssertSharedHeld(Self()); in AddLocalReference() 87 Locks::mutator_lock_->AssertSharedHeld(Self()); in Decode() 89 return ObjPtr<T>::DownCast(Self()->DecodeJObject(obj)); in Decode() 105 : ScopedObjectAccessAlreadyRunnable(env), tsc_(Self(), kRunnable) { in ScopedObjectAccessUnchecked() 106 Self()->VerifyStack(); in ScopedObjectAccessUnchecked() 107 Locks::mutator_lock_->AssertSharedHeld(Self()); in ScopedObjectAccessUnchecked() 112 Self()->VerifyStack(); in ScopedObjectAccessUnchecked() 113 Locks::mutator_lock_->AssertSharedHeld(Self()); in ScopedObjectAccessUnchecked()
|
H A D | handle_scope_test.cc | 51 StackHandleScope<0x1> hs0(soa.Self()); in TEST_F() 53 StackHandleScope<kNumReferences> test_table(soa.Self()); in TEST_F() 54 ObjPtr<mirror::Class> c = class_linker->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F() 94 VariableSizedHandleScope hs(soa.Self()); in TEST_F() 97 hs.NewHandle(class_linker->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F() 99 StackHandleScope<1> inner(soa.Self()); in TEST_F() 100 inner.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 106 ObjPtr<mirror::Object> o = c->AllocObject(soa.Self()); in TEST_F()
|
H A D | instrumentation_test.cc | 197 ScopedThreadSuspension sts(soa.Self(), kSuspended); in CheckConfigureStubs() 198 gc::ScopedGCCriticalSection gcs(soa.Self(), in CheckConfigureStubs() 240 soa.Self(), in TestEvent() 260 soa.Self(), in TestEvent() 505 StackHandleScope<1> hs(soa.Self()); in TEST_F() 525 StackHandleScope<1> hs(soa.Self()); in TEST_F() 546 StackHandleScope<1> hs(soa.Self()); in TEST_F() 581 StackHandleScope<1> hs(soa.Self()); in TEST_F() 599 StackHandleScope<1> hs(soa.Self()); in TEST_F() 630 StackHandleScope<1> hs(soa.Self()); in TEST_F() [all …]
|
/aosp12/art/runtime/mirror/ |
H A D | object_test.cc | 111 StackHandleScope<2> hs(soa.Self()); in TEST_F() 121 StackHandleScope<3> hs(soa.Self()); in TEST_F() 139 soa.Self()->ClearException(); in TEST_F() 144 soa.Self()->ClearException(); in TEST_F() 229 soa.Self()->ClearException(); in TestPrimitiveArray() 234 soa.Self()->ClearException(); in TestPrimitiveArray() 321 soa.Self()->ClearException(); in TEST_F() 326 soa.Self()->ClearException(); in TEST_F() 352 soa.Self()->ClearException(); in TEST_F() 357 soa.Self()->ClearException(); in TEST_F() [all …]
|
H A D | dex_cache_test.cc | 44 StackHandleScope<1> hs(soa.Self()); in TEST_F() 48 soa.Self(), in TEST_F() 67 StackHandleScope<1> hs(soa.Self()); in TEST_F() 71 soa.Self(), in TEST_F() 83 StackHandleScope<1> hs(soa.Self()); in TEST_F() 97 StackHandleScope<3> hs(soa.Self()); in TEST_F() 124 StackHandleScope<5> hs(soa.Self()); in TEST_F() 129 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LMethodTypes;", class_loader))); in TEST_F() 130 class_linker_->EnsureInitialized(soa.Self(), method_types, true, true); in TEST_F() 152 class_linker_->ResolveMethodType(soa.Self(), in TEST_F() [all …]
|
H A D | method_type_test.cc | 50 StackHandleScope<5> hs(soa.Self()); in CreateMethodType() 55 soa.Self(), FullyQualifiedType(return_type).c_str(), boot_class_loader)); in CreateMethodType() 65 soa.Self(), FullyQualifiedType(param_types[i]).c_str(), boot_class_loader)); in CreateMethodType() 76 StackHandleScope<2> hs(soa.Self()); in TEST_F() 84 StackHandleScope<2> hs(soa.Self()); in TEST_F() 92 StackHandleScope<2> hs(soa.Self()); in TEST_F() 100 StackHandleScope<2> hs(soa.Self()); in TEST_F()
|
/aosp12/art/runtime/native/ |
H A D | java_lang_Class.cc | 197 StackHandleScope<2> hs(soa.Self()); in Class_classForName() 231 StackHandleScope<1> hs(soa.Self()); in Class_getNameNative() 238 StackHandleScope<1> hs(soa.Self()); in Class_getInterfacesInternal() 492 StackHandleScope<1> hs(soa.Self()); in Class_getPublicFieldRecursive() 503 StackHandleScope<3> hs(soa.Self()); in Class_getDeclaredField() 538 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredConstructorInternal() 546 soa.Self(), in Class_getDeclaredConstructorInternal() 568 StackHandleScope<2> hs(soa.Self()); in Class_getDeclaredConstructorsInternal() 607 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredMethodInternal() 617 soa.Self(), in Class_getDeclaredMethodInternal() [all …]
|
H A D | java_lang_reflect_Constructor.cc | 51 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); in Constructor_getExceptionTypes() 67 StackHandleScope<1> hs(soa.Self()); in Constructor_newInstance0() 70 soa.Self()->ThrowNewExceptionF("Ljava/lang/InstantiationException;", "Can't instantiate %s %s", in Constructor_newInstance0() 79 ObjPtr<mirror::Class> caller = GetCallingClass(soa.Self(), 2); in Constructor_newInstance0() 89 soa.Self()->ThrowNewExceptionF( in Constructor_newInstance0() 97 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(soa.Self(), c, true, true)) { in Constructor_newInstance0() 98 DCHECK(soa.Self()->IsExceptionPending()); in Constructor_newInstance0() 112 movable ? c->AllocObject(soa.Self()) : c->AllocNonMovableObject(soa.Self()); in Constructor_newInstance0() 114 DCHECK(soa.Self()->IsExceptionPending()); in Constructor_newInstance0()
|
H A D | java_lang_StringFactory.cc | 40 StackHandleScope<1> hs(soa.Self()); in StringFactory_newStringFromBytes() 44 soa.Self()->ThrowNewExceptionF("Ljava/lang/StringIndexOutOfBoundsException;", in StringFactory_newStringFromBytes() 50 ObjPtr<mirror::String> result = mirror::String::AllocFromByteArray(soa.Self(), in StringFactory_newStringFromBytes() 64 StackHandleScope<1> hs(soa.Self()); in StringFactory_newStringFromChars() 67 ObjPtr<mirror::String> result = mirror::String::AllocFromCharArray(soa.Self(), in StringFactory_newStringFromChars() 81 StackHandleScope<1> hs(soa.Self()); in StringFactory_newStringFromString() 84 ObjPtr<mirror::String> result = mirror::String::AllocFromString(soa.Self(), in StringFactory_newStringFromString() 111 StackHandleScope<1> hs(soa.Self()); in StringFactory_newStringFromUtf8Bytes() 115 soa.Self()->ThrowNewExceptionF("Ljava/lang/StringIndexOutOfBoundsException;", in StringFactory_newStringFromUtf8Bytes() 263 ObjPtr<mirror::String> result = mirror::String::AllocFromUtf16(soa.Self(), s, v); in StringFactory_newStringFromUtf8Bytes()
|
H A D | java_lang_String.cc | 57 StackHandleScope<2> hs(soa.Self()); in String_concat() 63 ObjPtr<mirror::String> result = mirror::String::DoConcat(soa.Self(), string_this, string_arg); in String_concat() 72 StackHandleScope<1> hs(soa.Self()); in String_fastSubstring() 75 ObjPtr<mirror::String> result = mirror::String::AllocFromString(soa.Self(), in String_fastSubstring() 86 StackHandleScope<1> hs(soa.Self()); in String_getCharsNoCheck() 99 StackHandleScope<1> hs(soa.Self()); in String_doReplace() 101 ObjPtr<mirror::String> result = mirror::String::DoReplace(soa.Self(), string, old_c, new_c); in String_doReplace() 107 StackHandleScope<1u> hs(soa.Self()); in String_toCharArray() 109 return soa.AddLocalReference<jcharArray>(mirror::String::ToCharArray(s, soa.Self())); in String_toCharArray()
|
H A D | java_lang_reflect_Field.cc | 147 Thread* self = soa.Self(); in CheckReceiver() 163 DCHECK(soa.Self()->IsExceptionPending()); in CheckReceiver() 174 DCHECK(soa.Self()->IsExceptionPending()); in Field_get() 179 DCHECK(soa.Self()->IsExceptionPending()); in Field_get() 187 DCHECK(soa.Self()->IsExceptionPending()); in Field_get() 201 DCHECK(soa.Self()->IsExceptionPending()); in GetPrimitiveField() 207 DCHECK(soa.Self()->IsExceptionPending()); in GetPrimitiveField() 224 DCHECK(soa.Self()->IsExceptionPending()); in GetPrimitiveField() 231 DCHECK(soa.Self()->IsExceptionPending()); in GetPrimitiveField() 467 StackHandleScope<1> hs(soa.Self()); in Field_getAnnotationNative() [all …]
|
H A D | java_lang_invoke_MethodHandleImpl.cc | 35 StackHandleScope<2> hs(soa.Self()); in MethodHandleImpl_getMemberInternal() 47 mirror::Field::CreateFromArtField(soa.Self(), field, /* force_resolve= */ false)); in MethodHandleImpl_getMemberInternal() 52 mirror::Constructor::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method)); in MethodHandleImpl_getMemberInternal() 54 h_object.Assign(mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method)); in MethodHandleImpl_getMemberInternal() 59 soa.Self()->AssertPendingOOMException(); in MethodHandleImpl_getMemberInternal()
|
H A D | java_lang_Thread.cc | 36 return soa.AddLocalReference<jobject>(soa.Self()->GetPeer()); in Thread_currentThread() 45 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_isInterrupted() 75 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_nativeGetStatus() 122 Thread* thread = soa.Self(); in Thread_holdsLock() 128 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_interrupt0() 131 thread->Interrupt(soa.Self()); in Thread_interrupt0() 139 if (soa.Decode<mirror::Object>(peer) == soa.Self()->GetPeer()) { in Thread_setNativeName() 140 soa.Self()->SetThreadName(name.c_str()); in Thread_setNativeName() 173 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_setPriority0()
|
/aosp12/art/runtime/gc/ |
H A D | heap_verification_test.cc | 54 VariableSizedHandleScope hs(soa.Self()); in TEST_F() 56 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "test"))); in TEST_F() 75 VariableSizedHandleScope hs(soa.Self()); in TEST_F() 94 VariableSizedHandleScope hs(soa.Self()); in TEST_F() 107 VariableSizedHandleScope hs(soa.Self()); in TEST_F() 125 VariableSizedHandleScope hs(soa.Self()); in TEST_F() 129 hs.NewHandle(AllocObjectArray<mirror::Object>(soa.Self(), 256))); in TEST_F() 151 VariableSizedHandleScope hs(soa.Self()); in TEST_F() 156 hs.NewHandle(AllocObjectArray<mirror::Object>(soa.Self(), 256))); in TEST_F() 171 VariableSizedHandleScope hs(soa.Self()); in TEST_F() [all …]
|
/aosp12/art/runtime/interpreter/ |
H A D | interpreter_switch_impl-inl.h | 62 StackHandleScope<1u> hs(Self()); in CheckTransactionAbort() 66 Self()->ClearException(); in CheckTransactionAbort() 97 Self()->AllowThreadSuspension(); in HandlePendingException() 134 Self()->ClearException(); in PossiblyHandlePendingExceptionOnInvoke() 211 Self()->AllowThreadSuspension(); in HandleReturn() 441 Self()->ClearException(); in MOVE_EXCEPTION() 491 StackHandleScope<1> hs(Self()); in RETURN_OBJECT() 677 AbortTransactionF(Self(), in NEW_INSTANCE() 703 Self(), in NEW_ARRAY() 906 (!CheckWriteConstraint(Self(), array) || !CheckWriteValueConstraint(Self(), val))) { in APUT_OBJECT() [all …]
|
/aosp12/art/test/1985-structural-redefine-stack-scope/ |
H A D | stack_scope.cc | 49 StackHandleScope<4> hs(soa.Self()); in Java_Main_NativeFieldScopeCheck() 50 StackArtFieldHandleScope<1> fhs(soa.Self()); in Java_Main_NativeFieldScopeCheck() 51 StackArtFieldHandleScope<1> bhs(soa.Self()); in Java_Main_NativeFieldScopeCheck() 56 ScopedThreadSuspension sts(soa.Self(), ThreadState::kNative); in Java_Main_NativeFieldScopeCheck() 62 soa.Self(), in Java_Main_NativeFieldScopeCheck() 63 Runtime::Current()->GetClassLinker()->FindArrayClass(soa.Self(), in Java_Main_NativeFieldScopeCheck() 67 soa.Self(), hs.NewHandle(GetClassRoot<mirror::Object>()), mt_arr))); in Java_Main_NativeFieldScopeCheck() 69 mirror::MethodHandleImpl::Create(soa.Self(), in Java_Main_NativeFieldScopeCheck()
|
/aosp12/art/benchmark/jobject-benchmark/ |
H A D | jobject_benchmark.cc | 55 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeAddRemoveGlobal() 56 soa.Vm()->DeleteGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeAddRemoveGlobal() 65 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeDecodeGlobal() 69 soa.Vm()->DeleteGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeDecodeGlobal() 78 jobject ref = soa.Vm()->AddWeakGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeAddRemoveWeakGlobal() 79 soa.Vm()->DeleteWeakGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeAddRemoveWeakGlobal() 88 jobject ref = soa.Vm()->AddWeakGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeDecodeWeakGlobal() 92 soa.Vm()->DeleteWeakGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeDecodeWeakGlobal()
|
/aosp12/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | HashBase.h | 74 typedef HashTableImpl<HashEntryTy, HashFunctionTy> Self; typedef 113 friend class ChainIteratorBase<Self>; 114 friend class ChainIteratorBase<const Self>; 115 friend class EntryIteratorBase<Self>; 116 friend class EntryIteratorBase<const Self>;
|