Home
last modified time | relevance | path

Searched refs:to_string (Results 1 – 25 of 26) sorted by relevance

12

/device/google/cuttlefish/common/libs/utils/
Dtee_logging.cpp47 || env_value == std::to_string((int) VERBOSE)) { in GuessSeverity()
50 || env_value == std::to_string((int) DEBUG)) { in GuessSeverity()
53 || env_value == std::to_string((int) INFO)) { in GuessSeverity()
56 || env_value == std::to_string((int) WARNING)) { in GuessSeverity()
59 || env_value == std::to_string((int) ERROR)) { in GuessSeverity()
62 || env_value == std::to_string((int) FATAL_WITHOUT_ABORT)) { in GuessSeverity()
65 || env_value == std::to_string((int) FATAL)) { in GuessSeverity()
Denvironment.cpp66 format.append(std::to_string(upper)).append("s"); in HostArch()
/device/google/cuttlefish/host/libs/config/
Ddata_image.cpp102 "-s", std::to_string(image_size_sectors), in CreateBlankImage()
103 "-C", std::to_string(num_mb) + "M", in CreateBlankImage()
104 "-@", std::to_string(offset_size_bytes), in CreateBlankImage()
Dcuttlefish_config.cpp890 return MutableInstanceSpecific(this, std::to_string(num)); in ForInstance()
894 return InstanceSpecific(this, std::to_string(num)); in ForInstance()
898 return InstanceSpecific(this, std::to_string(GetInstance())); in ForDefaultInstance()
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/
Ddevice_handler.cpp92 std::to_string(client_id)); in HandleForward()
98 LogAndReplyError("Forward failed: Client " + std::to_string(client_id) + in HandleForward()
/device/google/cuttlefish/host/commands/run_cvd/
Dlaunch.cc24 return std::string{"127.0.0.1:"} + std::to_string(instance.host_port()); in GetAdbConnectorTcpArg()
29 return std::string{"vsock:"} + std::to_string(instance.vsock_guest_cid()) + in GetAdbConnectorVsockArg()
257 auto port_options = "-port=" + std::to_string(instance.vnc_server_port()); in LaunchVNCServer()
423 std::to_string(instance.host_port())); in LaunchSocketVsockProxyIfEnabled()
425 std::to_string(instance.vsock_guest_cid())); in LaunchSocketVsockProxyIfEnabled()
434 std::to_string(instance.host_port())); in LaunchSocketVsockProxyIfEnabled()
436 std::to_string(instance.vsock_guest_cid())); in LaunchSocketVsockProxyIfEnabled()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DHTTPServer.cpp166 std::to_string(httpResultCode) in handleSingleRequest()
187 responseHeaders["Content-Length"] = std::to_string(body.size()); in handleSingleRequest()
333 (*responseHeaders)["Content-Length"] = std::to_string(fileSize); in handleStaticFileRequest()
356 (*responseHeaders)["Content-Length"] = std::to_string(content.size()); in handleStaticFileRequest()
/device/generic/goldfish/camera/
DEmulatedQemuCamera.cpp151 std::string preferred_size = std::to_string(resolutions[0].first) in Initialize()
152 + "x" + std::to_string(resolutions[0].second); in Initialize()
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.cpp331 to_string(descriptor).c_str()); in doGetFunction()
399 output << " " << to_string(capability) << '\n'; in dump()
446 ALOGV("registerCallback(%s, %p, %p)", to_string(descriptor).c_str(), in registerCallback()
454 ALOGI("unregisterCallback(%s)", to_string(descriptor).c_str()); in registerCallback()
623 to_string(Error::BadConfig).c_str()); in getActiveConfig()
643 to_string(attribute).c_str(), *outValue); in getAttribute()
670 to_string(element.second).c_str()); in getChangedCompositionTypes()
816 to_string(error).c_str()); in present()
961 ALOGV("[%" PRIu64 "] setPowerMode(%s)", mId, to_string(mode).c_str()); in setPowerMode()
1011 to_string(request.second).c_str()); in validate()
[all …]
/device/google/cuttlefish/host/libs/vm_manager/
Dvm_manager.cpp147 std::to_string(major) + "." + in LinuxVersionAtLeast()
148 std::to_string(minor)); in LinuxVersionAtLeast()
/device/generic/goldfish/radio/include/telephony/
Dril_mnc.h50 return std::to_string(umnc); in decode()
/device/google/cuttlefish/host/commands/launch/
Dlaunch_cvd.cc170 auto instance_num_str = std::to_string(FLAGS_base_instance_num); in main()
202 std::string instance_name = std::to_string(i + FLAGS_base_instance_num); in main()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dflags.cc517 instance.set_instance_dir(FLAGS_instance_dir + "." + std::to_string(num)); in InitializeCuttlefishConfiguration()
519 instance.set_serial_number(RandomSerialNumber("CFCVD" + std::to_string(num))); in InitializeCuttlefishConfiguration()
521 instance.set_serial_number(FLAGS_serial_number + std::to_string(num)); in InitializeCuttlefishConfiguration()
535 instance.set_adb_ip_and_port("127.0.0.1:" + std::to_string(6520 + num - 1)); in InitializeCuttlefishConfiguration()
577 device_id.replace(pos, strlen("{num}"), std::to_string(num)); in InitializeCuttlefishConfiguration()
950 std::string first_instance = FLAGS_instance_dir + "." + std::to_string(cuttlefish::GetInstance()); in InitFilesystemAndCreateConfig()
/device/google/cuttlefish/host/commands/tombstone_receiver/
Dmain.cpp47 retval += "_" + std::to_string(num_tombstones_in_last_second); in next_tombstone_path()
/device/google/cuttlefish/host/commands/modem_simulator/
Dpdu_parser.cpp238 return std::to_string(lo) + std::to_string(hi); in IntToHexString()
Dnvram_config.cpp99 return InstanceSpecific(this, std::to_string(num)); in ForInstance()
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp1288 std::to_string((int) radioTechnology + 2).c_str(), in setupDataCall()
1289 std::to_string((int) dataProfileInfo.profileId).c_str(), in setupDataCall()
1293 std::to_string((int) dataProfileInfo.authType).c_str(), in setupDataCall()
1306 std::to_string((int) radioTechnology + 2).c_str(), in setupDataCall()
1307 std::to_string((int) dataProfileInfo.profileId).c_str(), in setupDataCall()
1311 std::to_string((int) dataProfileInfo.authType).c_str(), in setupDataCall()
1314 std::to_string(dataProfileInfo.supportedApnTypesBitmap).c_str(), in setupDataCall()
1315 std::to_string(dataProfileInfo.bearerBitmap).c_str(), in setupDataCall()
1317 std::to_string(dataProfileInfo.mtu).c_str(), in setupDataCall()
1465 2, (std::to_string(cid)).c_str(), reasonRadioShutDown ? "1" : "0"); in deactivateDataCall()
[all …]
/device/google/crosshatch/health/
DHealthService.cpp119 if (!android::base::WriteStringToFile(std::to_string(props->batteryLevel), in healthd_board_battery_update()
/device/google/coral/vibrator/tests/
Dtest-vibrator.cpp90 auto string = std::to_string(index) + "." + std::to_string(level); in Queue()
96 auto string = std::to_string(delay); in Queue()
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.cpp318 to_string(descriptor).c_str()); in doGetFunction()
368 ALOGV("registerCallback(%s, %p, %p)", to_string(descriptor).c_str(), in registerCallback()
377 ALOGV("unregisterCallback(%s)", to_string(descriptor).c_str()); in registerCallback()
538 to_string(Error::BadConfig).c_str()); in getActiveConfig()
560 to_string((Attribute)attribute).c_str(), *outValue); in getDisplayAttribute()
588 to_string(element.second).c_str()); in getChangedCompositionTypes()
1003 (uint32_t)mId, to_string(mode).c_str()); in setPowerMode()
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp1270 std::to_string((int) radioTechnology + 2).c_str(), in setupDataCall()
1271 std::to_string((int) dataProfileInfo.profileId).c_str(), in setupDataCall()
1275 std::to_string((int) dataProfileInfo.authType).c_str(), in setupDataCall()
1288 std::to_string((int) radioTechnology + 2).c_str(), in setupDataCall()
1289 std::to_string((int) dataProfileInfo.profileId).c_str(), in setupDataCall()
1293 std::to_string((int) dataProfileInfo.authType).c_str(), in setupDataCall()
1296 std::to_string(dataProfileInfo.supportedApnTypesBitmap).c_str(), in setupDataCall()
1297 std::to_string(dataProfileInfo.bearerBitmap).c_str(), in setupDataCall()
1299 std::to_string(dataProfileInfo.mtu).c_str(), in setupDataCall()
1447 2, (std::to_string(cid)).c_str(), reasonRadioShutDown ? "1" : "0"); in deactivateDataCall()
[all …]
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.h273 name += std::to_string(fd_); in LinkAtCwd()
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dhwcomposer.cpp165 return std::string("Unknown (") + std::to_string(type) + ")"; in CompositionString()
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dclient_handler.cpp64 error_msg += std::to_string(field_type); in validateJsonObject()
/device/generic/goldfish/radio/libril/
Dril_service.cpp1135 std::to_string((int) radioTechnology + 2).c_str(), in setupDataCall()
1136 std::to_string((int) dataProfileInfo.profileId).c_str(), in setupDataCall()
1140 std::to_string((int) dataProfileInfo.authType).c_str(), in setupDataCall()
1153 std::to_string((int) radioTechnology + 2).c_str(), in setupDataCall()
1154 std::to_string((int) dataProfileInfo.profileId).c_str(), in setupDataCall()
1158 std::to_string((int) dataProfileInfo.authType).c_str(), in setupDataCall()
1161 std::to_string(dataProfileInfo.supportedApnTypesBitmap).c_str(), in setupDataCall()
1162 std::to_string(dataProfileInfo.bearerBitmap).c_str(), in setupDataCall()
1164 std::to_string(dataProfileInfo.mtu).c_str(), in setupDataCall()
1312 2, (std::to_string(cid)).c_str(), reasonRadioShutDown ? "1" : "0"); in deactivateDataCall()
[all …]

12