Searched refs:DeleteDirContent (Results 1 – 5 of 5) sorted by relevance
49 TEST(ApexdUtilTest, DeleteDirContent) { in TEST() argument61 auto del_result = DeleteDirContent(root_dir.path); in TEST()
453 DeleteDirContent(kActiveApexPackagesDataDir); in CleanUp()454 DeleteDirContent(kApexBackupDir); in CleanUp()455 DeleteDirContent(kApexHashTreeDir); in CleanUp()456 DeleteDirContent(ApexSession::GetSessionsDir()); in CleanUp()2213 DeleteDirContent(kActiveApexPackagesDataDir); in TEST_F()3071 DeleteDirContent(kTempPrebuiltDir); in TearDown()3073 DeleteDirContent(kApexDecompressedDir); in TearDown()3074 DeleteDirContent(kActiveApexPackagesDataDir); in TearDown()
157 inline android::base::Result<void> DeleteDirContent(const std::string& path) { in DeleteDirContent() function
890 return DeleteDirContent(std::string(kApexBackupDir)); in DeleteBackup()931 auto result = DeleteDirContent(std::string(kApexBackupDir)); in BackupActivePackages()973 DeleteDirContent(std::string(gConfig->active_apex_data_dir)); in RestoreActivePackages()2665 if (auto ret = DeleteDirContent(gConfig->ota_reserved_dir); !ret.ok()) { in ProcessCompressedApex()
197 DeleteDirContent(ApexSession::GetSessionsDir()); in SetUp()200 void TearDown() override { DeleteDirContent(ApexSession::GetSessionsDir()); } in TearDown()3494 DeleteDirContent(GetStagedDir(123)); in TEST_F()