Home
last modified time | relevance | path

Searched refs:java_lang_dex_file_ (Results 1 – 9 of 9) sorted by relevance

/art/libdexfile/dex/
Dart_dex_file_loader_test.cc47 java_lang_dex_file_ = dex_files_[0].get(); in SetUp()
52 const DexFile* java_lang_dex_file_; member in art::ArtDexFileLoaderTest
77 EXPECT_EQ(java_lang_dex_file_->GetLocationChecksum(), checksums[0]); in TEST_F()
78 EXPECT_EQ(java_lang_dex_file_->GetLocation(), dex_locations[0]); in TEST_F()
243 for (size_t i = 0; i < java_lang_dex_file_->NumTypeIds(); i++) { in TEST_F()
244 const char* type_str = java_lang_dex_file_->StringByTypeIdx(dex::TypeIndex(i)); in TEST_F()
245 const dex::StringId* type_str_id = java_lang_dex_file_->FindStringId(type_str); in TEST_F()
247 dex::StringIndex type_str_idx = java_lang_dex_file_->GetIndexForStringId(*type_str_id); in TEST_F()
248 const dex::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); in TEST_F()
249 ASSERT_EQ(type_id, java_lang_dex_file_->FindTypeId(type_str)); in TEST_F()
[all …]
/art/runtime/mirror/
Ddex_cache_test.cc45 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
49 *java_lang_dex_file_, in TEST_F()
54 || java_lang_dex_file_->NumStringIds() == dex_cache->NumStrings()); in TEST_F()
56 || java_lang_dex_file_->NumTypeIds() == dex_cache->NumResolvedTypes()); in TEST_F()
58 || java_lang_dex_file_->NumMethodIds() == dex_cache->NumResolvedMethods()); in TEST_F()
60 || java_lang_dex_file_->NumFieldIds() == dex_cache->NumResolvedFields()); in TEST_F()
62 || java_lang_dex_file_->NumProtoIds() == dex_cache->NumResolvedMethodTypes()); in TEST_F()
68 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
72 *java_lang_dex_file_, in TEST_F()
76 || java_lang_dex_file_->NumProtoIds() == dex_cache->NumResolvedMethodTypes()); in TEST_F()
/art/runtime/verifier/
Dmethod_verifier_test.cc79 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
80 VerifyDexFile(*java_lang_dex_file_); in TEST_F()
86 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
91 VerifyDexFile(*java_lang_dex_file_); in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver_test.cc124 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
125 const DexFile& dex = *java_lang_dex_file_; in TEST_F()
/art/dex2oat/linker/
Dimage_write_read_test.cc62 java_lang_dex_file_ = nullptr; in TestWriteRead()
Doat_writer_test.cc461 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
462 const DexFile& dex_file = *java_lang_dex_file_; in TEST_F()
/art/runtime/
Dcommon_runtime_test.cc74 : class_linker_(nullptr), java_lang_dex_file_(nullptr) { in CommonRuntimeTestImpl()
131 java_lang_dex_file_ = boot_class_path_[0]; in SetUp()
Dcommon_runtime_test.h192 const DexFile* java_lang_dex_file_; variable
Dclass_linker_test.cc1075 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
1076 AssertDexFile(*java_lang_dex_file_, nullptr); in TEST_F()