/art/runtime/mirror/ |
D | object_test.cc | 83 self, GetClassRoot(ClassRoot::kObjectArrayClass, class_linker_), length); in AllocObjectArray() 134 class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/ArrayIndexOutOfBoundsException;")); in TEST_F() 149 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Cloneable;"), in TEST_F() 151 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "Ljava/io/Serializable;"), in TEST_F() 158 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F() 165 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")); in TEST_F() 170 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Object;")); in TEST_F() 179 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[B")); in TEST_F() 186 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F() 192 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")); in TEST_F() [all …]
|
D | dex_cache_test.cc | 47 hs.NewHandle(class_linker_->AllocAndInitializeDexCache( in TEST_F() 70 hs.NewHandle(class_linker_->AllocAndInitializeDexCache( in TEST_F() 86 ObjPtr<mirror::Class> klass = class_linker_->FindClass(soa.Self(), "LMain;", class_loader); in TEST_F() 101 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage1/Package1;", class_loader)); in TEST_F() 104 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage2/Package2;", class_loader)); 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() 147 class_linker_->FindDexCache(Thread::Current(), dex_file)); in TEST_F() 152 class_linker_->ResolveMethodType(soa.Self(), in TEST_F() 157 class_linker_->ResolveMethodType(soa.Self(), in TEST_F()
|
/art/runtime/ |
D | class_linker_test.cc | 68 EXPECT_TRUE(class_linker_->FindSystemClass(self, descriptor.c_str()) == nullptr); in AssertNonExistentClass() 74 class_linker_->FindSystemClass(self, "Ljava/lang/NoClassDefFoundError;"); in AssertNonExistentClass() 81 AssertPrimitiveClass(descriptor, class_linker_->FindSystemClass(self, descriptor.c_str())); in AssertPrimitiveClass() 170 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in AssertObjectClass() 187 hs.NewHandle(class_linker_->FindClass(self, array_descriptor.c_str(), loader))); in AssertArrayClass() 205 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(self, "Ljava/lang/Object;"), in AssertArrayClass() 240 EXPECT_OBJ_PTR_EQ(class_linker_->FindArrayClass(self, array->GetComponentType()), array.Get()); in AssertArrayClass() 242 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in AssertArrayClass() 244 class_linker_->FindSystemClass(self, "Ljava/lang/Object;"); in AssertArrayClass() 415 hs.NewHandle(class_linker_->FindSystemClass(self, descriptor.c_str()))); in AssertDexFileClass() [all …]
|
D | transaction_test.cc | 45 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort() 48 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 51 h_klass.Assign(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort() 54 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 58 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", in testTransactionAbort() 61 class_linker_->VerifyClass(soa.Self(), h_klass); in testTransactionAbort() 65 h_klass.Assign(class_linker_->FindClass(soa.Self(), tested_class_signature, class_loader)); in testTransactionAbort() 67 class_linker_->VerifyClass(soa.Self(), h_klass); in testTransactionAbort() 74 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 96 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F() [all …]
|
D | proxy_test.cc | 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() 64 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces))); 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() 100 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces)); 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() 149 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy0", interfaces)); in TEST_F() 151 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1", interfaces)); in TEST_F()
|
D | common_runtime_test.cc | 71 : class_linker_(nullptr), java_lang_dex_file_(nullptr) { in CommonRuntimeTestImpl() 145 class_linker_ = runtime_->GetClassLinker(); in SetUp() 152 boot_class_path_ = class_linker_->GetBootClassPath(); in SetUp() 396 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in MakeInterpreted() 398 class_linker_->SetEntryPointsToInterpreter(&method); in MakeInterpreted()
|
D | monitor_test.cc | 301 CommonWaitSetup(this, class_linker_, 10, 50, false, false, 2, 50, true, in TEST_F() 311 CommonWaitSetup(this, class_linker_, 0, -1, true, false, 10, 50, true, in TEST_F() 322 CommonWaitSetup(this, class_linker_, 0, 500, true, true, 10, 50, true, in TEST_F()
|
D | class_table_test.cc | 79 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_x, class_loader))); in TEST_F() 81 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_y, class_loader))); in TEST_F()
|
D | runtime_callbacks_test.cc | 80 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in MakeExecutable() 83 class_linker_->SetEntryPointsToInterpreter(&m); in MakeExecutable() 300 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_y, class_loader))); in TEST_F() 313 ASSERT_TRUE(class_linker_->EnsureInitialized(Thread::Current(), h_Y, true, true)); in TEST_F()
|
D | reflection_test.cc | 84 ObjPtr<mirror::Class> c = class_linker_->FindPrimitiveClass(descriptor); in GetPrimitiveClass() 103 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/lang/Class;")); in ReflectionTestMakeInterpreted() 104 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/lang/Object;")); in ReflectionTestMakeInterpreted() 107 ObjPtr<mirror::Class> c = class_linker_->FindClass(self, in ReflectionTestMakeInterpreted() 124 bool initialized = class_linker_->EnsureInitialized(self, h_class, true, true); in ReflectionTestMakeInterpreted() 522 ObjPtr<mirror::Class> klass = class_linker_->FindClass(soa.Self(), "LMain;", class_loader); in TEST_F()
|
D | indirect_reference_table_test.cc | 66 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F() 285 class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F() 495 class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F()
|
D | common_runtime_test.h | 132 ClassLinker* class_linker_; variable
|
D | runtime.h | 276 return class_linker_; in GetClassLinker() 996 ClassLinker* class_linker_; variable
|
/art/compiler/ |
D | common_compiler_test.cc | 88 class_linker_->SetEntryPointsToInterpreter(method); in MakeExecutable() 184 Handle<mirror::DexCache> dex_cache = hs.NewHandle(class_linker_->FindDexCache(self, dex_file)); in CompileMethod() 221 class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileDirectMethod() 223 auto pointer_size = class_linker_->GetImagePointerSize(); in CompileDirectMethod() 236 class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileVirtualMethod() 238 auto pointer_size = class_linker_->GetImagePointerSize(); in CompileVirtualMethod()
|
D | exception_test.cc | 60 my_klass_ = class_linker_->FindClass(soa.Self(), "LExceptionHandle;", class_loader); in SetUp() 63 class_linker_->EnsureInitialized(soa.Self(), klass, true, true); in SetUp()
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 54 return class_linker_; in GetClassLinker() 163 ClassLinker* const class_linker_; variable
|
D | dex_compilation_unit.cc | 41 class_linker_(class_linker), in DexCompilationUnit()
|
/art/runtime/verifier/ |
D | method_verifier_test.cc | 41 ObjPtr<mirror::Class> klass = class_linker_->FindSystemClass(self, descriptor.c_str()); in VerifyClass()
|
/art/runtime/gc/ |
D | heap_test.cc | 71 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
|
/art/dex2oat/linker/ |
D | image_test.h | 107 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in FindCopiedMethod() 462 class_linker_ = runtime_->GetClassLinker(); in TestWriteRead() 500 ObjPtr<mirror::Class> klass = class_linker_->FindSystemClass(soa.Self(), descriptor); in TestWriteRead()
|
D | oat_writer.cc | 1497 class_linker_(Runtime::Current()->GetClassLinker()) {} in InitImageMethodVisitor() 1511 ObjPtr<mirror::DexCache> dex_cache = class_linker_->FindDexCache(Thread::Current(), *dex_file); in StartClass() 1514 class_linker_->LookupResolvedType(class_def.class_idx_, dex_cache, class_loader_); in StartClass() 1561 ObjPtr<mirror::DexCache> dex_cache = class_linker_->FindDexCache(self, *dex_file_); in VisitMethod() 1564 resolved_method = class_linker_->LookupResolvedMethod( in VisitMethod() 1575 resolved_method = class_linker_->LookupResolvedMethod(method.GetIndex(), in VisitMethod() 1620 ClassLinker* const class_linker_; member in art::linker::OatWriter::InitImageMethodVisitor 1639 class_linker_(Runtime::Current()->GetClassLinker()), in WriteCodeMethodVisitor() 1663 dex_cache_ = class_linker_->FindDexCache(Thread::Current(), *dex_file); in UpdateDexFileAndDexCache() 1862 ClassLinker* const class_linker_; member in art::linker::OatWriter::WriteCodeMethodVisitor [all …]
|
/art/runtime/arch/ |
D | stub_test.cc | 830 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F() 832 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/String;"))); in TEST_F() 834 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/util/List;"))); in TEST_F() 836 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Cloneable;"))); in TEST_F() 838 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/util/ArrayList;"))); in TEST_F() 930 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F() 979 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F() 1047 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F() 2072 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
|
/art/imgdiag/ |
D | imgdiag.cc | 721 class_linker_ = Runtime::Current()->GetClassLinker(); in RegionSpecializedBase() 844 ClassLinker* class_linker_; member in art::__anon79c55f3c0111::RegionSpecializedBase 892 if (class_linker_->IsQuickToInterpreterBridge(addr)) { in StringFromBytes() 894 } else if (class_linker_->IsQuickGenericJniStub(addr)) { in StringFromBytes() 896 } else if (class_linker_->IsQuickResolutionStub(addr)) { in StringFromBytes() 898 } else if (class_linker_->IsJniDlsymLookupStub(addr)) { in StringFromBytes()
|
/art/dex2oat/ |
D | verifier_deps_test.cc | 73 class_linker_->FindClass(soa.Self(), name.c_str(), class_loader_handle); in FindClassByName() 126 class_linker_->RegisterDexFile(*dex_file, loader.Get()); in LoadDexFile() 158 class_linker_->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>( in VerifyMethod() 235 cls.Assign(class_linker_->FindClass(soa.Self(), descriptor, class_loader_handle)); in VerifyClassStatus()
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.cc | 896 ObjPtr<mirror::Class> c = class_linker_->FindClass(soa.Self(), "LNested$1;", loader); in TEST_F() 916 class_linker_->FindClass(soa.Self(), "LNested;", loader))); in TEST_F() 918 class_linker_->FindClass(soa.Self(), "LNested$Inner;", loader))); in TEST_F() 920 class_linker_->FindClass(soa.Self(), "LNested$1;", loader))); in TEST_F() 1341 self, GetClassRoot<mirror::ObjectArray<mirror::Object>>(class_linker_), 1)); in TEST_F()
|