/bootable/recovery/otautil/ |
D | paths.cpp | 28 Paths& Paths::Get() { in Get() 29 static Paths paths; in Get() 33 Paths::Paths() in Paths() function in Paths
|
D | logging.cpp | 215 copy_log_file_to_pmsg(Paths::Get().temporary_log_file(), LAST_LOG_FILE); in copy_logs() 216 copy_log_file_to_pmsg(Paths::Get().temporary_install_file(), LAST_INSTALL_FILE); in copy_logs() 228 copy_log_file(Paths::Get().temporary_log_file(), LOG_FILE, true, sehandle); in copy_logs() 229 copy_log_file(Paths::Get().temporary_log_file(), LAST_LOG_FILE, false, sehandle); in copy_logs() 230 copy_log_file(Paths::Get().temporary_install_file(), LAST_INSTALL_FILE, false, sehandle); in copy_logs()
|
/bootable/recovery/otautil/include/otautil/ |
D | paths.h | 26 class Paths { 28 static Paths& Get(); 87 Paths(); 88 DISALLOW_COPY_AND_ASSIGN(Paths);
|
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/util/ |
D | FileDownloaderTest.java | 37 import java.nio.file.Paths; 61 File packageFile = Paths in download_downloadsChunkOfZip() 69 File outFile = Paths in download_downloadsChunkOfZip()
|
D | PayloadSpecsTest.java | 43 import java.nio.file.Paths; 76 File packageFile = Paths in forNonStreaming_works()
|
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/services/ |
D | PrepareUpdateService.java | 46 import java.nio.file.Paths; 171 || !Paths.get(OTA_PACKAGE_DIR, PAYLOAD_PROPERTIES_FILE_NAME).toFile().exists()) { in execute() 175 File compatibilityFile = Paths.get(OTA_PACKAGE_DIR, COMPATIBILITY_ZIP_FILE_NAME).toFile(); in execute() 187 Paths.get(OTA_PACKAGE_DIR, PAYLOAD_PROPERTIES_FILE_NAME).toFile()); in execute() 209 Path metadataPath = Paths.get(OTA_PACKAGE_DIR, PackageFiles.PAYLOAD_METADATA_FILE_NAME); in verifyPayloadMetadata() 243 Files.deleteIfExists(Paths.get(OTA_PACKAGE_DIR, file)); in downloadPreStreamingFiles() 253 Paths.get(dir, file.getFilename()).toFile()); in downloadPreStreamingFiles()
|
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/ |
D | UpdateConfigs.java | 27 import java.nio.file.Paths; 53 return Paths in getConfigsRoot()
|
/bootable/recovery/applypatch/ |
D | freecache.cpp | 96 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()
|
D | applypatch.cpp | 100 if (LoadFileContents(Paths::Get().cache_temp_source(), out) && in ReadPartitionToBuffer() 358 if (!SaveFileContents(Paths::Get().cache_temp_source(), &source_file)) { in GenerateTarget() 418 unlink(Paths::Get().cache_temp_source().c_str()); in GenerateTarget()
|
/bootable/recovery/tests/unit/ |
D | applypatch_test.cpp | 69 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()
|
D | screen_ui_test.cpp | 358 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()
|
/bootable/recovery/tests/component/ |
D | applypatch_modes_test.cpp | 68 Paths::Get().set_cache_temp_source(cache_source_.path); in SetUp()
|
D | updater_test.cpp | 173 Paths::Get().set_cache_temp_source(temp_saved_source_.path); in SetUp() 174 Paths::Get().set_last_command_file(temp_last_command_.path); in SetUp() 175 Paths::Get().set_stash_directory_base(temp_stash_base_.path); in SetUp() 1003 Paths::Get().set_cache_temp_source(temp_saved_source_.path); in SetUp() 1004 Paths::Get().set_last_command_file(temp_last_command_.path); in SetUp() 1005 Paths::Get().set_stash_directory_base(temp_stash_base_.path); in SetUp()
|
D | install_test.cpp | 205 Paths::Get().set_temporary_update_binary(binary_path); in TEST() 244 Paths::Get().set_temporary_update_binary(std::string(td.path) + "/update_binary"); in TEST()
|
/bootable/recovery/ |
D | recovery.cpp | 406 if (access(Paths::Get().temporary_log_file().c_str(), R_OK) == -1) { in choose_recovery_file() 409 entries.push_back(Paths::Get().temporary_log_file()); in choose_recovery_file() 716 const std::string& install_file = Paths::Get().temporary_install_file(); in log_failure_code()
|
D | recovery_main.cpp | 331 redirect_stdio(Paths::Get().temporary_log_file().c_str()); in main()
|
/bootable/recovery/install/ |
D | install.cpp | 285 const std::string binary_path = Paths::Get().temporary_update_binary(); in SetUpNonAbUpdateCommands() 700 const std::string& install_file = Paths::Get().temporary_install_file(); in install_package()
|
/bootable/recovery/updater/ |
D | dynamic_partitions.cpp | 352 std::string updated_marker = Paths::Get().stash_directory_base() + kMetadataUpdatedMarker; in UpdateDynamicPartitionsFn()
|
D | blockimg.cpp | 80 const std::string& last_command_file = Paths::Get().last_command_file(); in DeleteLastCommandFile() 89 const std::string& last_command_file = Paths::Get().last_command_file(); in ParseLastCommandFile() 139 const std::string& last_command_file = Paths::Get().last_command_file(); in UpdateLastCommandIndex() 673 std::string filename = Paths::Get().stash_directory_base() + "/" + base; in GetStashFileName()
|
/bootable/recovery/recovery_ui/ |
D | screen_ui.cpp | 926 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(Paths::Get().resource_dir().c_str()), in LoadAnimation()
|