Searched refs:data_path (Results 1 - 5 of 5) sorted by relevance
/frameworks/native/cmds/installd/ |
H A D | utils.h | 117 int64_t data_disk_free(const std::string& data_path); 121 void add_cache_files(cache_t* cache, const std::string& data_path); 123 void clear_cache_files(const std::string& data_path, cache_t* cache, int64_t free_size);
|
H A D | utils.cpp | 524 int64_t data_disk_free(const std::string& data_path) argument 527 if (statfs(data_path.c_str(), &sfs) == 0) { 530 PLOG(ERROR) << "Couldn't statfs " << data_path; 782 void add_cache_files(cache_t* cache, const std::string& data_path) { argument 787 const char* basepath = data_path.c_str(); 887 void clear_cache_files(const std::string& data_path, cache_t* cache, int64_t free_size) argument 912 if (data_disk_free(data_path) > free_size) {
|
H A D | installd.cpp | 550 const char* data_path = getenv("ANDROID_DATA"); local 551 if (data_path == nullptr) { 561 return init_globals_from_data_and_root(data_path, root_path);
|
H A D | otapreopt.cpp | 604 const char* data_path = getenv("ANDROID_DATA"); local 605 if (data_path == nullptr) { 609 return init_globals_from_data_and_root(data_path, kOTARootDirectory);
|
H A D | commands.cpp | 483 auto data_path = create_data_path(uuid); local 485 avail = data_disk_free(data_path); 501 clear_cache_files(data_path, cache, free_size); 504 return data_disk_free(data_path) >= free_size ? 0 : -1;
|
Completed in 65 milliseconds