Home
last modified time | relevance | path

Searched refs:data_path (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/cmds/installd/
Dinstalld.cpp168 const char* data_path = getenv("ANDROID_DATA"); in initialize_globals() local
169 if (data_path == nullptr) { in initialize_globals()
179 return init_globals_from_data_and_root(data_path, root_path); in initialize_globals()
Dutils.h117 int64_t data_disk_free(const std::string& data_path);
Dutils.cpp632 int64_t data_disk_free(const std::string& data_path) { in data_disk_free() argument
634 if (statvfs(data_path.c_str(), &sfs) == 0) { in data_disk_free()
637 PLOG(ERROR) << "Couldn't statvfs " << data_path; in data_disk_free()
DInstalldNativeService.cpp925 auto data_path = create_data_path(uuid_); in freeCache() local
929 int64_t free = data_disk_free(data_path); in freeCache()
931 return error("Failed to determine free space for " + data_path); in freeCache()
936 LOG(DEBUG) << "Device " << data_path << " has " << free << " free; requested " in freeCache()
1063 free = data_disk_free(data_path); in freeCache()
1078 free = data_disk_free(data_path); in freeCache()
1083 targetFreeBytes, data_path.c_str(), free)); in freeCache()