Home
last modified time | relevance | path

Searched refs:tracingSession (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp76 auto tracingSession = perfetto::Tracing::NewTrace(perfetto::kInProcessBackend); in getTracingSessionForTest() local
77 tracingSession->Setup(cfg); in getTracingSessionForTest()
78 return tracingSession; in getTracingSessionForTest()
82 perfetto::TracingSession* tracingSession) { in readGraphicsFramePacketsBlocking() argument
83 std::vector<char> raw_trace = tracingSession->ReadTraceBlocking(); in readGraphicsFramePacketsBlocking()
112 auto tracingSession = getTracingSessionForTest(); in TEST_F() local
113 tracingSession->StartBlocking(); in TEST_F()
119 tracingSession->StopBlocking(); in TEST_F()
130 auto tracingSession = getTracingSessionForTest(); in TEST_F() local
131 tracingSession->StartBlocking(); in TEST_F()
[all …]
DFrameTimelineTest.cpp103 auto tracingSession = perfetto::Tracing::NewTrace(perfetto::kInProcessBackend); in getTracingSessionForTest() local
104 tracingSession->Setup(cfg); in getTracingSessionForTest()
105 return tracingSession; in getTracingSessionForTest()
109 perfetto::TracingSession* tracingSession) { in readFrameTimelinePacketsBlocking() argument
110 std::vector<char> raw_trace = tracingSession->ReadTraceBlocking(); in readFrameTimelinePacketsBlocking()
872 auto tracingSession = getTracingSessionForTest(); in TEST_F() local
892 auto packets = readFrameTimelinePacketsBlocking(tracingSession.get()); in TEST_F()
897 auto tracingSession = getTracingSessionForTest(); in TEST_F() local
902 tracingSession->StartBlocking(); in TEST_F()
922 tracingSession->StopBlocking(); in TEST_F()
[all …]
/frameworks/native/services/gpuservice/tests/unittests/
DGpuMemTracerTest.cpp77 perfetto::TracingSession* tracingSession) { in readGpuMemTotalPacketsBlocking() argument
78 std::vector<char> raw_trace = tracingSession->ReadTraceBlocking(); in readGpuMemTotalPacketsBlocking()
131 auto tracingSession = mGpuMemTracer->getTracingSessionForTest(); in TEST_F() local
133 tracingSession->StartBlocking(); in TEST_F()
136 tracingSession->StopBlocking(); in TEST_F()
141 auto packets = readGpuMemTotalPacketsBlocking(tracingSession.get()); in TEST_F()
182 auto tracingSession = mGpuMemTracer->getTracingSessionForTest(); in TEST_F() local
184 tracingSession->StartBlocking(); in TEST_F()
187 tracingSession->StopBlocking(); in TEST_F()
192 auto packets = readGpuMemTotalPacketsBlocking(tracingSession.get()); in TEST_F()
/frameworks/native/services/inputflinger/tests/
DInputTraceSession.cpp70 std::unique_ptr<perfetto::TracingSession> tracingSession(perfetto::Tracing::NewTrace()); in startTrace() local
71 tracingSession->Setup(config); in startTrace()
72 tracingSession->StartBlocking(); in startTrace()
73 return tracingSession; in startTrace()
76 std::string stopTrace(std::unique_ptr<perfetto::TracingSession> tracingSession) { in stopTrace() argument
77 tracingSession->StopBlocking(); in stopTrace()
78 std::vector<char> traceChars(tracingSession->ReadTraceBlocking()); in stopTrace()
/frameworks/native/services/gpuservice/tracing/
DGpuMemTracer.cpp73 auto tracingSession = perfetto::Tracing::NewTrace(perfetto::kInProcessBackend); in getTracingSessionForTest() local
74 tracingSession->Setup(cfg); in getTracingSessionForTest()
75 return tracingSession; in getTracingSessionForTest()
/frameworks/native/services/gpuservice/tracing/include/tracing/
DGpuMemTracer.h67 perfetto::TracingSession* tracingSession);