Home
last modified time | relevance | path

Searched refs:delete_dir_contents_and_dir (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp301 ASSERT_EQ(0, delete_dir_contents_and_dir(rollback_ce_base_dir, true)); in TearDown()
302 ASSERT_EQ(0, delete_dir_contents_and_dir(rollback_de_base_dir, true)); in TearDown()
307 ASSERT_EQ(0, delete_dir_contents_and_dir("/data/local/tmp/user/0", true)); in TearDown()
387 ASSERT_EQ(0, delete_dir_contents_and_dir(another_fake_package_ce_path, true)); in TEST_F()
388 ASSERT_EQ(0, delete_dir_contents_and_dir(another_fake_package_de_path, true)); in TEST_F()
437 ASSERT_EQ(0, delete_dir_contents_and_dir(fake_package_ce_path, true)); in TEST_F()
438 ASSERT_EQ(0, delete_dir_contents_and_dir(fake_package_de_path, true)); in TEST_F()
Dinstalld_utils_test.cpp595 delete_dir_contents_and_dir(rollback_ce_path, true /* ignore_if_missing */); in TEST_F()
627 delete_dir_contents_and_dir("/data/local/tmp/user/0", true /* ignore_if_missing */); in TEST_F()
/frameworks/native/cmds/installd/
Dutils_default.cpp26 return delete_dir_contents_and_dir(package_dir); in rm_package_dir()
DInstalldNativeService.cpp553 if (delete_dir_contents_and_dir(target) != 0) { in migrateAppData()
672 return delete_dir_contents_and_dir( in destroy_app_reference_profile()
678 return delete_dir_contents_and_dir( in destroy_app_current_profiles()
714 if (delete_dir_contents_and_dir(path) != 0) { in destroyAppData()
720 if (delete_dir_contents_and_dir(path) != 0) { in destroyAppData()
751 if (delete_dir_contents_and_dir(path, true) != 0) { in destroyAppData()
756 if (delete_dir_contents_and_dir(path, true) != 0) { in destroyAppData()
760 if (delete_dir_contents_and_dir(path, true) != 0) { in destroyAppData()
1067 delete_dir_contents_and_dir(from_ce, true /* ignore_if_missing */); in restoreAppDataSnapshot()
1084 delete_dir_contents_and_dir(from_de, true /* ignore_if_missing */); in restoreAppDataSnapshot()
[all …]
Dutils.h118 int delete_dir_contents_and_dir(const std::string& pathname, bool ignore_if_missing = false);
Dutils.cpp570 int delete_dir_contents_and_dir(const std::string& pathname, bool ignore_if_missing) { in delete_dir_contents_and_dir() function