Home
last modified time | relevance | path

Searched refs:asInt (Results 1 – 8 of 8) sorted by relevance

/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config_instance.cpp187 return (*Dictionary())[kVsockGuestCid].asInt(); in vsock_guest_cid()
203 return (*Dictionary())[kHostPort].asInt(); in host_port()
211 return (*Dictionary())[kTpmPort].asInt(); in tpm_port()
245 return (*Dictionary())[kVncServerPort].asInt(); in vnc_server_port()
253 return (*Dictionary())[kFramesServerPort].asInt(); in frames_server_port()
261 return (*Dictionary())[kTouchServerPort].asInt(); in touch_server_port()
269 return (*Dictionary())[kKeyboardServerPort].asInt(); in keyboard_server_port()
277 return (*Dictionary())[kKeymasterVsockPort].asInt(); in keymaster_vsock_port()
285 return (*Dictionary())[kGatekeeperVsockPort].asInt(); in gatekeeper_vsock_port()
293 return (*Dictionary())[kTombstoneReceiverPort].asInt(); in tombstone_receiver_port()
[all …]
Dcuttlefish_config.cpp203 int CuttlefishConfig::cpus() const { return (*dictionary_)[kCpus].asInt(); } in cpus()
207 return (*dictionary_)[kMemoryMb].asInt(); in memory_mb()
213 int CuttlefishConfig::dpi() const { return (*dictionary_)[kDpi].asInt(); } in dpi()
216 int CuttlefishConfig::x_res() const { return (*dictionary_)[kXRes].asInt(); } in x_res()
219 int CuttlefishConfig::y_res() const { return (*dictionary_)[kYRes].asInt(); } in y_res()
223 return (*dictionary_)[kRefreshRateHz].asInt(); in refresh_rate_hz()
528 return (*dictionary_)[kBlankDataImageMb].asInt(); in blank_data_image_mb()
620 return (*dictionary_)[kSigServerPort].asInt(); in sig_server_port()
633 ret.first = (*dictionary_)[kWebrtcUdpPortRange][0].asInt(); in webrtc_udp_port_range()
634 ret.second = (*dictionary_)[kWebrtcUdpPortRange][1].asInt(); in webrtc_udp_port_range()
[all …]
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dclient_handler.cpp185 int32_t down = evt["down"].asInt(); in OnMessage()
186 int32_t x = evt["x"].asInt(); in OnMessage()
187 int32_t y = evt["y"].asInt(); in OnMessage()
204 int32_t id = evt["id"].asInt(); in OnMessage()
205 int32_t initialDown = evt["initialDown"].asInt(); in OnMessage()
206 int32_t x = evt["x"].asInt(); in OnMessage()
207 int32_t y = evt["y"].asInt(); in OnMessage()
208 int32_t slot = evt["slot"].asInt(); in OnMessage()
432 auto line_index = candidate_json["sdpMLineIndex"].asInt(); in HandleMessage()
Dstreamer.cpp333 server_message[cuttlefish::webrtc_signaling::kClientIdField].asInt(); in HandleClientMessage()
/device/google/cuttlefish/host/commands/modem_simulator/
Dnvram_config.cpp153 return (*Dictionary())[kNetworkSelectionMode].asInt(); in network_selection_mode()
169 return (*Dictionary())[kModemTechnoloy].asInt(); in modem_technoloy()
177 return (*Dictionary())[kPreferredNetworkMode].asInt(); in preferred_network_mode()
/device/google/cuttlefish/host/commands/fetcher/
Dcredential_source.cc56 + std::chrono::seconds(credential_json["expires_in"].asInt()); in RefreshCredential()
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/
Ddevice_handler.cpp85 size_t client_id = message[webrtc_signaling::kClientIdField].asInt(); in HandleForward()
/device/generic/goldfish-opengl/system/egl/
DeglDisplay.cpp468 intptr_t asInt = (intptr_t)index; in isValidConfig() local
469 return !(asInt < 0 || asInt > m_numConfigs); in isValidConfig()