Searched refs:delete_dir_contents (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/installd/ |
D | utils.h | 105 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing = false); 108 int delete_dir_contents(const char *pathname,
|
D | utils.cpp | 370 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing) { in delete_dir_contents() function 371 return delete_dir_contents(pathname.c_str(), 0, NULL, ignore_if_missing); in delete_dir_contents() 375 return delete_dir_contents(pathname.c_str(), 1, NULL, ignore_if_missing); in delete_dir_contents_and_dir() 378 int delete_dir_contents(const char *pathname, in delete_dir_contents() function 862 if (delete_dir_contents(path, 1, NULL)) { in delete_cache_dir() 876 delete_dir_contents(path, 0, NULL); in delete_cache_dir()
|
D | commands.cpp | 260 res |= delete_dir_contents(path); in clear_app_data() 267 delete_dir_contents(path); in clear_app_data() 425 if (delete_dir_contents(to.c_str(), 1, NULL) != 0) { in move_complete_app() 432 if (delete_dir_contents(to.c_str(), 1, NULL) != 0) { in move_complete_app() 438 if (delete_dir_contents(to.c_str(), 1, NULL) != 0) { in move_complete_app() 1668 if (delete_dir_contents(libsymlink, 1, NULL) < 0) { in linklib() 1873 return delete_dir_contents(apk_path, 1 /* also_delete_dir */ , NULL /* exclusion_predicate */); in rm_package_dir()
|
D | installd.cpp | 641 delete_dir_contents(keychain_added_dir, 1, 0); in initialize_directories() 644 delete_dir_contents(keychain_removed_dir, 1, 0); in initialize_directories()
|