Home
last modified time | relevance | path

Searched refs:for_testing (Results 1 – 17 of 17) sorted by relevance

/external/perfetto/src/perfetto_cmd/
Dpacket_writer_unittest.cc93 auto* for_testing = msg->set_for_testing(); in TEST() local
94 for_testing->set_str("abc"); in TEST()
107 EXPECT_EQ(trace.packet().Get(0).for_testing().str(), "abc"); in TEST()
121 auto* for_testing = msg->set_for_testing(); in TEST() local
122 for_testing->set_str("abc"); in TEST()
141 EXPECT_EQ(subtrace.packet().Get(0).for_testing().str(), "abc"); in TEST()
184 auto* for_testing = msg->set_for_testing(); in TEST() local
185 for_testing->set_str("abcdefghijklmn"); in TEST()
189 auto* for_testing = msg->set_for_testing(); in TEST() local
190 for_testing->set_str("abcdefghijklmn"); in TEST()
[all …]
Dpbtxt_to_pb_unittest.cc209 config.data_sources().Get(0).config().for_testing().dummy_fields(); in TEST()
248 config.data_sources().Get(0).config().for_testing().dummy_fields(); in TEST()
/external/perfetto/test/
Dfake_producer.cc72 rnd_engine_ = std::minstd_rand0(source_config.for_testing().seed()); in StartDataSource()
73 message_count_ = source_config.for_testing().message_count(); in StartDataSource()
74 message_size_ = source_config.for_testing().message_size(); in StartDataSource()
76 source_config.for_testing().max_messages_per_second(); in StartDataSource()
77 if (source_config.for_testing().send_batch_on_register()) { in StartDataSource()
Dend_to_end_integrationtest.cc426 ASSERT_EQ(packet.for_testing().seq_value(), rnd_engine()); in TEST_F()
467 ASSERT_EQ(packet.for_testing().seq_value(), rnd_engine()); in TEST_F()
468 size_t msg_size = packet.for_testing().str().size(); in TEST_F()
471 ASSERT_EQ(i < msg_size - 1 ? '.' : 0, packet.for_testing().str()[i]); in TEST_F()
708 EXPECT_EQ(kMessageSize, packet.for_testing().str().size()); in TEST_F()
795 EXPECT_EQ(kMessageSize, packet.for_testing().str().size()); in TEST_F()
939 EXPECT_EQ(kMessageSize, packet.for_testing().str().size()); in TEST_F()
Dend_to_end_benchmark.cc105 rnd_engine = std::minstd_rand0(packet.for_testing().seq_value()); in BenchmarkProducer()
108 ASSERT_EQ(packet.for_testing().seq_value(), rnd_engine()); in BenchmarkProducer()
/external/perfetto/src/tracing/core/
Dtrace_packet_unittest.cc64 ASSERT_EQ(proto.for_testing().str(), decoded_packet.for_testing().str()); in TEST()
95 ASSERT_EQ(proto.for_testing().str(), decoded_packet.for_testing().str()); in TEST()
142 ASSERT_EQ(payload, trace.packet(0).for_testing().str()); in TEST()
Dtracing_service_impl_unittest.cc1045 &protos::TracePacket::for_testing, in TEST_F()
1053 &protos::TracePacket::for_testing, in TEST_F()
1390 ASSERT_EQ(kPayload + std::to_string(i++), tp.for_testing().str()); in TEST_F()
1490 Contains(Property(&protos::TracePacket::for_testing, in TEST_F()
1527 Contains(Property(&protos::TracePacket::for_testing, in TEST_F()
1590 Contains(Property(&protos::TracePacket::for_testing, in TEST_F()
1642 Contains(Property(&protos::TracePacket::for_testing, in TEST_F()
2103 Property(&protos::TracePacket::for_testing, in TEST_F()
2110 Property(&protos::TracePacket::for_testing, in TEST_F()
2117 Property(&protos::TracePacket::for_testing, in TEST_F()
[all …]
Ddata_source_config.cc121 for_testing_.FromProto(proto.for_testing()); in FromProto()
Dstartup_trace_writer_unittest.cc141 EXPECT_EQ(kPacketPayload, parsed_packet.for_testing().str()); in VerifyPackets()
/external/libchrome/base/android/orderfile/
Dorderfile_instrumentation.cc117 template <bool for_testing>
125 for_testing ? kStartOfTextForTesting : base::android::kStartOfText; in RecordAddress()
127 for_testing ? kEndOfTextForTesting : base::android::kEndOfText; in RecordAddress()
/external/perfetto/test/cts/
Dend_to_end_integrationtest_cts.cc80 ASSERT_EQ(packet.for_testing().seq_value(), rnd_engine()); in TestMockProducer()
/external/perfetto/include/perfetto/tracing/core/
Ddata_source_config.h153 const TestConfig& for_testing() const { return for_testing_; } in for_testing() function
/external/perfetto/src/tracing/test/
Dtracing_integration_test.cc316 EXPECT_EQ(std::string(buf), packet.for_testing().str()); in TEST_F()
430 packet.for_testing().str()); in TEST_F()
/external/perfetto/protos/perfetto/config/
Ddata_source_config.proto90 optional TestConfig for_testing = field
Dperfetto_config.proto273 optional TestConfig for_testing = field
/external/perfetto/protos/perfetto/trace/
Dtrace_packet.proto100 TestEvent for_testing = 900; field
Dperfetto_trace.proto3374 optional TestConfig for_testing = field