Searched refs:location (Results 1 – 7 of 7) sorted by relevance
/bootable/recovery/otautil/ |
D | cache_location.cpp | 23 CacheLocation& CacheLocation::location() { in location() function in CacheLocation
|
/bootable/recovery/updater/ |
D | install.cpp | 351 const std::string& location = args[2]; in MountFn() local 366 if (location.empty()) { in MountFn() 390 if (mount(location.c_str(), mount_point.c_str(), fs_type.c_str(), in MountFn() 392 uiPrintf(state, "%s: Failed to mount %s at %s: %s", name, location.c_str(), mount_point.c_str(), in MountFn() 488 const std::string& location = args[2]; in FormatFn() local 499 if (location.empty()) { in FormatFn() 515 location.c_str(), nullptr, nullptr }; in FormatFn() 524 LOG(ERROR) << name << ": mke2fs failed (" << status << ") on " << location; in FormatFn() 529 location.c_str(), nullptr }; in FormatFn() 532 LOG(ERROR) << name << ": e2fsdroid failed (" << status << ") on " << location; in FormatFn() [all …]
|
/bootable/recovery/otautil/include/otautil/ |
D | cache_location.h | 28 static CacheLocation& location();
|
/bootable/recovery/applypatch/ |
D | applypatch.cpp | 406 if (LoadFileContents(CacheLocation::location().cache_temp_source().c_str(), &file) != 0) { in applypatch_check() 528 if (LoadFileContents(CacheLocation::location().cache_temp_source().c_str(), ©_file) < 0) { in applypatch() 623 if (SaveFileContents(CacheLocation::location().cache_temp_source().c_str(), &source_file) < 0) { in GenerateTarget() 669 unlink(CacheLocation::location().cache_temp_source().c_str()); in GenerateTarget()
|
D | freecache.cpp | 96 if (path == CacheLocation::location().cache_temp_source()) { in FindExpendableFiles()
|
/bootable/recovery/tests/component/ |
D | updater_test.cpp | 110 CacheLocation::location().set_cache_temp_source(temp_saved_source_.path); in SetUp() 111 CacheLocation::location().set_last_command_file(temp_last_command_.path); in SetUp() 112 CacheLocation::location().set_stash_directory_base(temp_stash_base_.path); in SetUp()
|
D | applypatch_test.cpp | 100 CacheLocation::location().set_cache_temp_source(old_file); in SetUp() 107 CacheLocation::location().set_cache_temp_source(cache_source.path); in SetUp()
|