Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dinstalld.cpp149 delete_dir_contents(keychain_added_dir, 1, 0); in initialize_directories()
152 delete_dir_contents(keychain_removed_dir, 1, 0); in initialize_directories()
Dutils.h105 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing = false);
108 int delete_dir_contents(const char *pathname,
Dutils.cpp497 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing) { in delete_dir_contents() function
498 return delete_dir_contents(pathname.c_str(), 0, NULL, ignore_if_missing); in delete_dir_contents()
502 return delete_dir_contents(pathname.c_str(), 1, NULL, ignore_if_missing); in delete_dir_contents_and_dir()
505 int delete_dir_contents(const char *pathname, in delete_dir_contents() function
DInstalldNativeService.cpp609 if (delete_dir_contents(path) != 0) { in clearAppData()
630 if (delete_dir_contents(path) != 0) { in clearAppData()
925 if (delete_dir_contents(to.c_str(), 1, NULL) != 0) { in moveCompleteApp()
932 if (delete_dir_contents(to.c_str(), 1, NULL) != 0) { in moveCompleteApp()
938 if (delete_dir_contents(to.c_str(), 1, NULL) != 0) { in moveCompleteApp()
2043 if (delete_dir_contents(libsymlink, 1, NULL) < 0) { in linkNativeLibraryDirectory()