Home | History | Annotate | Download | only in client

Lines Matching refs:DEVICE

30 #include "Device.h"
74 Device::DeviceType type = Device::NONE;
80 // Parse the options, look for -e or -d to choose a device.
87 type = Device::EMULATOR;
90 type = Device::DEVICE;
110 // No device specified and more than one connected, bail
111 if (type == Device::NONE && devices.size() > 1) {
112 LOGE("More than one device/emulator, please specify with -e or -d");
119 // Find the correct device
120 const Device* device = NULL;
121 if (type == Device::NONE)
122 device = devices[0]; // grab the only one
124 // Search for a matching device type
127 device = devices[i];
133 if (!device) {
134 LOGE("No device found!");
139 if (!device->sendRequest("forward:tcp:" PORT_STR ";tcp:" PORT_STR)) {