Home
last modified time | relevance | path

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

/frameworks/base/services/incremental/
DServiceWrappers.h90 using FileCallback = android::base::function_ref<bool(const Control& control, FileId fileId)>; variable
128 virtual ErrorCode forEachFile(const Control& control, FileCallback cb) const = 0;
129 virtual ErrorCode forEachIncompleteFile(const Control& control, FileCallback cb) const = 0;
172 using FileCallback = android::base::function_ref<bool(std::string_view)>; variable
173 virtual void listFilesRecursive(std::string_view directoryPath, FileCallback onFile) const = 0;
DServiceWrappers.cpp258 ErrorCode forEachFile(const Control& control, FileCallback cb) const final { in forEachFile()
262 ErrorCode forEachIncompleteFile(const Control& control, FileCallback cb) const final { in forEachIncompleteFile()
360 void listFilesRecursive(std::string_view directoryPath, FileCallback onFile) const final { in listFilesRecursive()
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp417 MOCK_CONST_METHOD2(forEachFile, ErrorCode(const Control& control, FileCallback cb));
418 MOCK_CONST_METHOD2(forEachIncompleteFile, ErrorCode(const Control& control, FileCallback cb));
611 MOCK_CONST_METHOD2(listFilesRecursive, void(std::string_view, FileCallback));
617 void fakeFiles(std::string_view directoryPath, FileCallback onFile) { in fakeFiles()