Home
last modified time | relevance | path

Searched refs:h_dex_cache (Results 1 – 6 of 6) sorted by relevance

/art/tools/art_verifier/
Dart_verifier.cc219 MutableHandle<mirror::DexCache> h_dex_cache(scope.NewHandle<mirror::DexCache>(nullptr)); in ExecuteWithRuntime() local
246 h_dex_cache.Assign(h_klass->GetDexCache()); in ExecuteWithRuntime()
251 h_dex_cache->GetDexFile(), in ExecuteWithRuntime()
253 h_dex_cache, in ExecuteWithRuntime()
/art/runtime/
Dtransaction_test.cc550 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(h_klass->GetDexCache())); in TEST_F() local
551 ASSERT_TRUE(h_dex_cache != nullptr); in TEST_F()
552 const DexFile* const dex_file = h_dex_cache->GetDexFile(); in TEST_F()
562 EXPECT_TRUE(class_linker_->LookupString(string_idx, h_dex_cache.Get()) == nullptr); in TEST_F()
563 EXPECT_TRUE(h_dex_cache->GetResolvedString(string_idx) == nullptr); in TEST_F()
572 class_linker_->LookupString(string_idx, h_dex_cache.Get()); in TEST_F()
575 EXPECT_OBJ_PTR_EQ(s, h_dex_cache->GetResolvedString(string_idx)); in TEST_F()
579 EXPECT_TRUE(class_linker_->LookupString(string_idx, h_dex_cache.Get()) == nullptr); in TEST_F()
580 EXPECT_TRUE(h_dex_cache->GetResolvedString(string_idx) == nullptr); in TEST_F()
614 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(h_klass->GetDexCache())); in TEST_F() local
[all …]
Dclass_linker-inl.h452 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(dex_cache)); in ResolveField()
454 resolved_field = ResolveField(field_idx, h_dex_cache, class_loader, is_static); in ResolveField()
Dclass_linker.cc4289 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(dex_cache)); in RegisterExistingDexCache() local
4310 RegisterDexFileLocked(*dex_file, h_dex_cache.Get(), h_class_loader.Get()); in RegisterExistingDexCache()
4311 table->InsertStrongRoot(h_dex_cache.Get()); in RegisterExistingDexCache()
4389 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(AllocDexCache(self, dex_file))); in RegisterDexFile() local
4398 if (old_dex_cache == nullptr && h_dex_cache != nullptr) { in RegisterDexFile()
4402 h_dex_cache->Initialize(&dex_file, h_class_loader.Get()); in RegisterDexFile()
4403 RegisterDexFileLocked(dex_file, h_dex_cache.Get(), h_class_loader.Get()); in RegisterDexFile()
4408 DCHECK_EQ(h_dex_cache == nullptr, self->IsExceptionPending()); in RegisterDexFile()
4423 if (h_dex_cache == nullptr) { in RegisterDexFile()
4427 if (table->InsertStrongRoot(h_dex_cache.Get())) { in RegisterDexFile()
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h392 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(caller->GetDexCache())); in ResolveFieldWithAccessChecks()
396 h_dex_cache, in ResolveFieldWithAccessChecks()
/art/dex2oat/linker/
Dimage_writer.cc1338 Handle<mirror::DexCache> h_dex_cache = handles.NewHandle(dex_cache); in CreateImageRoots() local
1339 dex_cache_records.push_back({data.registration_index, h_dex_cache, oat_index}); in CreateImageRoots()