Home
last modified time | relevance | path

Searched refs:RemoveFilesInDirectory (Results 1 – 3 of 3) sorted by relevance

/aosp12/bootable/recovery/tests/unit/
H A Dapplypatch_test.cpp219 ASSERT_TRUE(RemoveFilesInDirectory(4096 * 9, mock_cache.path, MockFreeSpaceChecker)); in TEST_F()
232 RemoveFilesInDirectory(4096 * 9, mock_cache.path, [](const std::string&) { return -1; })); in TEST_F()
245 ASSERT_FALSE(RemoveFilesInDirectory(4096 * 10, mock_cache.path, MockFreeSpaceChecker)); in TEST_F()
256 ASSERT_TRUE(RemoveFilesInDirectory(4096 * 8, mock_log_dir.path, MockFreeSpaceChecker)); in TEST_F()
270 ASSERT_TRUE(RemoveFilesInDirectory(4096 * 9, mock_log_dir.path, MockFreeSpaceChecker)); in TEST_F()
285 ASSERT_FALSE(RemoveFilesInDirectory(4096 * 8, mock_log_dir.path, MockFreeSpaceChecker)); in TEST_F()
/aosp12/bootable/recovery/applypatch/
H A Dfreecache.cpp164 if (RemoveFilesInDirectory(bytes, dirname, FreeSpaceForFile)) { in CheckAndFreeSpaceOnCache()
172 bool RemoveFilesInDirectory(size_t bytes_needed, const std::string& dirname, in RemoveFilesInDirectory() function
/aosp12/bootable/recovery/applypatch/include/applypatch/
H A Dapplypatch.h129 bool RemoveFilesInDirectory(size_t bytes_needed, const std::string& dirname,