Home
last modified time | relevance | path

Searched refs:raw_trace (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/src/trace_processor/
Dread_trace_integrationtest.cc39 std::vector<uint8_t> raw_trace; in ReadAllData() local
44 raw_trace.insert(raw_trace.end(), buf, buf + rsize); in ReadAllData()
46 return raw_trace; in ReadAllData()
67 std::vector<uint8_t> raw_trace = ReadAllData(f); in TEST_F() local
70 decompressed.reserve(raw_trace.size()); in TEST_F()
73 raw_trace.data(), raw_trace.size(), &decompressed); in TEST_F()
89 std::vector<uint8_t> raw_trace = ReadAllData(f); in TEST_F() local
93 raw_trace.data(), raw_trace.size(), &decompressed); in TEST_F()
109 std::vector<uint8_t> raw_trace = ReadAllData(u); in TEST_F() local
111 ASSERT_EQ(decompressed.size(), raw_trace.size()); in TEST_F()
[all …]
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc690 const std::vector<char>& raw_trace, in ReadSlicesFromTrace() argument
692 EXPECT_GE(raw_trace.size(), 0u); in ReadSlicesFromTrace()
695 EXPECT_TRUE(parsed_trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in ReadSlicesFromTrace()
816 std::vector<char> raw_trace = tracing_session->ReadTraceBlocking(); in ReadLogMessagesFromTrace() local
817 EXPECT_GE(raw_trace.size(), 0u); in ReadLogMessagesFromTrace()
825 parsed_trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in ReadLogMessagesFromTrace()
900 std::vector<char> raw_trace = StopSessionAndReturnBytes(tracing_session); in StopSessionAndReturnParsedTrace() local
902 if (trace.ParseFromArray(raw_trace.data(), raw_trace.size())) { in StopSessionAndReturnParsedTrace()
1068 std::vector<char> raw_trace = StopSessionAndReturnBytes(tracing_session); in TEST_P() local
1069 std::string trace(raw_trace.data(), raw_trace.size()); in TEST_P()
[all …]
/external/cronet/base/test/
Dtest_trace_processor.cc76 const std::vector<char>& raw_trace) { in ParseTrace() argument
77 auto size = raw_trace.size(); in ParseTrace()
79 std::copy(raw_trace.begin(), raw_trace.end(), data_copy.get()); in ParseTrace()
Dtest_trace_processor.h31 absl::Status ParseTrace(const std::vector<char>& raw_trace);
/external/perfetto/src/tracing/
Dtracing.cc145 std::vector<char> raw_trace; in ReadTraceBlocking() local
151 ReadTrace([&mutex, &raw_trace, &all_read, &cv](ReadTraceCallbackArgs cb) { in ReadTraceBlocking()
152 raw_trace.insert(raw_trace.end(), cb.data, cb.data + cb.size); in ReadTraceBlocking()
163 return raw_trace; in ReadTraceBlocking()
/external/perfetto/src/trace_processor/importers/fuchsia/
Dfuchsia_parser_unittest.cc277 std::unique_ptr<uint8_t[]> raw_trace(new uint8_t[num_bytes]); in Tokenize() local
278 memcpy(raw_trace.get(), trace_bytes_.data(), num_bytes); in Tokenize()
281 TraceBlob::TakeOwnership(std::move(raw_trace), num_bytes))); in Tokenize()
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_parser_unittest.cc287 std::unique_ptr<uint8_t[]> raw_trace(new uint8_t[trace_bytes.size()]); in Tokenize() local
288 memcpy(raw_trace.get(), trace_bytes.data(), trace_bytes.size()); in Tokenize()
291 TraceBlob::TakeOwnership(std::move(raw_trace), trace_bytes.size()))); in Tokenize()