Searched refs:ClearFile (Results 1 - 6 of 6) sorted by relevance
/external/perfetto/src/ftrace_reader/ |
H A D | ftrace_procfs_unittest.cc | 37 MOCK_METHOD1(ClearFile, bool(const std::string& path));
|
H A D | ftrace_procfs.h | 98 virtual bool ClearFile(const std::string& path);
|
H A D | ftrace_controller_unittest.cc | 152 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 D | ftrace_config_muxer_unittest.cc | 46 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 D | ftrace_procfs.cc | 103 PERFETTO_CHECK(ClearFile(path)); // Could not clear. 228 bool FtraceProcfs::ClearFile(const std::string& path) { function in class:perfetto::FtraceProcfs
|
H A D | ftrace_controller.cc | 83 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 226 milliseconds