Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dutils.h105 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing = false);
108 int delete_dir_contents(const char *pathname,
Dinstalld.cpp259 delete_dir_contents(keychain_added_dir, 1, 0); in initialize_directories()
262 delete_dir_contents(keychain_removed_dir, 1, 0); in initialize_directories()
Dutils.cpp478 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing) { in delete_dir_contents() function
479 return delete_dir_contents(pathname.c_str(), 0, NULL, ignore_if_missing); in delete_dir_contents()
483 return delete_dir_contents(pathname.c_str(), 1, NULL, ignore_if_missing); in delete_dir_contents_and_dir()
486 int delete_dir_contents(const char *pathname, in delete_dir_contents() function
DInstalldNativeService.cpp520 if (delete_dir_contents(path) != 0) { in clearAppData()
538 if (delete_dir_contents(path) != 0) { in clearAppData()
835 if (delete_dir_contents(to.c_str(), 1, NULL) != 0) { in moveCompleteApp()
842 if (delete_dir_contents(to.c_str(), 1, NULL) != 0) { in moveCompleteApp()
848 if (delete_dir_contents(to.c_str(), 1, NULL) != 0) { in moveCompleteApp()
1907 if (delete_dir_contents(libsymlink, 1, NULL) < 0) { in linkNativeLibraryDirectory()