Home
last modified time | relevance | path

Searched refs:json_message (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc_operator/
Dsignal_handler.cpp39 Json::Value json_message; in OnReceive() local
44 if (!json_reader->parse(str, str + len, &json_message, &errorMessage)) { in OnReceive()
50 if (!json_message.isMember(webrtc_signaling::kTypeField) || in OnReceive()
51 !json_message[webrtc_signaling::kTypeField].isString()) { in OnReceive()
59 auto type = json_message[webrtc_signaling::kTypeField].asString(); in OnReceive()
60 handleMessage(type, json_message); in OnReceive()
Dclient_handler.cpp226 Json::Value json_message; in DoPost() local
232 if (!json_reader->parse(data.c_str(), data.c_str() + data.size(), &json_message, in DoPost()
240 if (json_message.isMember(webrtc_signaling::kClientSecretField)) { in DoPost()
242 json_message[webrtc_signaling::kClientSecretField].asString(); in DoPost()
250 return DoPostInner(poll_handler, json_message); in DoPost()
/device/google/cuttlefish/guest/hals/camera/
Dvsock_frame_provider.cpp29 Json::Value json_message; in writeJsonEventMessage() local
30 json_message["event"] = message; in writeJsonEventMessage()
31 return connection && connection->WriteMessage(json_message); in writeJsonEventMessage()