Home
last modified time | relevance | path

Searched refs:artifacts_path (Results 1 – 4 of 4) sorted by relevance

/art/artd/
Dpath_utils.cc160 Result<RawArtifactsPath> BuildArtifactsPath(const ArtifactsPath& artifacts_path) { in BuildArtifactsPath() argument
161 OR_RETURN(ValidateDexPath(artifacts_path.dexPath)); in BuildArtifactsPath()
163 InstructionSet isa = GetInstructionSetFromString(artifacts_path.isa.c_str()); in BuildArtifactsPath()
165 return Errorf("Instruction set '{}' is invalid", artifacts_path.isa); in BuildArtifactsPath()
170 if (artifacts_path.isInDalvikCache) { in BuildArtifactsPath()
172 if (!OatFileAssistant::DexLocationToOatFilename(artifacts_path.dexPath, in BuildArtifactsPath()
181 artifacts_path.dexPath, isa, &path.oat_path, &error_msg)) { in BuildArtifactsPath()
189 if (artifacts_path.isPreReboot) { in BuildArtifactsPath()
325 bool PreRebootFlag(const ArtifactsPath& artifacts_path) { return artifacts_path.isPreReboot; } in PreRebootFlag() argument
Dpath_utils.h60 const aidl::com::android::server::art::ArtifactsPath& artifacts_path);
127 bool PreRebootFlag(const aidl::com::android::server::art::ArtifactsPath& artifacts_path);
Dartd.cc1000 RawArtifactsPath artifacts_path = in dexopt() local
1068 OR_RETURN_NON_FATAL(NewFile::Create(artifacts_path.oat_path, fs_permission)); in dexopt()
1069 args.Add("--oat-fd=%d", oat_file->Fd()).Add("--oat-location=%s", artifacts_path.oat_path); in dexopt()
1073 OR_RETURN_NON_FATAL(NewFile::Create(artifacts_path.vdex_path, fs_permission)); in dexopt()
1082 art_file = OR_RETURN_NON_FATAL(NewFile::Create(artifacts_path.art_path, fs_permission)); in dexopt()
1088 files_to_delete.push_back(artifacts_path.art_path); in dexopt()
1093 std::string swap_file_path = ART_FORMAT("{}.swap", artifacts_path.oat_path); in dexopt()
Dartd_test.cc574 RawArtifactsPath artifacts_path = OR_FATAL(BuildArtifactsPath(artifacts_path_)); in InitFilesBeforeDexopt() local
575 CreateFile(artifacts_path.oat_path, "old_oat"); in InitFilesBeforeDexopt()
576 CreateFile(artifacts_path.vdex_path, "old_vdex"); in InitFilesBeforeDexopt()
577 CreateFile(artifacts_path.art_path, "old_art"); in InitFilesBeforeDexopt()