Home
last modified time | relevance | path

Searched refs:location (Results 1 – 7 of 7) sorted by relevance

/bootable/recovery/otautil/
Dcache_location.cpp23 CacheLocation& CacheLocation::location() { in location() function in CacheLocation
/bootable/recovery/updater/
Dinstall.cpp351 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/
Dcache_location.h28 static CacheLocation& location();
/bootable/recovery/applypatch/
Dapplypatch.cpp406 if (LoadFileContents(CacheLocation::location().cache_temp_source().c_str(), &file) != 0) { in applypatch_check()
528 if (LoadFileContents(CacheLocation::location().cache_temp_source().c_str(), &copy_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()
Dfreecache.cpp96 if (path == CacheLocation::location().cache_temp_source()) { in FindExpendableFiles()
/bootable/recovery/tests/component/
Dupdater_test.cpp110 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()
Dapplypatch_test.cpp100 CacheLocation::location().set_cache_temp_source(old_file); in SetUp()
107 CacheLocation::location().set_cache_temp_source(cache_source.path); in SetUp()