Searched refs:free_size (Results 1 - 5 of 5) sorted by relevance
/frameworks/native/cmds/installd/ |
H A D | commands.h | 53 int free_cache(const char *uuid, int64_t free_size);
|
H A D | utils.h | 123 void clear_cache_files(const std::string& data_path, cache_t* cache, int64_t free_size);
|
H A D | commands.cpp | 472 /* Try to ensure free_size bytes of storage are available. 479 int free_cache(const char *uuid, int64_t free_size) { argument 488 ALOGI("free_cache(%" PRId64 ") avail %" PRId64 "\n", free_size, avail); 489 if (avail >= free_size) return 0; 501 clear_cache_files(data_path, cache, free_size); 504 return data_disk_free(data_path) >= free_size ? 0 : -1;
|
H A D | utils.cpp | 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) {
|
/frameworks/native/libs/binder/ |
H A D | MemoryDealer.cpp | 346 const size_t free_size = free_chunk->size; local 349 if (free_size > size) { 363 const ssize_t tail_free = free_size - (size+extra);
|
Completed in 647 milliseconds