Home
last modified time | relevance | path

Searched refs:Get (Results 1 – 18 of 18) sorted by relevance

/bootable/recovery/updater/
Dupdate_simulator_main.cpp134 Paths::Get().set_cache_temp_source(temp_saved_source.path); in main()
135 Paths::Get().set_last_command_file(temp_last_command.path); in main()
136 Paths::Get().set_stash_directory_base(temp_stash_base.path); in main()
Ddynamic_partitions.cpp105 std::string updated_marker = Paths::Get().stash_directory_base() + kMetadataUpdatedMarker; in UpdateDynamicPartitionsFn()
Dblockimg.cpp85 const std::string& last_command_file = Paths::Get().last_command_file(); in DeleteLastCommandFile()
94 const std::string& last_command_file = Paths::Get().last_command_file(); in ParseLastCommandFile()
144 const std::string& last_command_file = Paths::Get().last_command_file(); in UpdateLastCommandIndex()
678 std::string filename = Paths::Get().stash_directory_base() + "/" + base; in GetStashFileName()
/bootable/recovery/recovery_utils/
Dlogging.cpp214 copy_log_file_to_pmsg(Paths::Get().temporary_log_file(), LAST_LOG_FILE); in copy_logs()
215 copy_log_file_to_pmsg(Paths::Get().temporary_install_file(), LAST_INSTALL_FILE); in copy_logs()
227 copy_log_file(Paths::Get().temporary_log_file(), LOG_FILE, true); in copy_logs()
228 copy_log_file(Paths::Get().temporary_log_file(), LAST_LOG_FILE, false); in copy_logs()
229 copy_log_file(Paths::Get().temporary_install_file(), LAST_INSTALL_FILE, false); in copy_logs()
/bootable/recovery/applypatch/
Dfreecache.cpp96 if (path == Paths::Get().cache_temp_source()) { in FindExpendableFiles()
162 std::vector<std::string> dirs{ "/cache", Paths::Get().cache_log_directory() }; in CheckAndFreeSpaceOnCache()
203 if (dirname == Paths::Get().cache_log_directory()) { in RemoveFilesInDirectory()
Dapplypatch.cpp100 if (LoadFileContents(Paths::Get().cache_temp_source(), out) && in ReadPartitionToBuffer()
358 if (backup_source && !SaveFileContents(Paths::Get().cache_temp_source(), &source_file)) { in GenerateTarget()
419 unlink(Paths::Get().cache_temp_source().c_str()); in GenerateTarget()
/bootable/recovery/tests/unit/
Dapplypatch_test.cpp69 Paths::Get().set_cache_temp_source(cache_temp_source.path); in SetUp()
121 Paths::Get().set_cache_temp_source(source_file); in TEST_F()
130 Paths::Get().set_cache_temp_source(target_file); in TEST_F()
189 Paths::Get().set_cache_log_directory(mock_log_dir.path); in SetUp()
Dscreen_ui_test.cpp358 Paths::Get().set_resource_dir(testdata_dir_); in SetUp()
538 Paths::Get().set_resource_dir(resource_dir.path); in TEST_F()
556 Paths::Get().set_resource_dir("/proc/self"); in TEST_F()
Dapplypatch_modes_test.cpp68 Paths::Get().set_cache_temp_source(cache_source_.path); in SetUp()
Dinstall_test.cpp125 Paths::Get().set_temporary_update_binary(binary_path); in TEST()
164 Paths::Get().set_temporary_update_binary(std::string(td.path) + "/update_binary"); in TEST()
Dupdater_test.cpp145 Paths::Get().set_cache_temp_source(temp_saved_source_.path); in SetUp()
146 Paths::Get().set_last_command_file(temp_last_command_.path); in SetUp()
147 Paths::Get().set_stash_directory_base(temp_stash_base_.path); in SetUp()
/bootable/recovery/tests/unit/host/
Dupdate_simulator_test.cpp85 Paths::Get().set_cache_temp_source(temp_saved_source.path); in RunSimulation()
86 Paths::Get().set_last_command_file(temp_last_command.path); in RunSimulation()
87 Paths::Get().set_stash_directory_base(temp_stash_base.path); in RunSimulation()
/bootable/recovery/otautil/
Dpaths.cpp28 Paths& Paths::Get() { in Get() function in Paths
/bootable/recovery/otautil/include/otautil/
Dpaths.h28 static Paths& Get();
/bootable/recovery/
Drecovery.cpp243 if (access(Paths::Get().temporary_log_file().c_str(), R_OK) == -1) { in choose_recovery_file()
246 entries.push_back(Paths::Get().temporary_log_file()); in choose_recovery_file()
584 const std::string& install_file = Paths::Get().temporary_install_file(); in log_failure_code()
Drecovery_main.cpp337 redirect_stdio(Paths::Get().temporary_log_file().c_str()); in main()
/bootable/recovery/install/
Dinstall.cpp287 const std::string binary_path = Paths::Get().temporary_update_binary(); in SetUpNonAbUpdateCommands()
622 const std::string& install_file = Paths::Get().temporary_install_file(); in InstallPackage()
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp961 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(Paths::Get().resource_dir().c_str()), in LoadAnimation()