Home
last modified time | relevance | path

Searched refs:ProtocolConnection (Results 1 – 25 of 28) sorted by relevance

12

/external/openscreen/osp/impl/quic/
Dquic_client_unittest.cc29 class MockConnectionObserver final : public ProtocolConnection::Observer {
33 MOCK_METHOD1(OnConnectionClosed, void(const ProtocolConnection& connection));
39 explicit ConnectionCallback(std::unique_ptr<ProtocolConnection>* connection) in ConnectionCallback()
45 std::unique_ptr<ProtocolConnection> connection) override { in OnConnectionOpened()
57 std::unique_ptr<ProtocolConnection>* const connection_;
80 void SendTestMessage(ProtocolConnection* connection) { in SendTestMessage()
133 std::unique_ptr<ProtocolConnection> connection; in TEST_F()
150 std::unique_ptr<ProtocolConnection> connection1; in TEST_F()
157 std::unique_ptr<ProtocolConnection> connection2; in TEST_F()
175 std::unique_ptr<ProtocolConnection> connection1; in TEST_F()
[all …]
Dquic_server_unittest.cc35 std::unique_ptr<ProtocolConnection> connection) override { in OnConnectionOpened()
42 class MockConnectionObserver final : public ProtocolConnection::Observer {
46 MOCK_METHOD1(OnConnectionClosed, void(const ProtocolConnection& connection));
60 std::unique_ptr<ProtocolConnection> ExpectIncomingConnection() { in ExpectIncomingConnection()
64 std::unique_ptr<ProtocolConnection> stream; in ExpectIncomingConnection()
68 Invoke([&stream](std::unique_ptr<ProtocolConnection>& connection) { in ExpectIncomingConnection()
84 void SendTestMessage(ProtocolConnection* connection) { in SendTestMessage()
134 std::unique_ptr<ProtocolConnection> connection = ExpectIncomingConnection(); in TEST_F()
145 std::unique_ptr<ProtocolConnection> connection1 = ExpectIncomingConnection(); in TEST_F()
148 std::unique_ptr<ProtocolConnection> connection2 = in TEST_F()
[all …]
Dquic_server.h49 std::unique_ptr<ProtocolConnection> CreateProtocolConnection(
Dquic_client.h55 std::unique_ptr<ProtocolConnection> CreateProtocolConnection(
Dquic_service_common.h21 class QuicProtocolConnection final : public ProtocolConnection {
Dquic_server.cc89 std::unique_ptr<ProtocolConnection> QuicServer::CreateProtocolConnection( in CreateProtocolConnection()
/external/openscreen/osp/public/
Dprotocol_connection.h38 class ProtocolConnection {
47 virtual void OnConnectionClosed(const ProtocolConnection& connection) = 0;
50 ProtocolConnection(uint64_t endpoint_id, uint64_t connection_id);
51 virtual ~ProtocolConnection() = default;
Dprotocol_connection.cc10 ProtocolConnection::ProtocolConnection(uint64_t endpoint_id, uint64_t id) in ProtocolConnection() function in openscreen::osp::ProtocolConnection
13 void ProtocolConnection::SetObserver(Observer* observer) { in SetObserver()
Dprotocol_connection_server.h42 std::unique_ptr<ProtocolConnection> connection) = 0;
72 virtual std::unique_ptr<ProtocolConnection> CreateProtocolConnection(
Dprotocol_connection_client.h39 std::unique_ptr<ProtocolConnection> connection) = 0;
89 virtual std::unique_ptr<ProtocolConnection> CreateProtocolConnection(
Drequest_response_handler.h140 void SetConnection(ProtocolConnection* connection) { in SetConnection()
217 ProtocolConnection* connection_ = nullptr;
/external/openscreen/osp/impl/presentation/
Durl_availability_requester_unittest.cc72 std::unique_ptr<ProtocolConnection> ExpectIncomingConnection() { in ExpectIncomingConnection()
73 std::unique_ptr<ProtocolConnection> stream; in ExpectIncomingConnection()
77 Invoke([&stream](std::unique_ptr<ProtocolConnection>& connection) { in ExpectIncomingConnection()
103 ProtocolConnection* stream) { in SendAvailabilityResponse()
117 ProtocolConnection* stream) { in SendAvailabilityEvent()
151 std::unique_ptr<ProtocolConnection> stream = ExpectIncomingConnection(); in TEST_F()
175 std::unique_ptr<ProtocolConnection> stream = ExpectIncomingConnection(); in TEST_F()
199 std::unique_ptr<ProtocolConnection> stream = ExpectIncomingConnection(); in TEST_F()
222 std::unique_ptr<ProtocolConnection> stream = ExpectIncomingConnection(); in TEST_F()
250 std::unique_ptr<ProtocolConnection> stream = ExpectIncomingConnection(); in TEST_F()
[all …]
Dpresentation_receiver_unittest.cc38 std::unique_ptr<ProtocolConnection> connection));
74 std::unique_ptr<ProtocolConnection> MakeClientStream() { in MakeClientStream()
78 std::unique_ptr<ProtocolConnection> stream; in MakeClientStream()
81 std::unique_ptr<ProtocolConnection> connection) { in MakeClientStream()
119 std::unique_ptr<ProtocolConnection> stream = MakeClientStream(); in TEST_F()
162 std::unique_ptr<ProtocolConnection> stream = MakeClientStream(); in TEST_F()
Dpresentation_connection_unittest.cc48 std::unique_ptr<ProtocolConnection> connection) override { in OnConnectionOpened()
52 void(uint64_t request_id, ProtocolConnection* connection));
144 std::unique_ptr<ProtocolConnection> controller_stream; in TEST_F()
145 std::unique_ptr<ProtocolConnection> receiver_stream; in TEST_F()
150 ProtocolConnection* stream) { in TEST_F()
156 [&receiver_stream](std::unique_ptr<ProtocolConnection>& connection) { in TEST_F()
Dpresentation_controller_unittest.cc98 Invoke([this](std::unique_ptr<ProtocolConnection>& connection) { in SetUp()
134 std::unique_ptr<ProtocolConnection> controller_connection = in SendAvailabilityResponse()
147 std::unique_ptr<ProtocolConnection> protocol_connection = in SendStartResponse()
161 std::unique_ptr<ProtocolConnection> controller_connection = in SendAvailabilityEvent()
175 std::unique_ptr<ProtocolConnection> protocol_connection = in SendTerminationResponse()
188 std::unique_ptr<ProtocolConnection> protocol_connection = in SendTerminationEvent()
224 std::unique_ptr<ProtocolConnection> protocol_connection = in SendCloseResponse()
238 std::unique_ptr<ProtocolConnection> protocol_connection = in SendOpenResponse()
Dpresentation_receiver.cc68 ProtocolConnection* connection) { in WritePresentationInitiationResponse()
75 ProtocolConnection* connection) { in WritePresentationConnectionOpenResponse()
82 ProtocolConnection* connection) { in WritePresentationTerminationEvent()
89 ProtocolConnection* connection) { in WritePresentationTerminationResponse()
96 ProtocolConnection* connection) { in WritePresentationUrlAvailabilityResponse()
460 std::unique_ptr<ProtocolConnection> protocol_connection = in CloseConnection()
483 std::unique_ptr<ProtocolConnection> protocol_connection = in OnPresentationTerminated()
Dpresentation_controller.cc65 public ProtocolConnection::Observer,
103 std::unique_ptr<ProtocolConnection> connection) override;
107 void OnConnectionClosed(const ProtocolConnection& connection) override;
117 std::unique_ptr<ProtocolConnection> initiation_protocol_connection_;
119 std::unique_ptr<ProtocolConnection> connection_protocol_connection_;
238 std::unique_ptr<ProtocolConnection> protocol_connection = in OnMatchedResponse()
307 std::unique_ptr<ProtocolConnection> connection) { in OnConnectionOpened()
344 const ProtocolConnection& connection) { in OnConnectionClosed()
602 ProtocolConnection* Controller::GetConnectionRequestGroupStream( in GetConnectionRequestGroupStream()
702 std::unique_ptr<ProtocolConnection>&& protocol_connection) { in OpenConnection()
Durl_availability_requester.h112 std::unique_ptr<ProtocolConnection> connection) override;
132 std::unique_ptr<ProtocolConnection> connection;
Dpresentation_connection.cc30 ProtocolConnection* connection) { in WriteConnectionMessage()
62 std::unique_ptr<ProtocolConnection> protocol_connection) { in OnConnected()
243 std::unique_ptr<ProtocolConnection> protocol_connection = in OnStreamMessage()
Dpresentation_common.h27 std::unique_ptr<ProtocolConnection> GetProtocolConnection(uint64_t endpoint_id);
Dpresentation_common.cc12 std::unique_ptr<ProtocolConnection> GetProtocolConnection( in GetProtocolConnection()
/external/openscreen/osp/public/presentation/
Dpresentation_connection.h26 class ProtocolConnection; variable
127 ProtocolConnection* get_protocol_connection() const { in get_protocol_connection()
161 std::unique_ptr<ProtocolConnection> stream);
181 std::unique_ptr<ProtocolConnection> protocol_connection_;
Dpresentation_controller.h152 ProtocolConnection* GetConnectionRequestGroupStream(
158 std::unique_ptr<ProtocolConnection> stream);
179 std::unique_ptr<ProtocolConnection>&& stream);
/external/openscreen/osp/impl/quic/testing/
Dquic_test_support.h50 std::unique_ptr<ProtocolConnection> connection) override { in OnIncomingConnection()
54 void(std::unique_ptr<ProtocolConnection>& connection));
/external/openscreen/osp/demo/
Dosp_demo.cc173 class ConnectionObserver final : public ProtocolConnection::Observer {
179 void OnConnectionClosed(const ProtocolConnection& connection) override { in OnConnectionClosed()
185 std::unique_ptr<ProtocolConnection>>& p) { in OnConnectionClosed()
205 std::unique_ptr<ProtocolConnection> connection) override { in OnIncomingConnection()
214 std::unique_ptr<ProtocolConnection>>>

12