Searched refs:data_path (Results 1 – 4 of 4) sorted by relevance
64 const char* data_path = getenv("ANDROID_DATA"); in init_globals_from_data_and_root() local65 if (data_path == nullptr) { in init_globals_from_data_and_root()74 return init_globals_from_data_and_root(data_path, root_path); in init_globals_from_data_and_root()
151 int64_t data_disk_free(const std::string& data_path);
922 int64_t data_disk_free(const std::string& data_path) { in data_disk_free() argument924 if (statvfs(data_path.c_str(), &sfs) == 0) { in data_disk_free()927 PLOG(ERROR) << "Couldn't statvfs " << data_path; in data_disk_free()
2099 auto data_path = create_data_path(uuid_); in freeCache() local2103 int64_t free = data_disk_free(data_path); in freeCache()2105 return error("Failed to determine free space for " + data_path); in freeCache()2110 LOG(DEBUG) << "Device " << data_path << " has " << free << " free; requested " in freeCache()2267 free = data_disk_free(data_path); in freeCache()2284 free = data_disk_free(data_path); in freeCache()2289 targetFreeBytes, data_path.c_str(), free)); in freeCache()