Home
last modified time | relevance | path

Searched refs:CacheLocation (Results 1 – 6 of 6) sorted by relevance

/bootable/recovery/otautil/
Dcache_location.cpp23 CacheLocation& CacheLocation::location() { in location()
24 static CacheLocation cache_location; in location()
28 CacheLocation::CacheLocation() in CacheLocation() function in CacheLocation
/bootable/recovery/otautil/include/otautil/
Dcache_location.h26 class CacheLocation {
28 static CacheLocation& location();
53 CacheLocation();
54 DISALLOW_COPY_AND_ASSIGN(CacheLocation);
/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()