Home
last modified time | relevance | path

Searched refs:DeleteDirContent (Results 1 – 5 of 5) sorted by relevance

/system/apex/apexd/
Dapexd_utils_test.cpp49 TEST(ApexdUtilTest, DeleteDirContent) { in TEST() argument
61 auto del_result = DeleteDirContent(root_dir.path); in TEST()
Dapexservice_test.cpp453 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()
Dapexd_utils.h157 inline android::base::Result<void> DeleteDirContent(const std::string& path) { in DeleteDirContent() function
Dapexd.cpp890 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()
Dapexd_test.cpp197 DeleteDirContent(ApexSession::GetSessionsDir()); in SetUp()
200 void TearDown() override { DeleteDirContent(ApexSession::GetSessionsDir()); } in TearDown()
3494 DeleteDirContent(GetStagedDir(123)); in TEST_F()