/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/ |
D | device_handler.h | 40 Json::Value device_info() const { return device_info_; } in device_info() 43 void SendClientMessage(size_t client_id, const Json::Value& message); 46 const Json::Value& message) override; 49 int HandleRegistrationRequest(const Json::Value& message); 50 int HandleForward(const Json::Value& message); 53 Json::Value device_info_;
|
D | server_config.cpp | 31 Json::Value ServerConfig::ToJson() const { in ToJson() 32 Json::Value ice_servers(Json::ValueType::arrayValue); in ToJson() 34 Json::Value server; in ToJson() 35 Json::Value urls(Json::ValueType::arrayValue); in ToJson() 40 Json::Value server_config; in ToJson()
|
D | client_handler.cpp | 31 void ClientHandler::SendDeviceMessage(const Json::Value& device_message) { in SendDeviceMessage() 32 Json::Value message; in SendDeviceMessage() 39 const Json::Value& message) { in handleMessage() 50 int ClientHandler::handleConnectionRequest(const Json::Value& message) { in handleConnectionRequest() 76 Json::Value device_info_reply; in handleConnectionRequest() 85 int ClientHandler::handleForward(const Json::Value& message) { in handleForward()
|
D | client_handler.h | 34 void SendDeviceMessage(const Json::Value& message); 37 const Json::Value& message) override; 40 int handleConnectionRequest(const Json::Value& message); 41 int handleForward(const Json::Value& message);
|
D | device_handler.cpp | 43 const Json::Value& message) { in handleMessage() 55 int DeviceHandler::HandleRegistrationRequest(const Json::Value& message) { in HandleRegistrationRequest() 80 int DeviceHandler::HandleForward(const Json::Value& message) { in HandleForward() 107 const Json::Value& client_message) { in SendClientMessage() 108 Json::Value msg; in SendClientMessage()
|
D | signal_handler.h | 38 const Json::Value& message) = 0; 42 void Reply(const Json::Value& json);
|
D | signal_handler.cpp | 40 Json::Value json_message; in handleMessage() 73 void SignalHandler::Reply(const Json::Value& json) { in Reply()
|
D | server_config.h | 28 Json::Value ToJson() const;
|
D | device_list_handler.cpp | 27 Json::Value reply(Json::ValueType::arrayValue); in handleMessage()
|
/device/google/cuttlefish/host/commands/modem_simulator/ |
D | stk_service.cpp | 77 unsol_command += text ? text->Value() : ""; in HandleReportStkServiceIsRunning() 121 if (menu_id_attr && menu_id_attr->Value() == menu_id) { in HandleSendEnvelope() 133 std::string cmd_str = select_item_cmd->Value(); in HandleSendEnvelope() 141 std::string text_value = text ? text->Value() : ""; in HandleSendEnvelope() 196 if (menu_id_attr && menu_id_attr->Value() == *iter) { in GetCurrentSelectItem() 197 auto menu_id_str = menu_id_attr->Value(); in GetCurrentSelectItem() 237 unsol_command += text->Value(); in OnUnsolicitedCommandForTR() 248 unsol_command += text->Value(); in OnUnsolicitedCommandForTR() 257 if (attr && attr->Value() == menu_id) { in OnUnsolicitedCommandForTR() 258 std::string attr_value = attr->Value(); in OnUnsolicitedCommandForTR() [all …]
|
D | nvram_config.h | 70 Json::Value* Dictionary(); 71 const Json::Value* Dictionary() const; 80 std::unique_ptr<Json::Value> dictionary_;
|
D | nvram_config.cpp | 90 : total_instances_(num_instances), dictionary_(new Json::Value()) {} in NvramConfig() 144 const Json::Value* NvramConfig::InstanceSpecific::Dictionary() const { in Dictionary() 148 Json::Value* NvramConfig::InstanceSpecific::Dictionary() { in Dictionary()
|
/device/generic/goldfish/network/wifi_forwarder/ |
D | cache.h | 29 typename Value, 33 using TimedValue = std::pair<Timestamp, Value>; 37 using mapped_type = Value; 43 IterPair(const Key& key, const Value& value) in IterPair() 49 const Value& second; 81 IterPair(const Key& key, Value& value) : first(key), second(value) { } in IterPair() 85 Value& second;
|
/device/google/cuttlefish/host/frontend/webrtc/lib/ |
D | streamer.cpp | 52 void SendJson(WsConnection* ws_conn, const Json::Value& data) { in SendJson() 59 bool ParseMessage(const uint8_t* data, size_t length, Json::Value* msg_out) { in ParseMessage() 130 void SendMessageToClient(int client_id, const Json::Value& msg); 139 void HandleConfigMessage(const Json::Value& msg); 140 void HandleClientMessage(const Json::Value& server_message); 231 Json::Value register_obj; in OnOpen() 237 Json::Value device_info; in OnOpen() 238 Json::Value displays(Json::ValueType::arrayValue); in OnOpen() 242 Json::Value display; in OnOpen() 286 void StreamerImpl::HandleConfigMessage(const Json::Value& server_message) { in HandleConfigMessage() [all …]
|
D | client_handler.h | 41 std::function<void(const Json::Value&)> send_client_cb, 51 void HandleMessage(const Json::Value& client_message); 121 std::function<void(const Json::Value&)> send_client_cb, 131 std::function<void(const Json::Value&)> send_to_client_;
|
D | client_handler.cpp | 55 const Json::Value &obj, const std::string &type, in validateJsonObject() 160 Json::Value evt; in OnMessage() 266 std::function<void(const Json::Value &)> send_to_client_cb, in Create() 274 std::function<void(const Json::Value &)> send_to_client_cb, in ClientHandler() 322 Json::Value reply; in LogAndReplyError() 342 Json::Value reply; in OnCreateSDPSuccess() 362 void ClientHandler::HandleMessage(const Json::Value &message) { in HandleMessage() 496 Json::Value reply; in OnIceCandidate()
|
/device/google/cuttlefish/host/libs/config/ |
D | fetcher_config.cpp | 94 FetcherConfig::FetcherConfig() : dictionary_(new Json::Value()) { in FetcherConfig() 131 Json::Value flags_json(Json::arrayValue); in RecordFlags() 133 Json::Value flag_json; in RecordFlags() 149 CvdFile JsonToCvdFile(const std::string& file_path, const Json::Value& json) { in JsonToCvdFile() 166 Json::Value CvdFileToJson(const CvdFile& cvd_file) { in CvdFileToJson() 167 Json::Value json; in CvdFileToJson() 178 Json::Value files_json(Json::objectValue); in add_cvd_file()
|
D | fetcher_config.h | 23 class Value; variable 67 std::unique_ptr<Json::Value> dictionary_;
|
D | cuttlefish_config.cpp | 344 Json::Value mode_json_obj(Json::arrayValue); in set_adb_mode() 625 Json::Value arr(Json::ValueType::arrayValue); in set_webrtc_udp_port_range() 640 Json::Value arr(Json::ValueType::arrayValue); in set_webrtc_tcp_port_range() 760 Json::Value args_json_obj(Json::arrayValue); in set_boot_image_kernel_cmdline() 768 for (const Json::Value& arg : (*dictionary_)[kBootImageKernelCmdline]) { in boot_image_kernel_cmdline() 775 Json::Value args_json_obj(Json::arrayValue); in set_extra_kernel_cmdline() 783 for (const Json::Value& arg : (*dictionary_)[kExtraKernelCmdline]) { in extra_kernel_cmdline() 790 Json::Value args_json_obj(Json::arrayValue); in set_vm_manager_kernel_cmdline() 798 for (const Json::Value& arg : (*dictionary_)[kVmManagerKernelCmdline]) { in vm_manager_kernel_cmdline() 847 CuttlefishConfig::CuttlefishConfig() : dictionary_(new Json::Value()) {} in CuttlefishConfig()
|
D | cuttlefish_config_instance.cpp | 63 Json::Value* CuttlefishConfig::MutableInstanceSpecific::Dictionary() { in Dictionary() 67 const Json::Value* CuttlefishConfig::InstanceSpecific::Dictionary() const { in Dictionary() 101 Json::Value virtual_disks_json_obj(Json::arrayValue); in set_virtual_disk_paths() 339 Json::Value mac_address_obj(Json::arrayValue); in set_wifi_mac_address()
|
D | cuttlefish_config.h | 25 class Value; variable 347 Json::Value* Dictionary(); 348 const Json::Value* Dictionary() const; 444 Json::Value* Dictionary(); 475 std::unique_ptr<Json::Value> dictionary_;
|
/device/google/cuttlefish/host/commands/fetcher/ |
D | curl_wrapper.h | 40 Json::Value DownloadToJson(const std::string& url); 41 Json::Value DownloadToJson(const std::string& url,
|
D | curl_wrapper.cc | 142 Json::Value CurlWrapper::DownloadToJson(const std::string& url) { in DownloadToJson() 146 Json::Value CurlWrapper::DownloadToJson(const std::string& url, in DownloadToJson() 150 Json::Value json; in DownloadToJson()
|
D | credential_source.cc | 43 Json::Value credential_json = in RefreshCredential()
|
/device/google/cuttlefish/guest/hals/camera/ |
D | CameraConfiguration.cpp | 189 bool ConfigureCameras(const Json::Value& value, in ConfigureCameras() 238 const Json::Value& json_resolutions = in ConfigureCameras() 290 Json::Value root; in Init()
|