Home
last modified time | relevance | path

Searched refs:GetNextRequestId (Results 1 – 9 of 9) sorted by relevance

/external/openscreen/osp/public/
Dendpoint_request_ids_unittest.cc17 EXPECT_EQ(0u, request_ids_client.GetNextRequestId(7)); in TEST()
18 EXPECT_EQ(2u, request_ids_client.GetNextRequestId(7)); in TEST()
19 EXPECT_EQ(4u, request_ids_client.GetNextRequestId(7)); in TEST()
20 EXPECT_EQ(0u, request_ids_client.GetNextRequestId(3)); in TEST()
21 EXPECT_EQ(6u, request_ids_client.GetNextRequestId(7)); in TEST()
22 EXPECT_EQ(2u, request_ids_client.GetNextRequestId(3)); in TEST()
25 EXPECT_EQ(1u, request_ids_server.GetNextRequestId(7)); in TEST()
26 EXPECT_EQ(3u, request_ids_server.GetNextRequestId(7)); in TEST()
27 EXPECT_EQ(5u, request_ids_server.GetNextRequestId(7)); in TEST()
28 EXPECT_EQ(1u, request_ids_server.GetNextRequestId(3)); in TEST()
[all …]
Drequest_response_handler.h98 request_msg->request_id = GetNextRequestId(connection_->endpoint_id()); in WriteMessage()
144 request_msg->request_id = GetNextRequestId(connection_->endpoint_id()); in SetConnection()
210 uint64_t GetNextRequestId(uint64_t endpoint_id) { in GetNextRequestId() function
214 ->GetNextRequestId(endpoint_id); in GetNextRequestId()
Dendpoint_request_ids.h31 uint64_t GetNextRequestId(uint64_t endpoint_id);
Dendpoint_request_ids.cc13 uint64_t EndpointRequestIds::GetNextRequestId(uint64_t endpoint_id) { in GetNextRequestId() function in openscreen::osp::EndpointRequestIds
/external/openscreen/osp/impl/quic/
Dquic_server_unittest.cc197 EXPECT_EQ(1u, server_->endpoint_request_ids()->GetNextRequestId(endpoint_id)); in TEST_F()
198 EXPECT_EQ(3u, server_->endpoint_request_ids()->GetNextRequestId(endpoint_id)); in TEST_F()
203 EXPECT_EQ(5u, server_->endpoint_request_ids()->GetNextRequestId(endpoint_id)); in TEST_F()
206 EXPECT_EQ(1u, server_->endpoint_request_ids()->GetNextRequestId(endpoint_id)); in TEST_F()
Dquic_client_unittest.cc258 EXPECT_EQ(0u, client_->endpoint_request_ids()->GetNextRequestId(endpoint_id)); in TEST_F()
259 EXPECT_EQ(2u, client_->endpoint_request_ids()->GetNextRequestId(endpoint_id)); in TEST_F()
264 EXPECT_EQ(4u, client_->endpoint_request_ids()->GetNextRequestId(endpoint_id)); in TEST_F()
267 EXPECT_EQ(0u, client_->endpoint_request_ids()->GetNextRequestId(endpoint_id)); in TEST_F()
/external/openscreen/cast/sender/
Dcast_platform_client.cc60 int request_id = GetNextRequestId(); in RequestAppAvailability()
206 int CastPlatformClient::GetNextRequestId() { in GetNextRequestId() function in openscreen::cast::CastPlatformClient
Dcast_platform_client.h79 static int GetNextRequestId();
/external/openscreen/osp/impl/presentation/
Durl_availability_requester.cc43 uint64_t GetNextRequestId(const uint64_t endpoint_id) { in GetNextRequestId() function
47 ->GetNextRequestId(endpoint_id); in GetNextRequestId()
210 const uint64_t request_id = GetNextRequestId(endpoint_id); in RequestUrlAvailabilities()
328 const uint64_t new_request_id = GetNextRequestId(endpoint_id); in RemoveUnobservedRequests()