Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/frontend/gcastv2/webrtc/
DMyWebSocketHandler.cpp272 int32_t mid = obj["mid"].asInt(); in handleMessage()
290 int32_t down = obj["down"].asInt(); in handleMessage()
291 int32_t x = obj["x"].asInt(); in handleMessage()
292 int32_t y = obj["y"].asInt(); in handleMessage()
307 int32_t id = obj["id"].asInt(); in handleMessage()
308 int32_t initialDown = obj["initialDown"].asInt(); in handleMessage()
309 int32_t x = obj["x"].asInt(); in handleMessage()
310 int32_t y = obj["y"].asInt(); in handleMessage()
311 int32_t slot = obj["slot"].asInt(); in handleMessage()
/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config.cpp244 int CuttlefishConfig::cpus() const { return (*dictionary_)[kCpus].asInt(); } in cpus()
248 return (*dictionary_)[kMemoryMb].asInt(); in memory_mb()
254 int CuttlefishConfig::dpi() const { return (*dictionary_)[kDpi].asInt(); } in dpi()
257 int CuttlefishConfig::x_res() const { return (*dictionary_)[kXRes].asInt(); } in x_res()
260 int CuttlefishConfig::y_res() const { return (*dictionary_)[kYRes].asInt(); } in y_res()
264 return (*dictionary_)[kRefreshRateHz].asInt(); in refresh_rate_hz()
431 return (*Dictionary())[kVsockGuestCid].asInt(); in vsock_guest_cid()
483 return (*Dictionary())[kHostPort].asInt(); in host_port()
576 return (*Dictionary())[kVncServerPort].asInt(); in vnc_server_port()
584 return (*Dictionary())[kVehicleHalServerPort].asInt(); in vehicle_hal_server_port()
[all …]
/device/google/cuttlefish/host/commands/fetcher/
Dcredential_source.cc55 + std::chrono::seconds(credential_json["expires_in"].asInt()); in RefreshCredential()
/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()