/external/perfetto/src/perfetto_cmd/ |
D | packet_writer_unittest.cc | 93 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 …]
|
D | pbtxt_to_pb_unittest.cc | 209 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/ |
D | fake_producer.cc | 72 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()
|
D | end_to_end_integrationtest.cc | 426 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()
|
D | end_to_end_benchmark.cc | 105 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/ |
D | trace_packet_unittest.cc | 64 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()
|
D | tracing_service_impl_unittest.cc | 1045 &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 …]
|
D | data_source_config.cc | 121 for_testing_.FromProto(proto.for_testing()); in FromProto()
|
D | startup_trace_writer_unittest.cc | 141 EXPECT_EQ(kPacketPayload, parsed_packet.for_testing().str()); in VerifyPackets()
|
/external/libchrome/base/android/orderfile/ |
D | orderfile_instrumentation.cc | 117 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/ |
D | end_to_end_integrationtest_cts.cc | 80 ASSERT_EQ(packet.for_testing().seq_value(), rnd_engine()); in TestMockProducer()
|
/external/perfetto/include/perfetto/tracing/core/ |
D | data_source_config.h | 153 const TestConfig& for_testing() const { return for_testing_; } in for_testing() function
|
/external/perfetto/src/tracing/test/ |
D | tracing_integration_test.cc | 316 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/ |
D | data_source_config.proto | 90 optional TestConfig for_testing = field
|
D | perfetto_config.proto | 273 optional TestConfig for_testing = field
|
/external/perfetto/protos/perfetto/trace/ |
D | trace_packet.proto | 100 TestEvent for_testing = 900; field
|
D | perfetto_trace.proto | 3374 optional TestConfig for_testing = field
|