Home
last modified time | relevance | path

Searched refs:GetLocation (Results 1 – 25 of 88) sorted by relevance

1234

/art/runtime/
Ddebug_print.cc110 dex_file->GetLocation().length() > base_dex_file->GetLocation().length() && in DescribeLoaders()
111 dex_file->GetLocation().compare(0u, in DescribeLoaders()
112 base_dex_file->GetLocation().length(), in DescribeLoaders()
113 base_dex_file->GetLocation()) == 0) { in DescribeLoaders()
115 oss << "+" << dex_file->GetLocation().substr(base_dex_file->GetLocation().length()); in DescribeLoaders()
117 oss << dex_file->GetLocation(); in DescribeLoaders()
Doat_file_manager.cc75 VLOG(class_linker) << "Registered oat file " << oat_file->GetLocation(); in RegisterOatFile()
76 PaletteNotifyOatFileLoaded(oat_file->GetLocation().c_str()); in RegisterOatFile()
81 LocationIsTrusted(oat_file->GetLocation(), !Runtime::Current()->DenyArtApexDataFiles()) || in RegisterOatFile()
83 << "Registering a non /system oat file: " << oat_file->GetLocation() << " android-root=" in RegisterOatFile()
89 CHECK_NE(oat_file.get(), existing.get()) << oat_file->GetLocation(); in RegisterOatFile()
133 if (oat_file->GetLocation() == oat_location) { in FindOpenedOatFileFromOatLocationLocked()
240 << (oat_file != nullptr ? oat_file->GetLocation() : "") in OpenDexFilesFromOat()
243 CHECK(oat_file == nullptr || odex_location == oat_file->GetLocation()) in OpenDexFilesFromOat()
246 << " best_oat_file-location=" << oat_file->GetLocation(); in OpenDexFilesFromOat()
254 VLOG(oat) << "Madvising oat file: " << oat_file->GetLocation(); in OpenDexFilesFromOat()
[all …]
Doat_file.cc428 oat_file->GetLocation().c_str(), in ReadIndexBssMapping()
449 oat_file->GetLocation().c_str(), in ReadIndexBssMapping()
532 dex_file->GetLocation().c_str(), in Setup()
537 std::string dex_location = dex_file->GetLocation(); in Setup()
581 GetLocation().c_str(), in Setup()
591 GetLocation().c_str(), in Setup()
602 GetLocation().c_str(), in Setup()
615 GetLocation().c_str(), in Setup()
628 GetLocation().c_str(), in Setup()
641 GetLocation().c_str(), in Setup()
[all …]
Doat_file_assistant.cc498 *error_msg = StringPrintf("failed to find %s in %s", dex.c_str(), file.GetLocation().c_str()); in DexChecksumUpToDate()
532 VLOG(oat) << "Image checksum test skipped for vdex file " << file.GetLocation(); in GivenOatFileStatus()
541 file.GetLocation(), in GivenOatFileStatus()
552 !LocationIsTrusted(file.GetLocation(), !GetRuntimeOptions().deny_art_apex_data_files) && in GivenOatFileStatus()
869 VLOG(oat) << "Failed to verify checksums of oat file " << oat_file.GetLocation() in ValidateBootClassPathChecksums()
961 std::string art_file = ReplaceFileExtension(oat_file->GetLocation(), "art"); in OpenImageSpace()
1013 VLOG(oat) << file->GetLocation() << " is " << status_ << " with filter " in Status()
1347 *out_odex_location = oat_file->GetLocation(); in GetOptimizationStatus()
/art/runtime/native/
Djava_lang_VMClassLoader.cc137 return !DexFileLoader::IsMultiDexLocation(dex_file->GetLocation().c_str()); in VMClassLoader_getBootClassPathEntries()
148 CHECK_EQ(DexFileLoader::GetBaseLocation(dex_file->GetLocation().c_str()), in VMClassLoader_getBootClassPathEntries()
149 dex_file->GetLocation()); in VMClassLoader_getBootClassPathEntries()
152 CHECK_EQ(DexFileLoader::GetBaseLocation(dex_file->GetLocation().c_str()), in VMClassLoader_getBootClassPathEntries()
153 DexFileLoader::GetBaseLocation(last_dex_file->GetLocation().c_str())); in VMClassLoader_getBootClassPathEntries()
159 auto get_location = [](const DexFile* dex_file) { return dex_file->GetLocation(); }; in VMClassLoader_getBootClassPathEntries()
/art/libdexfile/dex/
Ddex_file.h238 const std::string& GetLocation() const { in GetLocation() function
249 DCHECK(header_ != nullptr) << GetLocation(); in GetHeader()
276 DCHECK(header_ != nullptr) << GetLocation(); in NumStringIds()
282 DCHECK_LT(idx.index_, NumStringIds()) << GetLocation(); in GetStringId()
287 CHECK_GE(&string_id, string_ids_) << GetLocation(); in GetIndexForStringId()
288 CHECK_LT(&string_id, string_ids_ + header_->string_ids_size_) << GetLocation(); in GetIndexForStringId()
318 DCHECK(header_ != nullptr) << GetLocation(); in NumTypeIds()
328 DCHECK_LT(idx.index_, NumTypeIds()) << GetLocation(); in GetTypeId()
333 CHECK_GE(&type_id, type_ids_) << GetLocation(); in GetIndexForTypeId()
334 CHECK_LT(&type_id, type_ids_ + header_->type_ids_size_) << GetLocation(); in GetIndexForTypeId()
[all …]
Dart_dex_file_loader_test.cc107 EXPECT_EQ(java_lang_dex_file_->GetLocation(), dex_locations[0]); in TEST_F()
124 EXPECT_EQ(dexes[0]->GetLocation(), DexFileLoader::GetMultiDexLocation(0, multidex_file.c_str())); in TEST_F()
125 EXPECT_EQ(dexes[0]->GetLocation(), dex_locations[0]); in TEST_F()
128 EXPECT_EQ(dexes[1]->GetLocation(), DexFileLoader::GetMultiDexLocation(1, multidex_file.c_str())); in TEST_F()
129 EXPECT_EQ(dexes[1]->GetLocation(), dex_locations[1]); in TEST_F()
Dtest_dex_file_builder_test.cc34 EXPECT_STREQ(dex_location, dex_file->GetLocation().c_str()); in TEST()
Ddex_file.cc120 CHECK(begin_ != nullptr) << GetLocation(); in DexFile()
121 CHECK_GT(size_, 0U) << GetLocation(); in DexFile()
166 oss << "Unrecognized magic number in " << GetLocation() << ":" in CheckMagicAndVersion()
176 oss << "Unrecognized version number in " << GetLocation() << ":" in CheckMagicAndVersion()
638 dex_file.GetLocation().c_str(), in operator <<()
/art/dex2oat/
Ddex2oat_vdex_test.cc115 const std::string& str = dex_file->GetLocation(); in GetFilename()
150 ASSERT_TRUE(RunDex2oat(dex_file->GetLocation(), GetOdex(dex_file), &api_dex_location)); in TEST_F()
178 ASSERT_TRUE(RunDex2oat(dex_file->GetLocation(), GetOdex(dex_file), nullptr, false, extra_args)); in TEST_F()
203 ASSERT_TRUE(RunDex2oat(dex_file->GetLocation(), in TEST_F()
216 ASSERT_TRUE(RunDex2oat(dex_file->GetLocation(), in TEST_F()
234 CreateDexMetadata(dex_file->GetLocation(), dm_file); in TEST_F()
239 ASSERT_TRUE(RunDex2oat(dex_file->GetLocation(), in TEST_F()
254 ASSERT_TRUE(RunDex2oat(dex_file->GetLocation(), in TEST_F()
268 ASSERT_FALSE(RunDex2oat(dex_file2->GetLocation(), in TEST_F()
Ddex2oat_test.cc1092 std::string context = "PCL[" + dex_files[0]->GetLocation() + "]"; in TEST_F()
1093 std::string expected_classpath_key = "PCL[" + dex_files[0]->GetLocation() + "*" + in TEST_F()
1297 {dex->GetLocation()}, in TEST_F()
1310 dex->GetLocation(), in TEST_F()
1464 const int res_fail = GenerateOdexForTestWithStatus({dex->GetLocation()}, in TEST_F()
1471 const int res_no_fail = GenerateOdexForTestWithStatus({dex->GetLocation()}, in TEST_F()
1488 GenerateOdexForTest(dex->GetLocation(), in TEST_F()
1498 ASSERT_TRUE(GenerateOdexForTest(dex->GetLocation(), in TEST_F()
1514 ASSERT_TRUE(GenerateOdexForTest(dex->GetLocation(), in TEST_F()
1761 const std::string dex_location = dex->GetLocation(); in TEST_F()
[all …]
/art/libelffile/stream/
Derror_delaying_output_stream.h32 : OutputStream(output->GetLocation()), in ErrorDelayingOutputStream()
43 << " bytes to " << GetLocation() << " at offset " << output_offset_; in WriteFully()
71 PLOG(ERROR) << "Failed to seek in " << GetLocation() << ". Offset=" << offset in Seek()
Doutput_stream.h40 const std::string& GetLocation() const { in GetLocation() function
Dbuffered_output_stream.cc24 : OutputStream(out->GetLocation()), // Before out is moved to out_. in BufferedOutputStream()
/art/libprofile/profile/
Dprofile_boot_info_test.cc59 ASSERT_STREQ(loaded_info.GetDexFiles()[0]->GetLocation().c_str(), dex->GetLocation().c_str()); in TEST_F()
84 ASSERT_STREQ(loaded_info.GetDexFiles()[0]->GetLocation().c_str(), in TEST_F()
85 dex_files[0]->GetLocation().c_str()); in TEST_F()
Dprofile_boot_info.cc45 AddUintToBuffer(&buffer, static_cast<uint8_t>(dex_file->GetLocation().size())); in Save()
46 AddStringToBuffer(&buffer, dex_file->GetLocation()); in Save()
95 std::string dex_location = file->GetLocation(); in Load()
/art/dex2oat/linker/
Doat_writer.cc119 : OutputStream(out->GetLocation()), out_(out), writer_(writer) { } in ChecksumUpdatingOutputStream()
250 const char* GetLocation() const { in GetLocation() function in art::linker::OatWriter::OatDexFile
547 locations.push_back(oat_dex_file.GetLocation()); in GetSourceLocations()
1862 << method_ref.PrettyMethod() << " to " << out_->GetLocation(); in ReportWriteFailure()
2452 PLOG(ERROR) << "Failed to retrieve current position in " << out->GetLocation(); in WriteRodata()
2463 PLOG(ERROR) << "Failed to write class offsets to " << out->GetLocation(); in WriteRodata()
2469 PLOG(ERROR) << "Failed to write classes to " << out->GetLocation(); in WriteRodata()
2475 PLOG(ERROR) << "Failed to write method bss mappings to " << out->GetLocation(); in WriteRodata()
2481 PLOG(ERROR) << "Failed to write oat code to " << out->GetLocation(); in WriteRodata()
2487 PLOG(ERROR) << "Failed to write oat dex information to " << out->GetLocation(); in WriteRodata()
[all …]
Doat_writer_test.cc119 dex_file->GetLocation().c_str(), in WriteElf()
295 ASSERT_EQ(dex_file_data->GetLocation(), opened_dex_file->GetLocation()); in CheckOatWriteResult()
467 const OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(), in TEST_F()
795 opened_dex_file1->GetLocation()); in TestZipFileInput()
802 opened_dex_file2->GetLocation()); in TestZipFileInput()
844 opened_dex_file1->GetLocation()); in TestZipFileInput()
851 opened_dex_file2->GetLocation()); in TestZipFileInput()
/art/test/172-app-image-twice/
Ddebug_print_class.cc28 LOG(ERROR) << "klass: " << klass.Ptr() << " dex_file: " << klass->GetDexFile().GetLocation() in Java_Main_debugPrintClass()
/art/openjdkjvmti/
Dti_breakpoint.h67 jlocation GetLocation() const { in GetLocation() function
Dti_class_loader.cc70 dex_file->GetLocation(), dex_file->GetLocation(), {dex_file}); in AddToClassLoader()
Dti_breakpoint.cc85 orig_method, JvmtiBreakpointReflectionSource(it.GetLocation(), orig_method)); in VisitReflectiveTargets()
87 updated_breakpoints.push_back({ Breakpoint { am, it.GetLocation() }, it }); in VisitReflectiveTargets()
/art/test/596-app-images/
Dapp_images.cc68 check_name(image_space->GetOatFile()->GetLocation(), image_name.c_str())) { in Java_Main_checkAppImageLoaded()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h65 error_ss << separator << df << "(" << df->GetLocation() << ")"; in GetResolvedMethodErrorString()
78 << inlined_method->GetDexFile()->GetLocation() << "/" in GetResolvedMethodErrorString()
84 << dex_cache->GetDexFile()->GetLocation() << "/" in GetResolvedMethodErrorString()
91 << parent_method->GetDexFile()->GetLocation() << "/" in GetResolvedMethodErrorString()
94 << outer_method->GetDexFile()->GetLocation() << "/" in GetResolvedMethodErrorString()
/art/libartbase/base/
Dcommon_art_test.cc575 std::string classpath = dex_files[0]->GetLocation(); in CreateClassPath()
577 classpath += ":" + dex_files[i]->GetLocation(); in CreateClassPath()
585 std::string classpath = dex_files[0]->GetLocation() + "*" + in CreateClassPathWithChecksums()
588 classpath += ":" + dex_files[i]->GetLocation() + "*" + in CreateClassPathWithChecksums()

1234