Home
last modified time | relevance | path

Searched refs:checksums (Results 1 – 15 of 15) sorted by relevance

/art/libdexfile/dex/
Dart_dex_file_loader_test.cc66 std::vector<uint32_t> checksums; in TEST_F() local
71 &checksums, in TEST_F()
75 ASSERT_EQ(1U, checksums.size()); in TEST_F()
77 EXPECT_EQ(java_lang_dex_file_->GetLocationChecksum(), checksums[0]); in TEST_F()
83 std::vector<uint32_t> checksums; in TEST_F() local
88 &checksums, in TEST_F()
94 ASSERT_EQ(2U, checksums.size()); in TEST_F()
99 EXPECT_EQ(dexes[0]->GetLocationChecksum(), checksums[0]); in TEST_F()
103 EXPECT_EQ(dexes[1]->GetLocationChecksum(), checksums[1]); in TEST_F()
Dart_dex_file_loader.cc88 std::vector<uint32_t>* checksums, in GetMultiDexChecksums() argument
93 CHECK(checksums != nullptr); in GetMultiDexChecksums()
137 checksums->push_back(zip_entry->GetCrc32()); in GetMultiDexChecksums()
154 checksums->push_back(dex_file->GetHeader().checksum_); in GetMultiDexChecksums()
Dart_dex_file_loader.h55 std::vector<uint32_t>* checksums,
Ddex_file_loader.h122 std::vector<uint32_t>* checksums,
Ddex_file_loader.cc213 std::vector<uint32_t>* checksums ATTRIBUTE_UNUSED, in GetMultiDexChecksums()
/art/runtime/
Dclass_loader_context.cc226 info->checksums.push_back(checksum); in ParseClassLoaderSpec()
501 info->checksums = dex_checksums; in OpenDexFiles()
570 std::vector<uint32_t> checksums; in EncodeClassPathContexts() local
591 EncodeClassPath(base_dir, dex_locations, checksums, class_loader_chain_->type, out); in EncodeClassPathContexts()
631 const std::vector<uint32_t>& checksums, in EncodeClassPath() argument
634 CHECK(checksums.empty() || dex_locations.size() == checksums.size()); in EncodeClassPath()
652 if (!checksums.empty()) { in EncodeClassPath()
654 out << checksums[k]; in EncodeClassPath()
666 std::vector<uint32_t> checksums; in EncodeContextInternal() local
700 checksums.push_back(dex_file->GetLocationChecksum()); in EncodeContextInternal()
[all …]
Ddexopt_test.cc170 const char* checksums = oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in GenerateOatForTest() local
171 ASSERT_TRUE(checksums != nullptr); in GenerateOatForTest()
174 checksums, in GenerateOatForTest()
Dclass_loader_context.h235 std::vector<uint32_t> checksums; member
324 const std::vector<uint32_t>& checksums,
Ddex2oat_environment_test.h72 std::vector<uint32_t> checksums; in SetUp() local
83 GetResourceOnlySrc1().c_str(), &checksums, &dex_locations, &error_msg)) in SetUp()
Dvdex_file.cc368 const VdexChecksum* checksums = GetDexChecksumsArray(); in MatchesDexFileChecksums() local
370 if (checksums[i] != dex_headers[i]->checksum_) { in MatchesDexFileChecksums()
Dclass_loader_context_test.cc157 ASSERT_EQ(all_dex_files->size(), info.checksums.size()); in VerifyOpenDexFiles()
171 ? info.checksums[cur_open_dex_index] in VerifyOpenDexFiles()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc382 const std::string checksums = ImageSpace::GetBootClassPathChecksums(boot_image_spaces, in ValidateBcp() local
389 if (!ImageSpace::VerifyBootClassPathChecksums(checksums, in ValidateBcp()
/art/runtime/gc/space/
Dimage_space.cc1364 /*inout*/std::string* checksums) { in AppendImageChecksum() argument
1366 StringAppendF(checksums, "i;%u/%08x", component_count, checksum); in AppendImageChecksum()
3281 std::vector<uint32_t> checksums; in ValidateOatFile() local
3284 dex_file_location.c_str(), &checksums, &dex_locations_ignored, error_msg)) { in ValidateOatFile()
3292 CHECK(!checksums.empty()); in ValidateOatFile()
3293 if (checksums[0] != oat_dex_file->GetDexFileLocationChecksum()) { in ValidateOatFile()
3299 checksums[0]); in ValidateOatFile()
3304 for (size_t i = 1; i < checksums.size(); i++) { in ValidateOatFile()
3318 if (checksums[i] != multi_dex->GetDexFileLocationChecksum()) { in ValidateOatFile()
3324 checksums[i]); in ValidateOatFile()
[all …]
Dimage_space_test.cc331 std::string checksums = gc::space::ImageSpace::GetBootClassPathChecksums( in TEST_F() local
335 checksums, in TEST_F()
/art/odrefresh/
Dodrefresh.cc418 std::vector<uint32_t> checksums; in GenerateComponents() local
421 if (!loader.GetMultiDexChecksums(path.c_str(), &checksums, &dex_locations, &error_msg)) { in GenerateComponents()
427 for (size_t i = 0; i < checksums.size(); ++i) { in GenerateComponents()
431 oss << android::base::StringPrintf("%08x", checksums[i]); in GenerateComponents()