Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/ftrace/
Dftrace_procfs_unittest.cc37 MOCK_CONST_METHOD1(ReadFileIntoString, std::string(const std::string& path));
44 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
49 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
53 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
57 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
61 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
66 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
71 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
76 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
80 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST()
[all …]
Dftrace_procfs.cc130 return ReadFileIntoString(path); in ReadEventFormat()
135 return ReadFileIntoString(path); in ReadPrintkFormats()
140 std::string s = ReadFileIntoString(path); in ReadEnabledEvents()
154 return ReadFileIntoString(path); in ReadPageHeaderFormat()
159 return ReadFileIntoString(path); in ReadCpuStats()
237 std::string s = ReadFileIntoString(path); in GetClock()
252 std::string s = ReadFileIntoString(path); in AvailableClocks()
322 std::string FtraceProcfs::ReadFileIntoString(const std::string& path) const { in ReadFileIntoString() function in perfetto::FtraceProcfs
Dftrace_controller_unittest.cc106 ON_CALL(*this, ReadFileIntoString("/root/trace_clock")) in MockFtraceProcfs()
108 EXPECT_CALL(*this, ReadFileIntoString("/root/trace_clock")) in MockFtraceProcfs()
111 ON_CALL(*this, ReadFileIntoString("/root/per_cpu/cpu0/stats")) in MockFtraceProcfs()
113 EXPECT_CALL(*this, ReadFileIntoString("/root/per_cpu/cpu0/stats")) in MockFtraceProcfs()
116 ON_CALL(*this, ReadFileIntoString("/root/events//not_an_event/format")) in MockFtraceProcfs()
118 EXPECT_CALL(*this, ReadFileIntoString("/root/events//not_an_event/format")) in MockFtraceProcfs()
121 ON_CALL(*this, ReadFileIntoString("/root/events/group/bar/format")) in MockFtraceProcfs()
123 EXPECT_CALL(*this, ReadFileIntoString("/root/events/group/bar/format")) in MockFtraceProcfs()
156 MOCK_CONST_METHOD1(ReadFileIntoString, std::string(const std::string& path));
Dftrace_config_muxer_unittest.cc56 MOCK_CONST_METHOD1(ReadFileIntoString, std::string(const std::string& path));
203 ON_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
205 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
286 ON_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
288 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
401 ON_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
403 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
741 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
744 ON_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
749 ON_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) in TEST_F()
[all …]
Ddiscover_vendor_tracepoints_unittest.cc61 MOCK_CONST_METHOD1(ReadFileIntoString, std::string(const std::string& path));
Dftrace_procfs.h131 virtual std::string ReadFileIntoString(const std::string& path) const;
Dcpu_reader_unittest.cc103 MOCK_CONST_METHOD1(ReadFileIntoString, std::string(const std::string& path));
/external/skia/tools/copyright/
Dmain.py45 old_file_contents = ReadFileIntoString(filepath)
92 def ReadFileIntoString(filepath): function
/external/skqp/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()