Searched refs:bytraceParser (Results 1 – 3 of 3) sorted by relevance
/developtools/smartperf_host/trace_streamer/test/unittest/systrace/ |
D | bytrace_parser_test.cpp | 56 BytraceParser bytraceParser(stream_.traceDataCache_.get(), stream_.streamFilters_.get()); variable 57 bytraceParser.ParseTraceDataSegment(std::move(buf), 1); 58 bytraceParser.WaitForParserEnd(); 59 EXPECT_TRUE(bytraceParser.TraceCommentLines() == 0); 60 EXPECT_TRUE(bytraceParser.ParsedTraceValidLines() == 0); 61 EXPECT_TRUE(bytraceParser.ParsedTraceInvalidLines() == 0); 79 BytraceParser bytraceParser(stream_.traceDataCache_.get(), stream_.streamFilters_.get()); variable 80 bytraceParser.ParseTraceDataSegment(std::move(buf), realBufSize); 81 bytraceParser.WaitForParserEnd(); 84 EXPECT_TRUE(bytraceParser.TraceCommentLines() == 0); [all …]
|
D | event_parser_test.cpp | 198 BytraceParser bytraceParser(stream_.traceDataCache_.get(), stream_.streamFilters_.get()); variable 199 bytraceParser.ParseTraceDataSegment(std::move(buf), G_BUF_SIZE); 200 bytraceParser.WaitForParserEnd(); 202 EXPECT_EQ(bytraceParser.ParsedTraceValidLines(), static_cast<const uint32_t>(1)); 222 BytraceParser bytraceParser(stream_.traceDataCache_.get(), stream_.streamFilters_.get()); variable 223 bytraceParser.ParseTraceDataSegment(std::move(buf), G_BUF_SIZE); 224 bytraceParser.WaitForParserEnd(); 226 EXPECT_EQ(bytraceParser.ParsedTraceValidLines(), static_cast<const uint32_t>(2)); 248 BytraceParser bytraceParser(stream_.traceDataCache_.get(), stream_.streamFilters_.get()); variable 249 bytraceParser.ParseTraceDataSegment(std::move(buf), G_BUF_SIZE); [all …]
|
/developtools/smartperf_host/trace_streamer/test/unittest/filter/ |
D | app_start_filter_test.cpp | 75 BytraceParser bytraceParser(stream_.traceDataCache_.get(), stream_.streamFilters_.get()); variable 77 bytraceParser.ParseTraceDataItem(str); 80 bytraceParser.ParseTraceDataItem(str); 83 bytraceParser.ParseTraceDataItem(str); 85 bytraceParser.ParseTraceDataItem(appLaunchStr); 86 bytraceParser.ParseTraceDataItem(uiLaunchStr); 87 bytraceParser.ParseTraceDataItem(uiOnForegroundStr); 88 bytraceParser.WaitForParserEnd();
|