/external/openscreen/cast/common/channel/ |
D | namespace_router_unittest.cc | 21 using ::cast::channel::CastMessage; 38 CastMessage message; in TEST_F() 55 CastMessage message) { in TEST_F() 60 CastMessage message) { in TEST_F() 64 CastMessage auth_message; in TEST_F() 68 CastMessage connection_message; in TEST_F() 86 CastMessage message) { EXPECT_EQ("two", message.namespace_()); })); in TEST_F() 88 CastMessage message1; in TEST_F() 92 CastMessage message2; in TEST_F()
|
D | cast_socket_unittest.cc | 16 using ::cast::channel::CastMessage; 27 message_.set_protocol_version(CastMessage::CASTV2_1_0); in SetUp() 31 message_.set_payload_type(CastMessage::STRING); in SetUp() 45 CastMessage message_; 85 .WillOnce(Invoke([this](CastSocket* socket, CastMessage message) { in TEST_F() 97 .WillOnce(Invoke([this](CastSocket* socket, CastMessage message) { in TEST_F() 110 .WillOnce(Invoke([this](CastSocket* socket, CastMessage message) { in TEST_F() 117 .WillOnce(Invoke([this](CastSocket* socket, CastMessage message) { in TEST_F() 125 CastMessage message2; in TEST_F() 127 message2.set_protocol_version(CastMessage::CASTV2_1_0); in TEST_F() [all …]
|
D | message_util.cc | 23 using ::cast::channel::CastMessage; 78 CastMessage MakeConnectionMessage(const std::string& source_id, in MakeConnectionMessage() 80 CastMessage connect_message; in MakeConnectionMessage() 103 CastMessage MakeSimpleUTF8Message(const std::string& namespace_, in MakeSimpleUTF8Message() 105 CastMessage message; in MakeSimpleUTF8Message() 113 CastMessage MakeConnectMessage(const std::string& source_id, in MakeConnectMessage() 115 CastMessage connect_message = in MakeConnectMessage() 148 CastMessage MakeCloseMessage(const std::string& source_id, in MakeCloseMessage() 150 CastMessage close_message = MakeConnectionMessage(source_id, destination_id); in MakeCloseMessage()
|
D | virtual_connection_router_unittest.cc | 35 using ::cast::channel::CastMessage; 170 CastMessage message; in TEST_F() 176 message.set_payload_type(CastMessage::STRING); in TEST_F() 198 CastMessage message; in TEST_F() 204 message.set_payload_type(CastMessage::STRING); in TEST_F() 228 CastMessage message; in TEST_F() 234 message.set_payload_type(CastMessage::STRING); in TEST_F() 240 WithArg<2>(Invoke([&message](CastMessage message_at_destination) { in TEST_F() 282 CastMessage message; in TEST_F() 286 message.set_payload_type(CastMessage::STRING); in TEST_F() [all …]
|
D | message_framer_unittest.cc | 21 using ::cast::channel::CastMessage; 37 cast_message_.set_protocol_version(CastMessage::CASTV2_1_0); in SetUp() 41 cast_message_.set_payload_type(CastMessage::STRING); in SetUp() 58 CastMessage cast_message_; 81 const CastMessage& message = result.value().message; in TEST_F() 86 CastMessage big_message; in TEST_F() 100 const CastMessage& message = result.value().message; in TEST_F()
|
D | connection_namespace_handler.h | 65 ::cast::channel::CastMessage message) override; 69 ::cast::channel::CastMessage message, 72 ::cast::channel::CastMessage message, 75 ::cast::channel::CastMessage message,
|
D | connection_namespace_handler_unittest.cc | 31 using ::cast::channel::CastMessage; 45 CastMessage MakeVersionedConnectMessage( in MakeVersionedConnectMessage() 50 CastMessage connect_message = MakeConnectMessage(source_id, destination_id); in MakeVersionedConnectMessage() 69 void VerifyConnectionMessage(const CastMessage& message, in VerifyConnectionMessage() 79 Json::Value ParseConnectionMessage(const CastMessage& message) { in ParseConnectionMessage() 105 CastMessage message) { in ExpectCloseMessage() 122 CastSocket* socket, CastMessage message) { in ExpectConnectedMessage()
|
D | connection_namespace_handler.cc | 25 using ::cast::channel::CastMessage; 118 CastMessage message) { in OnMessage() 160 CastMessage message, in HandleConnect() 238 CastMessage message, in HandleClose() 253 CastMessage message, in HandleConnectedResponse() 277 ::cast::channel::CastMessage message = in SendConnect() 283 ::cast::channel::CastMessage message = in SendClose()
|
D | message_util.h | 220 inline bool IsAuthMessage(const ::cast::channel::CastMessage& message) { in IsAuthMessage() 229 ::cast::channel::CastMessage MakeSimpleUTF8Message( 233 ::cast::channel::CastMessage MakeConnectMessage( 236 ::cast::channel::CastMessage MakeCloseMessage(
|
D | virtual_connection_router.h | 98 ::cast::channel::CastMessage message); 101 ::cast::channel::CastMessage message); 106 ::cast::channel::CastMessage message) override;
|
D | message_framer.h | 25 const ::cast::channel::CastMessage& message); 28 ::cast::channel::CastMessage message;
|
/external/openscreen/cast/sender/testing/ |
D | test_helpers.h | 15 class CastMessage; variable 22 void VerifyAppAvailabilityRequest(const ::cast::channel::CastMessage& message, 26 void VerifyAppAvailabilityRequest(const ::cast::channel::CastMessage& message, 31 ::cast::channel::CastMessage CreateAppAvailableResponseChecked( 35 ::cast::channel::CastMessage CreateAppUnavailableResponseChecked(
|
D | test_helpers.cc | 18 using ::cast::channel::CastMessage; 20 void VerifyAppAvailabilityRequest(const CastMessage& message, in VerifyAppAvailabilityRequest() 30 void VerifyAppAvailabilityRequest(const CastMessage& message, in VerifyAppAvailabilityRequest() 68 CastMessage CreateAppAvailableResponseChecked(int request_id, in CreateAppAvailableResponseChecked() 71 ErrorOr<CastMessage> message = in CreateAppAvailableResponseChecked() 77 CastMessage CreateAppUnavailableResponseChecked(int request_id, in CreateAppUnavailableResponseChecked() 80 ErrorOr<CastMessage> message = in CreateAppUnavailableResponseChecked()
|
/external/openscreen/cast/sender/ |
D | cast_app_discovery_service_impl_unittest.cc | 22 using ::cast::channel::CastMessage; 71 .WillOnce([request_id, sender_id](CastSocket*, CastMessage message) { in StartSourceA1Query() 108 CastMessage availability_response = in TEST_F() 131 CastMessage availability_response = in TEST_F() 154 CastMessage availability_response = in TEST_F() 185 CastSocket*, CastMessage message) { in TEST_F() 202 CastMessage availability_response = in TEST_F() 220 .WillOnce([&request_idB, &sender_id](CastSocket*, CastMessage message) { in TEST_F() 236 .WillOnce([&request_idA, &sender_id](CastSocket*, CastMessage message) { in TEST_F() 244 .WillOnce([&request_idB, &sender_id](CastSocket*, CastMessage message) { in TEST_F() [all …]
|
D | cast_platform_client_unittest.cc | 24 using ::cast::channel::CastMessage; 62 CastMessage message) { in TEST_F() 74 CastMessage availability_response = in TEST_F() 90 CastMessage message) { in TEST_F() 103 CastMessage availability_response = in TEST_F()
|
/external/openscreen/cast/sender/channel/ |
D | message_util.cc | 14 using ::cast::channel::CastMessage; 17 CastMessage CreateAuthChallengeMessage(const AuthContext& auth_context) { in CreateAuthChallengeMessage() 18 CastMessage message; in CreateAuthChallengeMessage() 28 message.set_protocol_version(CastMessage::CASTV2_1_0); in CreateAuthChallengeMessage() 38 ErrorOr<CastMessage> CreateAppAvailabilityRequest(const std::string& sender_id, in CreateAppAvailabilityRequest() 49 CastMessage message; in CreateAppAvailabilityRequest()
|
D | cast_auth_util.h | 20 class CastMessage; variable 57 const ::cast::channel::CastMessage& challenge_reply, 66 const ::cast::channel::CastMessage& challenge_reply,
|
D | message_util.h | 17 ::cast::channel::CastMessage CreateAuthChallengeMessage( 21 ErrorOr<::cast::channel::CastMessage> CreateAppAvailabilityRequest(
|
/external/openscreen/cast/receiver/channel/ |
D | device_auth_namespace_handler_unittest.cc | 28 using ::cast::channel::CastMessage; 84 CastMessage auth_challenge; in TEST_F() 89 CastMessage challenge_reply; in TEST_F() 92 Invoke([&challenge_reply](CastSocket* socket, CastMessage message) { in TEST_F() 134 CastMessage auth_challenge; in TEST_F() 152 CastMessage challenge_reply; in TEST_F() 155 Invoke([&challenge_reply](CastSocket* socket, CastMessage message) { in TEST_F() 186 CastMessage auth_challenge; in TEST_F() 203 CastMessage challenge_reply; in TEST_F() 206 Invoke([&challenge_reply](CastSocket* socket, CastMessage message) { in TEST_F()
|
D | message_util.cc | 14 using ::cast::channel::CastMessage; 18 ErrorOr<CastMessage> CreateAppAvailabilityResponse( in CreateAppAvailabilityResponse() 23 CastMessage availability_response; in CreateAppAvailabilityResponse() 50 ErrorOr<CastMessage> CreateAppAvailableResponse(int request_id, in CreateAppAvailableResponse() 57 ErrorOr<CastMessage> CreateAppUnavailableResponse(int request_id, in CreateAppUnavailableResponse()
|
D | device_auth_namespace_handler.cc | 23 using ::cast::channel::CastMessage; 33 CastMessage GenerateErrorMessage(AuthError::ErrorType error_type) { in GenerateErrorMessage() 40 CastMessage response; in GenerateErrorMessage() 59 CastMessage message) { in OnMessage() 148 CastMessage response; in OnMessage()
|
D | message_util.h | 18 ErrorOr<::cast::channel::CastMessage> CreateAppAvailableResponse( 22 ErrorOr<::cast::channel::CastMessage> CreateAppUnavailableResponse(
|
/external/openscreen/cast/receiver/ |
D | application_agent_unittest.cc | 31 using ::cast::channel::CastMessage; 71 CastMessage TestAuthChallengeMessage() { in TestAuthChallengeMessage() 72 CastMessage message; in TestAuthChallengeMessage() 174 static Json::Value ValidateAndParseMessage(const CastMessage& message, in ValidateAndParseMessage() 189 static CastMessage MakeCastMessage(const std::string& source_id, in MakeCastMessage() 193 CastMessage message = MakeSimpleUTF8Message(the_namespace, json); in MakeCastMessage() 208 .WillOnce(Invoke([](CastSocket*, CastMessage message) { in ConnectAndDoAuth() 221 .WillOnce(Invoke([](CastSocket*, CastMessage message) { in TearDown() 274 .WillOnce(Invoke([&](CastSocket*, CastMessage message) { in TEST_F() 299 .WillRepeatedly(Invoke([&num_pongs](CastSocket*, CastMessage message) { in TEST_F() [all …]
|
/external/openscreen/cast/common/public/ |
D | cast_socket.h | 17 class CastMessage; variable 37 ::cast::channel::CastMessage message) = 0; 47 [[nodiscard]] Error Send(const ::cast::channel::CastMessage& message);
|
/external/openscreen/cast/test/ |
D | device_auth_test.cc | 27 using ::cast::channel::CastMessage; 62 CastMessage auth_challenge = CreateAuthChallengeMessage(auth_context); in RunAuthTest() 81 CastMessage challenge_reply; in RunAuthTest() 84 Invoke([&challenge_reply](CastSocket* socket, CastMessage message) { in RunAuthTest()
|