Searched refs:DeleteDirContent (Results 1 – 5 of 5) sorted by relevance
51 TEST(ApexdUtilTest, DeleteDirContent) { in TEST() argument63 auto del_result = DeleteDirContent(root_dir.path); in TEST()
388 DeleteDirContent(kActiveApexPackagesDataDir); in CleanUp()389 DeleteDirContent(kApexBackupDir); in CleanUp()390 DeleteDirContent(kApexHashTreeDir); in CleanUp()391 DeleteDirContent(GetSessionsDir()); in CleanUp()1249 DeleteDirContent(kActiveApexPackagesDataDir); in TEST_F()
114 inline android::base::Result<void> DeleteDirContent(const std::string& path) { in DeleteDirContent() function
989 return DeleteDirContent(std::string(kApexBackupDir)); in DeleteBackup()1030 auto result = DeleteDirContent(std::string(kApexBackupDir)); in BackupActivePackages()1072 DeleteDirContent(std::string(gConfig->active_apex_data_dir)); in RestoreActivePackages()2876 if (auto ret = DeleteDirContent(gConfig->ota_reserved_dir); !ret.ok()) { in ProcessCompressedApex()
274 DeleteDirContent(GetSessionsDir()); in SetUp()277 void TearDown() override { DeleteDirContent(GetSessionsDir()); } in TearDown()840 DeleteDirContent(staged_dir); in TEST_F()4564 DeleteDirContent(GetStagedDir(123)); in TEST_F()