/external/pigweed/pw_rpc/public/pw_rpc/internal/ |
D | test_utils.h | 43 template <typename Service, uint32_t kChannelId = 99, uint32_t kServiceId = 16> 46 static constexpr uint32_t channel_id() { return kChannelId; } in channel_id() 50 : channel_(Channel::Create<kChannelId>(&output_)), in ServerContextForTest() 60 kChannelId, in request() 70 kChannelId, 80 kChannelId, in server_stream() 89 kChannelId, in client_stream() 118 uint32_t kChannelId = 99, 123 static constexpr uint32_t channel_id() { return kChannelId; } in channel_id() 128 : channel_(Channel::Create<kChannelId>(&output_)), in ClientContextForTest() [all …]
|
D | packet.h | 37 protobuf::SizeOfFieldUint32(pwpb::RpcPacket::Fields::kChannelId) +
|
/external/pigweed/pw_rpc/ |
D | fake_channel_output_test.cc | 29 constexpr uint32_t kChannelId = 1; variable 41 return payloads(type, kChannelId, kServiceId, kMethodId).back(); in last_response() 45 return payloads(type, kChannelId, kServiceId, kMethodId).size(); in total_payloads() 52 Channel channel(kChannelId, &output); in TEST() 54 kChannelId, in TEST() 79 Channel channel(kChannelId, &output); in TEST() 81 kChannelId, in TEST() 107 kChannelId, in TEST() 126 Channel channel(kChannelId, &output); in TEST() 128 kChannelId, in TEST() [all …]
|
D | packet_meta_test.cc | 24 const uint32_t kChannelId = 12; in TEST() local 29 packet.set_channel_id(kChannelId); in TEST() 40 EXPECT_EQ(decode_result->channel_id(), kChannelId); in TEST()
|
D | channel.cc | 34 internal::pwpb::RpcPacket::Fields::kChannelId) { in ExtractChannelId()
|
D | client_integration_test.cc | 45 pw::rpc::integration_test::kChannelId);
|
D | packet.cc | 43 case RpcPacket::Fields::kChannelId: in FromBuffer()
|
D | docs.rst | 1510 .. cpp:var:: constexpr uint32_t kChannelId
|
/external/pigweed/pw_rpc/nanopb/ |
D | server_reader_writer_test.cc | 55 static constexpr uint32_t kChannelId = 1; member 58 : channel(Channel::Create<kChannelId>(&output)), in ReaderWriterTestContext() 249 ASSERT_EQ(OkStatus(), ctx.server.CloseChannel(ctx.kChannelId)); in TEST() 255 ctx.server, ctx.kChannelId, ctx.service); in TEST() 258 EXPECT_EQ(call.channel_id(), ctx.kChannelId); in TEST() 261 ASSERT_EQ(OkStatus(), ctx.server.OpenChannel(ctx.kChannelId, ctx.output)); in TEST() 278 ctx.server, ctx.kChannelId, ctx.service); in TEST() 289 ctx.server, ctx.kChannelId, ctx.service); in TEST()
|
D | client_integration_test.cc | 70 pw::rpc::integration_test::kChannelId);
|
/external/pigweed/pw_rpc/pwpb/ |
D | server_reader_writer_test.cc | 57 static constexpr uint32_t kChannelId = 1; member 60 : channel(Channel::Create<kChannelId>(&output)), in ReaderWriterTestContext() 246 ASSERT_EQ(OkStatus(), ctx.server.CloseChannel(ctx.kChannelId)); in TEST() 252 ctx.server, ctx.kChannelId, ctx.service); in TEST() 255 EXPECT_EQ(call.channel_id(), ctx.kChannelId); in TEST() 258 ASSERT_EQ(OkStatus(), ctx.server.OpenChannel(ctx.kChannelId, ctx.output)); in TEST() 275 ctx.server, ctx.kChannelId, ctx.service); in TEST() 286 ctx.server, ctx.kChannelId, ctx.service); in TEST()
|
D | client_integration_test.cc | 72 pw::rpc::integration_test::kChannelId);
|
/external/pigweed/pw_rpc/raw/ |
D | server_reader_writer_test.cc | 43 static constexpr uint32_t kChannelId = 1; member 46 : channel(Channel::Create<kChannelId>(&output)), in ReaderWriterTestContext() 184 ASSERT_EQ(OkStatus(), ctx.server.CloseChannel(ctx.kChannelId)); in TEST() 188 ctx.server, ctx.kChannelId, ctx.service); in TEST() 191 EXPECT_EQ(call.channel_id(), ctx.kChannelId); in TEST() 194 ASSERT_EQ(OkStatus(), ctx.server.OpenChannel(ctx.kChannelId, ctx.output)); in TEST() 399 ASSERT_EQ(writer.channel_id(), ReaderWriterTestContext::kChannelId); in WriteAsWriter()
|
/external/pigweed/pw_rpc/fuzz/ |
D | engine_test.cc | 69 static constexpr uint32_t kChannelId = 1; member in pw::rpc::fuzz::__anon1d9d2dcb0111::FuzzerContext 89 Fuzzer fuzzer(context_.client(), FuzzerContext::kChannelId); in Run()
|
D | client_fuzzer.cc | 98 Fuzzer fuzzer(integration_test::client(), integration_test::kChannelId); in FuzzClient()
|
/external/pigweed/pw_rpc/public/pw_rpc/ |
D | integration_testing.h | 25 inline constexpr uint32_t kChannelId = 1; variable
|
D | integration_test_socket_client.h | 41 Channel::Create<kChannelId>(&channel_output_with_manipulator_)), in SocketClientContext()
|
/external/pigweed/pw_transfer/integration_test/ |
D | client.cc | 88 rpc::integration_test::kChannelId, in PerformTransferActions()
|
/external/pigweed/pw_transfer/ |
D | docs.rst | 208 constexpr uint32_t kChannelId = 42; 211 GetSystemRpcClient(), kChannelId, GetSystemTransferThread());
|