HomeSort by relevance Sort by last modified time
    Searched refs:Device (Results 1 - 25 of 46) sorted by null

1 2

  /external/webkit/WebKit/android/wds/client/
DeviceList.h 31 class Device;
33 typedef android::Vector<Device*> DeviceList;
Device.cpp 27 #include "Device.h"
29 bool Device::sendRequest(const char* req) const {
Device.h 33 class Device {
35 // Type of device.
40 DEVICE
44 Device(char* name, DeviceType type, const AdbConnection* conn)
48 ~Device() { free(m_name); }
53 // Send a request to this device.
main.cpp 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")
120 const Device* device = NULL; local
    [all...]
Android.mk 32 Device.cpp \
AdbConnection.cpp 30 #include "Device.h"
177 // Clear the current device list
185 // Try to send the device list request
187 LOGE("Failed to get device list from adb");
195 log_errno("Failure to read payload size of device list");
210 log_errno("Failure reading the device list");
223 Device::DeviceType t = Device::DEVICE;
226 t = Device::EMULATOR
    [all...]
  /frameworks/base/libs/rs/
rsDevice.cpp 23 Device::Device()
29 Device::~Device()
34 void Device::addContext(Context *rsc)
39 void Device::removeContext(Context *rsc)
53 Device * d = new Device();
59 Device * d = static_cast<Device *>(dev)
    [all...]
rsDevice.h 28 class Device {
30 Device();
31 ~Device();
rsContext.h 54 Context(Device *, bool isGraphics, bool useDepth);
171 Device *mDev;
rsContext.cpp 402 Context::Context(Device *dev, bool isGraphics, bool useDepth)
934 Device * dev = static_cast<Device *>(vdev);
942 Device * dev = static_cast<Device *>(vdev);
  /frameworks/base/core/java/android/bluetooth/
BluetoothClass.java 24 * and capabilities of a device. For example, a Bluetooth class will
25 * specify the general device type such as a phone, a computer, or
29 * exactly one device class. The device class is further broken down into major
30 * and minor device class components.
32 * <p>{@link BluetoothClass} is useful as a hint to roughly describe a device
34 * Bluetooth profiles or services are actually supported by a device. Accurate
41 * a remote device.
47 * constants and methods to determine which Service Class(es) and Device Class
134 * Defines all device class constants
    [all...]
BluetoothPbap.java 162 * Get the currently connected remote Bluetooth device (PCE).
163 * @return The remote Bluetooth device, or null if not in connected or
181 * Returns true if the specified Bluetooth device is connected (does not
185 public boolean isConnected(BluetoothDevice device) {
186 if (DBG) log("isConnected(" + device + ")");
189 return mService.isConnected(device);
219 * This is a simple heuristic that tries to guess if a device with the
222 * @return True if this device might support PBAP.
227 case BluetoothClass.Device.COMPUTER_DESKTOP:
228 case BluetoothClass.Device.COMPUTER_LAPTOP
    [all...]
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
GetPropReceiver.java 24 * {@link #GETPROP_COMMAND} on a device.
32 private Device mDevice = null;
35 * Creates the receiver with the device the receiver will modify.
36 * @param device The device to modify
38 public GetPropReceiver(Device device) {
39 mDevice = device;
72 mDevice.update(Device.CHANGE_BUILD_INFO);
DebugPortManager.java 19 import com.android.ddmlib.Device;
29 * port provider on a per-<code>Client</code> basis, depending on the device/emulator they are
44 * specified {@link Device}.
45 * @param device The device the application is running on.
51 public int getPort(IDevice device, String appName);
DeviceMonitor.java 39 * A Device monitor. This connects to the Android Debug Bridge and get device and
58 private final ArrayList<Device> mDevices = new ArrayList<Device>();
79 new Thread("Device List Monitor") { //$NON-NLS-1$
128 Device[] getDevices() {
130 return mDevices.toArray(new Device[mDevices.size()]);
176 Log.d("DeviceMonitor", "Connected to adb for device monitoring");
241 Log.d("DeviceMonitor", "Connecting to adb for Device List Monitoring...");
281 * Processes an incoming device message from the socke
299 Device device = new Device(this, param[0] \/*serialnumber*\/, local
334 Device device = mDevices.get(d); local
589 Device device = client.getDeviceImpl(); local
627 Device device = (Device)attachment; local
    [all...]
AdbHelper.java 63 * the device.
66 * @param device the device to connect to. Can be null in which case the connection will be
67 * to the first available device.
74 Device device, int devicePort)
82 // if the device is not -1, then we first tell adb we're looking to
83 // talk to a specific device
84 setDevice(adbChan, device);
110 * the device
    [all...]
Client.java 106 private Device mDevice;
123 * @param device the device this client belongs to
127 Client(Device device, SocketChannel chan, int pid) {
128 mDevice = device;
159 /** Returns the {@link Device} on which this Client is running.
161 Device getDeviceImpl() {
ChunkHandler.java 202 Device device = client.getDeviceImpl(); local
203 int newPort = provider.getPort(device, appName);
Device.java 35 * A Device. It can be a physical device or an emulator.
37 final class Device implements IDevice {
44 /** Serial number of the device */
50 /** State of the device. */
53 /** Device properties. */
60 private static final String LOG_TAG = "Device";
124 "Cannot set the AVD name of the device is not an emulator");
139 * Changes the state of the device.
326 Device(DeviceMonitor monitor, String serialNumber, DeviceState deviceState)
    [all...]
  /external/e2fsprogs/lib/ext2fs/
nt_io.c 512 // Flush device
608 IN PCSTR Device,
621 if('\\' == *Device)
622 return Device;
630 if(('/' == *(Device)) &&
631 ('d' == *(Device + 1)) &&
632 ('e' == *(Device + 2)) &&
633 ('v' == *(Device + 3)) &&
634 ('/' == *(Device + 4)))
636 Device += 5
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/
SelectionDependentViewPart.java 25 import org.eclipse.swt.graphics.Device;
29 * A Workbench {@link ViewPart} that requires {@link Device}/{@link Client} selection notifications
61 * Sent when a new {@link Device} is selected.
62 * @param selectedDevice the selected device.
FileExplorerView.java 30 import org.eclipse.swt.graphics.Device;
71 // device explorer
89 pushAction.setToolTipText("Push a file onto the device");
99 pullAction.setToolTipText("Pull a file from the device");
150 * Sent when a new {@link Device} is selected.
151 * @param selectedDevice the selected device.
  /build/core/
device.mk 22 define dump-device
30 $(foreach p,$(DEVICES),$(call dump-device,$(p)))
34 # $(1): device to inherit
36 define inherit-device
42 # $(1): device makefile list
51 # $(1): short device name like "sooner"
53 define _resolve-short-device-name
65 $(error No matches for device "$(dn)"), \
66 $(error Device "$(dn)" ambiguous: matches $(d)) \
72 # $(1): short device name like "sooner
    [all...]
  /frameworks/base/core/java/android/server/
BluetoothEventLoop.java 82 // We always have only 1 device in BONDING state.
87 Log.e(TAG, " There is more than one device in the Bonding State");
165 log ("ClassValue: " + classValue + " for remote device: " + address + " is null");
171 Log.e(TAG, "ERROR: Remote device properties are null");
186 Log.e(TAG, "onDeviceDisconnectRequested: Address of the remote device in null");
202 // Incoming connection, we haven't seen this device, add to cache.
289 Log.e(TAG, "onDevicePropertyChanged: Address of the remote device in null");
293 log("Device property changed:" + address + "property:" + name);
295 BluetoothDevice device = mAdapter.getRemoteDevice(address); local
299 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
511 BluetoothDevice device = mAdapter.getRemoteDevice(address); local
    [all...]
  /frameworks/base/libs/ui/tests/
InputReader_test.cpp 365 struct Device {
374 Device(const String8& name, uint32_t classes) :
379 KeyedVector<int32_t, Device*> mDevices;
394 Device* device = new Device(name, classes); local
395 mDevices.add(deviceId, device);
413 Device* device = getDevice(deviceId); local
421 device->axes.add(axis, info)
425 Device* device = getDevice(deviceId); local
430 Device* device = getDevice(deviceId); local
435 Device* device = getDevice(deviceId); local
440 Device* device = getDevice(deviceId); local
476 Device* device = getDevice(deviceId); local
481 Device* device = getDevice(deviceId); local
487 Device* device = getDevice(deviceId); local
500 Device* device = getDevice(deviceId); local
531 Device* device = getDevice(deviceId); local
542 Device* device = getDevice(deviceId); local
553 Device* device = getDevice(deviceId); local
566 Device* device = getDevice(deviceId); local
794 InputDevice* device = mNextDevice; local
840 InputDevice* device = new InputDevice(mReader.get(), deviceId, name); local
    [all...]

Completed in 1809 milliseconds

1 2