Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/filesystem/
Dfile_scanner.cc41 FileScanner::FileScanner(std::vector<std::string> root_directories, in FileScanner() function in perfetto::FileScanner
51 FileScanner::FileScanner(std::vector<std::string> root_directories, in FileScanner() function in perfetto::FileScanner
53 : FileScanner(std::move(root_directories), in FileScanner()
58 void FileScanner::Scan() { in Scan()
63 void FileScanner::Scan(base::TaskRunner* task_runner) { in Scan()
78 void FileScanner::NextDirectory() { in NextDirectory()
105 void FileScanner::Step() { in Step()
145 void FileScanner::Steps(uint32_t n) { in Steps()
150 bool FileScanner::Done() { in Done()
154 FileScanner::Delegate::~Delegate() = default;
Dfile_scanner.h30 class FileScanner {
42 FileScanner(std::vector<std::string> root_directories,
48 FileScanner(std::vector<std::string> root_directories, Delegate* delegate);
50 FileScanner(const FileScanner&) = delete;
51 FileScanner& operator=(const FileScanner&) = delete;
70 base::WeakPtrFactory<FileScanner> weak_factory_; // Keep last.
Dfile_scanner_unittest.cc36 class TestDelegate : public FileScanner::Delegate {
109 FileScanner fs({"src/traced/probes/filesystem/testdata"}, &delegate); in TEST()
127 FileScanner fs({"src/traced/probes/filesystem/testdata"}, &delegate, 1, 1); in TEST()
146 FileScanner fs({"src/traced/probes/filesystem/testdata"}, &delegate); in TEST()
173 FileScanner fs({"src/traced/probes/filesystem/testdata"}, &delegate, 1, 1); in TEST()
Dinode_file_data_source.h53 public FileScanner::Delegate {
131 std::unique_ptr<FileScanner> file_scanner_;
Dinode_file_data_source.cc66 class StaticMapDelegate : public FileScanner::Delegate {
98 FileScanner scanner({root_directory}, &delegate); in CreateStaticDeviceToInodeMap()
390 file_scanner_ = std::unique_ptr<FileScanner>(new FileScanner( in FindMissingInodes()