Searched refs:CastMessageType (Results 1 – 6 of 6) sorted by relevance
/external/openscreen/cast/common/channel/ |
D | message_util.h | 102 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 …]
|
D | message_util.cc | 126 message[kMessageKeyType] = CastMessageTypeToString(CastMessageType::kConnect); in MakeConnectMessage()
|
/external/openscreen/cast/receiver/ |
D | application_agent.cc | 32 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/ |
D | looping_file_cast_agent.cc | 47 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/ |
D | message_util.cc | 43 CastMessageTypeToString(CastMessageType::kGetAppAvailability)); in CreateAppAvailabilityRequest()
|
/external/openscreen/cast/sender/testing/ |
D | test_helpers.cc | 49 CastMessageTypeToString(CastMessageType::kGetAppAvailability)); in VerifyAppAvailabilityRequest()
|