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.cc101 auto* for_testing = msg->mutable_for_testing(); in TEST() local
102 for_testing->set_str("abc"); in TEST()
117 EXPECT_EQ(trace.packet()[0].for_testing().str(), "abc"); in TEST()
129 auto* for_testing = msg->mutable_for_testing(); in TEST() local
130 for_testing->set_str("abc"); in TEST()
152 EXPECT_EQ(subtrace.packet()[0].for_testing().str(), "abc"); in TEST()
193 auto* for_testing = msg->mutable_for_testing(); in TEST() local
194 for_testing->set_str("abcdefghijklmn"); in TEST()
198 auto* for_testing = msg->mutable_for_testing(); in TEST() local
199 for_testing->set_str("abcdefghijklmn"); in TEST()
[all …]
Dpbtxt_to_pb_unittest.cc255 config.data_sources()[0].config().for_testing().dummy_fields(); in TEST()
286 config.data_sources()[0].config().for_testing().dummy_fields(); in TEST()
313 config.data_sources()[0].config().for_testing().dummy_fields(); in TEST()
/external/perfetto/src/tracing/core/
Dtrace_packet_unittest.cc43 ASSERT_EQ(proto.for_testing().str(), decoded_packet.for_testing().str()); in TEST()
74 ASSERT_EQ(proto.for_testing().str(), decoded_packet.for_testing().str()); in TEST()
120 ASSERT_EQ(payload, trace.packet()[0].for_testing().str()); in TEST()
Dtracing_service_impl_unittest.cc1103 &protos::gen::TracePacket::for_testing, in TEST_F()
1111 &protos::gen::TracePacket::for_testing, in TEST_F()
1677 ASSERT_EQ(kPayload + std::to_string(i++), tp.for_testing().str()); in TEST_F()
1729 &protos::gen::TracePacket::for_testing, in TEST_F()
1863 &protos::gen::TracePacket::for_testing, in TEST_F()
1900 &protos::gen::TracePacket::for_testing, in TEST_F()
1963 &protos::gen::TracePacket::for_testing, in TEST_F()
2015 Contains(Property(&protos::gen::TracePacket::for_testing, in TEST_F()
2480 Property(&protos::gen::TracePacket::for_testing, in TEST_F()
2488 Property(&protos::gen::TracePacket::for_testing, in TEST_F()
[all …]
/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/
Dfake_producer.cc100 SetupFromConfig(source_config.for_testing()); in StartDataSource()
102 if (source_config.for_testing().send_batch_on_register()) { in StartDataSource()
Dend_to_end_integrationtest.cc708 ASSERT_EQ(packet.for_testing().seq_value(), rnd_engine()); in TEST_F()
749 ASSERT_EQ(packet.for_testing().seq_value(), rnd_engine()); in TEST_F()
750 size_t msg_size = packet.for_testing().str().size(); in TEST_F()
753 ASSERT_EQ(i < msg_size - 1 ? '.' : 0, packet.for_testing().str()[i]); in TEST_F()
805 ASSERT_FALSE(packets[0].for_testing().str().empty()); in TEST_F()
1337 EXPECT_EQ(kMessageSize, packet.for_testing().str().size()); in TEST_F()
1438 EXPECT_EQ(kMessageSize, packet.for_testing().str().size()); in TEST_F()
1606 EXPECT_EQ(kMessageSize, packet.for_testing().str().size()); in TEST_F()
Dend_to_end_benchmark.cc111 rnd_engine = std::minstd_rand0(packet.for_testing().seq_value()); in BenchmarkProducer()
114 ASSERT_EQ(packet.for_testing().seq_value(), rnd_engine()); in BenchmarkProducer()
/external/perfetto/test/cts/
Dend_to_end_integrationtest_cts.cc96 ASSERT_EQ(packet.for_testing().seq_value(), rnd_engine()); in TestMockProducer()
/external/perfetto/protos/perfetto/config/
Ddata_source_config.proto154 optional TestConfig for_testing = 1001; field
156 // Was |for_testing|. Caused more problems then found.
Dperfetto_config.proto1462 optional TestConfig for_testing = 1001; field
1464 // Was |for_testing|. Caused more problems then found.
/external/perfetto/src/tracing/test/
Dtracing_integration_test.cc314 EXPECT_EQ(std::string(buf), packet.for_testing().str()); in TEST_F()
444 packet.for_testing().str()); in TEST_F()
Dapi_integrationtest.cc2636 EXPECT_EQ(packet.for_testing().str(), "event 1"); in TEST_P()
2714 EXPECT_EQ(packet.for_testing().str(), "flushed event"); in TEST_P()
2793 EXPECT_EQ(packet.for_testing().str(), first_large_message_str); in TEST_P()
2797 EXPECT_EQ(packet.for_testing().str(), second_large_message_str); in TEST_P()
2908 EXPECT_EQ(packet.for_testing().str(), "event written after OnStop"); in TEST_P()
3086 packets_found |= packet.for_testing().str() == "on-start" ? 1 : 0; in TEST_P()
3087 packets_found |= packet.for_testing().str() == "on-start-locked" ? 2 : 0; in TEST_P()
3088 packets_found |= packet.for_testing().str() == "on-stop" ? 4 : 0; in TEST_P()
3089 packets_found |= packet.for_testing().str() == "on-stop-locked" ? 8 : 0; in TEST_P()
/external/perfetto/examples/sdk/
DREADME.md125 for_testing {
/external/perfetto/test/stress_test/
Dstress_test.cc322 protos::pbzero::TestEvent::Decoder te(packet.for_testing()); in ParseTracePacket()
/external/perfetto/protos/perfetto/trace/
Dtrace_packet.proto192 TestEvent for_testing = 900; field
Dperfetto_trace.proto1462 optional TestConfig for_testing = 1001; field
1464 // Was |for_testing|. Caused more problems then found.
9001 TestEvent for_testing = 900; field