Searched refs:ClearFile (Results 1 - 6 of 6) sorted by relevance

/external/perfetto/src/ftrace_reader/
H A Dftrace_procfs_unittest.cc37 MOCK_METHOD1(ClearFile, bool(const std::string& path));
H A Dftrace_procfs.h98 virtual bool ClearFile(const std::string& path);
H A Dftrace_controller_unittest.cc152 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true));
180 MOCK_METHOD1(ClearFile, bool(const std::string& path));
310 EXPECT_CALL(*controller->procfs(), ClearFile("/root/trace"))
347 EXPECT_CALL(*controller->procfs(), ClearFile("/root/trace"));
364 EXPECT_CALL(*controller->procfs(), ClearFile("/root/trace"))
378 // For this test we don't care about calls to WriteToFile/ClearFile.
380 EXPECT_CALL(*controller->procfs(), ClearFile(_)).Times(AnyNumber());
424 // For this test we don't care about calls to WriteToFile/ClearFile.
426 EXPECT_CALL(*controller->procfs(), ClearFile(_)).Times(AnyNumber());
465 // For this test we don't care about calls to WriteToFile/ClearFile
[all...]
H A Dftrace_config_muxer_unittest.cc46 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true));
53 MOCK_METHOD1(ClearFile, bool(const std::string& path));
183 EXPECT_CALL(ftrace, ClearFile("/root/trace"));
H A Dftrace_procfs.cc103 PERFETTO_CHECK(ClearFile(path)); // Could not clear.
228 bool FtraceProcfs::ClearFile(const std::string& path) { function in class:perfetto::FtraceProcfs
H A Dftrace_controller.cc83 void ClearFile(const char* path) { function in namespace:perfetto::__anon18648
99 ClearFile("/sys/kernel/debug/tracing/trace");
104 ClearFile("/sys/kernel/tracing/trace");

Completed in 137 milliseconds