Searched refs:asInt (Results 1 – 4 of 4) sorted by relevance
272 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()
246 int CuttlefishConfig::cpus() const { return (*dictionary_)[kCpus].asInt(); } in cpus()250 return (*dictionary_)[kMemoryMb].asInt(); in memory_mb()256 int CuttlefishConfig::dpi() const { return (*dictionary_)[kDpi].asInt(); } in dpi()259 int CuttlefishConfig::x_res() const { return (*dictionary_)[kXRes].asInt(); } in x_res()262 int CuttlefishConfig::y_res() const { return (*dictionary_)[kYRes].asInt(); } in y_res()266 return (*dictionary_)[kRefreshRateHz].asInt(); in refresh_rate_hz()433 return (*Dictionary())[kVsockGuestCid].asInt(); in vsock_guest_cid()485 return (*Dictionary())[kHostPort].asInt(); in host_port()578 return (*Dictionary())[kVncServerPort].asInt(); in vnc_server_port()586 return (*Dictionary())[kVehicleHalServerPort].asInt(); in vehicle_hal_server_port()[all …]
55 + std::chrono::seconds(credential_json["expires_in"].asInt()); in RefreshCredential()
468 intptr_t asInt = (intptr_t)index; in isValidConfig() local469 return !(asInt < 0 || asInt > m_numConfigs); in isValidConfig()