Home
last modified time | relevance | path

Searched refs:CastMessageType (Results 1 – 6 of 6) sorted by relevance

/external/openscreen/cast/common/channel/
Dmessage_util.h102 enum class CastMessageType { enum
164 inline constexpr const char* CastMessageTypeToString(CastMessageType type) { in CastMessageTypeToString()
166 case CastMessageType::kPing: in CastMessageTypeToString()
168 case CastMessageType::kPong: in CastMessageTypeToString()
170 case CastMessageType::kRpc: in CastMessageTypeToString()
172 case CastMessageType::kGetAppAvailability: in CastMessageTypeToString()
174 case CastMessageType::kGetStatus: in CastMessageTypeToString()
176 case CastMessageType::kConnect: in CastMessageTypeToString()
178 case CastMessageType::kCloseConnection: in CastMessageTypeToString()
180 case CastMessageType::kBroadcast: in CastMessageTypeToString()
[all …]
Dmessage_util.cc126 message[kMessageKeyType] = CastMessageTypeToString(CastMessageType::kConnect); in MakeConnectMessage()
/external/openscreen/cast/receiver/
Dapplication_agent.cc32 bool HasType(const Json::Value& object, CastMessageType type) { in HasType()
148 if (HasType(request, CastMessageType::kPing)) { in OnMessage()
154 } else if (HasType(request, CastMessageType::kGetAppAvailability)) { in OnMessage()
156 } else if (HasType(request, CastMessageType::kGetStatus)) { in OnMessage()
158 } else if (HasType(request, CastMessageType::kLaunch)) { in OnMessage()
160 } else if (HasType(request, CastMessageType::kStop)) { in OnMessage()
205 response[kMessageKeyType] = CastMessageTypeToString(CastMessageType::kPong); in HandlePing()
250 CastMessageTypeToString(CastMessageType::kLaunchError); in HandleLaunch()
277 CastMessageTypeToString(CastMessageType::kInvalidRequest); in HandleStop()
289 CastMessageTypeToString(CastMessageType::kInvalidRequest); in HandleInvalidCommand()
[all …]
/external/openscreen/cast/standalone_sender/
Dlooping_file_cast_agent.cc47 bool HasType(const Json::Value& object, CastMessageType type) { in HasType()
165 if (HasType(payload, CastMessageType::kReceiverStatus)) { in OnMessage()
167 } else if (HasType(payload, CastMessageType::kLaunchError)) { in OnMessage()
172 } else if (HasType(payload, CastMessageType::kInvalidRequest)) { in OnMessage()
/external/openscreen/cast/sender/channel/
Dmessage_util.cc43 CastMessageTypeToString(CastMessageType::kGetAppAvailability)); in CreateAppAvailabilityRequest()
/external/openscreen/cast/sender/testing/
Dtest_helpers.cc49 CastMessageTypeToString(CastMessageType::kGetAppAvailability)); in VerifyAppAvailabilityRequest()