/external/openscreen/osp/impl/quic/ |
D | quic_client_unittest.cc | 29 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 …]
|
D | quic_server_unittest.cc | 35 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 …]
|
D | quic_server.h | 49 std::unique_ptr<ProtocolConnection> CreateProtocolConnection(
|
D | quic_client.h | 55 std::unique_ptr<ProtocolConnection> CreateProtocolConnection(
|
D | quic_service_common.h | 21 class QuicProtocolConnection final : public ProtocolConnection {
|
D | quic_server.cc | 89 std::unique_ptr<ProtocolConnection> QuicServer::CreateProtocolConnection( in CreateProtocolConnection()
|
/external/openscreen/osp/public/ |
D | protocol_connection.h | 38 class ProtocolConnection { 47 virtual void OnConnectionClosed(const ProtocolConnection& connection) = 0; 50 ProtocolConnection(uint64_t endpoint_id, uint64_t connection_id); 51 virtual ~ProtocolConnection() = default;
|
D | protocol_connection.cc | 10 ProtocolConnection::ProtocolConnection(uint64_t endpoint_id, uint64_t id) in ProtocolConnection() function in openscreen::osp::ProtocolConnection 13 void ProtocolConnection::SetObserver(Observer* observer) { in SetObserver()
|
D | protocol_connection_server.h | 42 std::unique_ptr<ProtocolConnection> connection) = 0; 72 virtual std::unique_ptr<ProtocolConnection> CreateProtocolConnection(
|
D | protocol_connection_client.h | 39 std::unique_ptr<ProtocolConnection> connection) = 0; 89 virtual std::unique_ptr<ProtocolConnection> CreateProtocolConnection(
|
D | request_response_handler.h | 140 void SetConnection(ProtocolConnection* connection) { in SetConnection() 217 ProtocolConnection* connection_ = nullptr;
|
/external/openscreen/osp/impl/presentation/ |
D | url_availability_requester_unittest.cc | 72 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 …]
|
D | presentation_receiver_unittest.cc | 38 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()
|
D | presentation_connection_unittest.cc | 48 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()
|
D | presentation_controller_unittest.cc | 98 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()
|
D | presentation_receiver.cc | 68 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()
|
D | presentation_controller.cc | 65 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()
|
D | url_availability_requester.h | 112 std::unique_ptr<ProtocolConnection> connection) override; 132 std::unique_ptr<ProtocolConnection> connection;
|
D | presentation_connection.cc | 30 ProtocolConnection* connection) { in WriteConnectionMessage() 62 std::unique_ptr<ProtocolConnection> protocol_connection) { in OnConnected() 243 std::unique_ptr<ProtocolConnection> protocol_connection = in OnStreamMessage()
|
D | presentation_common.h | 27 std::unique_ptr<ProtocolConnection> GetProtocolConnection(uint64_t endpoint_id);
|
D | presentation_common.cc | 12 std::unique_ptr<ProtocolConnection> GetProtocolConnection( in GetProtocolConnection()
|
/external/openscreen/osp/public/presentation/ |
D | presentation_connection.h | 26 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_;
|
D | presentation_controller.h | 152 ProtocolConnection* GetConnectionRequestGroupStream( 158 std::unique_ptr<ProtocolConnection> stream); 179 std::unique_ptr<ProtocolConnection>&& stream);
|
/external/openscreen/osp/impl/quic/testing/ |
D | quic_test_support.h | 50 std::unique_ptr<ProtocolConnection> connection) override { in OnIncomingConnection() 54 void(std::unique_ptr<ProtocolConnection>& connection));
|
/external/openscreen/osp/demo/ |
D | osp_demo.cc | 173 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>>>
|