Home
last modified time | relevance | path

Searched refs:ReadFileIntoString (Results 1 – 10 of 10) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dftrace_procfs_unittest.cc38 MOCK_CONST_METHOD1(ReadFileIntoString, std::string(const std::string& path));
45 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
50 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
54 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
58 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
62 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
67 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
72 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
77 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
81 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
[all …]
Dftrace_config_muxer_unittest.cc57 MOCK_CONST_METHOD1(ReadFileIntoString, std::string(const std::string& path));
192 ON_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
194 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
262 ON_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
264 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
365 ON_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
367 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
479 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
482 ON_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
487 ON_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
[all …]
Dftrace_procfs.cc107 return ReadFileIntoString(path); in ReadEventFormat()
112 return ReadFileIntoString(path); in ReadPageHeaderFormat()
117 return ReadFileIntoString(path); in ReadCpuStats()
186 std::string s = ReadFileIntoString(path); in GetClock()
201 std::string s = ReadFileIntoString(path); in AvailableClocks()
271 std::string FtraceProcfs::ReadFileIntoString(const std::string& path) const { in ReadFileIntoString() function in perfetto::FtraceProcfs
Dftrace_controller_unittest.cc142 ON_CALL(*this, ReadFileIntoString("/root/trace_clock")) in MockFtraceProcfs()
144 EXPECT_CALL(*this, ReadFileIntoString("/root/trace_clock")) in MockFtraceProcfs()
147 ON_CALL(*this, ReadFileIntoString("/root/per_cpu/cpu0/stats")) in MockFtraceProcfs()
149 EXPECT_CALL(*this, ReadFileIntoString("/root/per_cpu/cpu0/stats")) in MockFtraceProcfs()
152 ON_CALL(*this, ReadFileIntoString("/root/events//not_an_event/format")) in MockFtraceProcfs()
154 EXPECT_CALL(*this, ReadFileIntoString("/root/events//not_an_event/format")) in MockFtraceProcfs()
157 ON_CALL(*this, ReadFileIntoString("/root/events/group/bar/format")) in MockFtraceProcfs()
159 EXPECT_CALL(*this, ReadFileIntoString("/root/events/group/bar/format")) in MockFtraceProcfs()
192 MOCK_CONST_METHOD1(ReadFileIntoString, std::string(const std::string& path));
Dftrace_procfs.h106 virtual std::string ReadFileIntoString(const std::string& path) const;
Dcpu_reader_unittest.cc90 MOCK_CONST_METHOD1(ReadFileIntoString, std::string(const std::string& path));
/external/skqp/tools/copyright/
Dmain.py42 old_file_contents = ReadFileIntoString(filepath)
85 def ReadFileIntoString(filepath): function
/external/skia/tools/copyright/
Dmain.py42 old_file_contents = ReadFileIntoString(filepath)
85 def ReadFileIntoString(filepath): function
/external/perfetto/tools/dump_ftrace_stats/
Dmain.cc48 std::string ReadFileIntoString(const std::string& path) { in ReadFileIntoString() function
61 return ReadFileIntoString(path); in ReadCpuStats()
/external/gflags/src/
Dgflags.cc1015 static string ReadFileIntoString(const char* filename) { in ReadFileIntoString() function
1131 msg += ProcessOptionsFromStringLocked(ReadFileIntoString(file), set_mode); in ProcessFlagfileLocked()
1830 return ReadFlagsFromString(ReadFileIntoString(filename.c_str()), in ReadFromFlagsFile()