Lines Matching defs:device
64 CoreSimulatorSupport::Device device(GetSimulatorDevice());
66 if (device.GetState() != CoreSimulatorSupport::Device::State::Booted) {
68 device.Boot(boot_err);
73 auto spawned = device.Spawn(launch_info);
108 CoreSimulatorSupport::Device device = devices.GetDeviceAtIndex(i);
109 strm << " " << device.GetUDID() << ": " << device.GetName() << "\n";
113 strm << "Current device: " << m_device->GetUDID() << ": "
118 strm << "\nType \"platform connect <ARG>\" where <ARG> is a device "
119 "UDID or a device name to disconnect and connect to a "
120 "different device.\n";
123 strm << "No current device is selected, \"platform connect <ARG>\" "
124 "where <ARG> is a device UDID or a device name to connect to "
125 "a specific device.\n";
151 [this, &arg_str](const CoreSimulatorSupport::Device &device) -> bool {
152 if (arg_str == device.GetUDID() || arg_str == device.GetName()) {
153 m_device = device;
161 "no device with UDID or name '%s' was found", arg_cstr);
166 "device you want to connect to.");