/development/tools/hosttestlib/src/com/android/hosttest/ |
D | DeviceConnector.java | 46 for (IDevice device : adbBridge.getDevices()) { in connectToDevice() 48 return device; in connectToDevice() 49 } else if (deviceSerial.equals(device.getSerialNumber())) { in connectToDevice() 50 return device; in connectToDevice() 57 IDevice device = listener.waitForDevice(MAX_WAIT_DEVICE_TIME); in connectToDevice() local 59 if (device == null) { in connectToDevice() 62 System.out.println(String.format("Connected to %s", device.getSerialNumber())); in connectToDevice() 64 return device; in connectToDevice() 78 public void deviceChanged(IDevice device, int changeMask) { in deviceChanged() argument 81 public void deviceConnected(IDevice device) { in deviceConnected() argument [all …]
|
D | DeviceTestCase.java | 41 public void setDevice(IDevice device) { in setDevice() argument 42 mDevice = device; in setDevice()
|
/development/tools/labpretest/ |
D | labpretest.sh | 24 device='' 31 d) device="$OPTARG";; 80 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'` 86 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'` 113 while [ "$device" != "$fdevice" -a $n -le 30 ]; do 115 fdevice=`$FASTBOOT devices | sed -n "s/\($device\).*/\1/ p"` 140 $ADB -s $device reboot bootloader 158 $FASTBOOT -s $device reboot-bootloader 177 $FASTBOOT -s $device reboot 178 $ADB -s $device wait-for-device [all …]
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
D | AdbTestActivity.java | 60 for (UsbDevice device : mManager.getDeviceList().values()) { in onCreate() 61 UsbInterface intf = findAdbInterface(device); in onCreate() 62 if (setAdbInterface(device, intf)) { in onCreate() 108 public void deviceOnline(AdbDevice device) { in deviceOnline() argument 110 m.obj = device; in deviceOnline() 114 private void handleDeviceOnline(AdbDevice device) { in handleDeviceOnline() argument 115 log("device online: " + device.getSerial()); in handleDeviceOnline() 116 device.openSocket("shell:exec logcat"); in handleDeviceOnline() 120 private boolean setAdbInterface(UsbDevice device, UsbInterface intf) { in setAdbInterface() argument 131 if (device != null && intf != null) { in setAdbInterface() [all …]
|
D | AdbMessage.java | 106 public boolean write(AdbDevice device) { in write() argument 107 synchronized (device) { in write() 108 UsbRequest request = device.getOutRequest(); in write() 113 request = device.getOutRequest(); in write() 118 device.releaseOutRequest(request); in write() 124 device.releaseOutRequest(request); in write()
|
D | AdbSocket.java | 29 public AdbSocket(AdbDevice device, int id) { in AdbSocket() argument 30 mDevice = device; in AdbSocket()
|
/development/ndk/platforms/android-3/include/linux/ |
D | device.h | 30 struct device; 48 int (*match)(struct device * dev, struct device_driver * drv); 49 int (*uevent)(struct device *dev, char **envp, 51 int (*probe)(struct device * dev); 52 int (*remove)(struct device * dev); 53 void (*shutdown)(struct device * dev); 54 int (*suspend)(struct device * dev, pm_message_t state); 55 int (*resume)(struct device * dev); 58 struct device * bus_find_device(struct bus_type *bus, struct device *start, 59 void *data, int (*match)(struct device *, void *)); [all …]
|
D | clk.h | 15 struct device; 19 struct clk *clk_get(struct device *dev, const char *id);
|
D | transport_class.h | 22 int (*setup)(struct transport_container *, struct device *, 24 int (*configure)(struct transport_container *, struct device *, 26 int (*remove)(struct transport_container *, struct device *,
|
D | attribute_container.h | 25 int (*match)(struct attribute_container *, struct device *); 31 …class_device *attribute_container_find_class_device(struct attribute_container *, struct device *);
|
D | miscdevice.h | 44 struct device; 52 struct device *dev;
|
D | mca.h | 42 struct device dev; 62 struct device dev;
|
/development/tools/emulator/system/camera/ |
D | EmulatedBaseCamera.cpp | 37 struct hw_device_t* device, in EmulatedBaseCamera() argument 48 device->tag = HARDWARE_DEVICE_TAG; in EmulatedBaseCamera() 49 device->version = cameraVersion; in EmulatedBaseCamera() 50 device->module = module; in EmulatedBaseCamera() 51 device->close = NULL; // Must be filled in by child implementation in EmulatedBaseCamera()
|
D | EmulatedBaseCamera.h | 39 struct hw_device_t* device, 65 virtual status_t connectCamera(hw_device_t** device) = 0;
|
D | EmulatedCameraFactory.h | 68 int cameraDeviceOpen(int camera_id, hw_device_t** device); 90 hw_device_t** device);
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | DeviceListFragment.java | 48 private WifiP2pDevice device; field in DeviceListFragment 67 return device; in getDevice() 94 WifiP2pDevice device = (WifiP2pDevice) getListAdapter().getItem(position); in onListItemClick() local 95 ((DeviceActionListener) getActivity()).showDetails(device); in onListItemClick() 125 WifiP2pDevice device = items.get(position); in getView() local 126 if (device != null) { in getView() 130 top.setText(device.deviceName); in getView() 133 bottom.setText(getDeviceStatus(device.status)); in getView() 147 public void updateThisDevice(WifiP2pDevice device) { in updateThisDevice() argument 148 this.device = device; in updateThisDevice() [all …]
|
/development/tools/emulator/opengl/system/gralloc/ |
D | gralloc.cpp | 77 alloc_device_t device; member 87 framebuffer_device_t device; member 417 gralloc_free(&d->device, d->allocListHead->handle); in gralloc_device_close() 765 hw_device_t** device) in gralloc_device_open() argument 773 return sFallback->common.methods->open(&sFallback->common, name, device); in gralloc_device_open() 797 dev->device.common.tag = HARDWARE_DEVICE_TAG; in gralloc_device_open() 798 dev->device.common.version = 0; in gralloc_device_open() 799 dev->device.common.module = const_cast<hw_module_t*>(module); in gralloc_device_open() 800 dev->device.common.close = gralloc_device_close; in gralloc_device_open() 802 dev->device.alloc = gralloc_alloc; in gralloc_device_open() [all …]
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
D | MissileLauncherActivity.java | 99 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onResume() local 101 setDevice(device); in onResume() 103 if (mDevice != null && mDevice.equals(device)) { in onResume() 114 private void setDevice(UsbDevice device) { in setDevice() argument 115 Log.d(TAG, "setDevice " + device); in setDevice() 116 if (device.getInterfaceCount() != 1) { in setDevice() 120 UsbInterface intf = device.getInterface(0); in setDevice() 132 mDevice = device; in setDevice() 134 if (device != null) { in setDevice() 135 UsbDeviceConnection connection = mUsbManager.openDevice(device); in setDevice()
|
/development/tools/emulator/skins/WXGA720/ |
D | layout | 13 device { 45 name device 72 name device
|
/development/tools/emulator/skins/WXGA800/ |
D | layout | 13 device { 45 name device 72 name device
|
/development/tools/emulator/skins/WXGA800-7in/ |
D | layout | 13 device { 46 name device 74 name device
|
/development/tools/emulator/skins/WSVGA/ |
D | layout | 13 device { 45 name device 72 name device
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | DeviceListActivity.java | 111 for (BluetoothDevice device : pairedDevices) { in onCreate() 112 mPairedDevicesArrayAdapter.add(device.getName() + "\n" + device.getAddress()); in onCreate() 185 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 187 if (device.getBondState() != BluetoothDevice.BOND_BONDED) { 188 mNewDevicesArrayAdapter.add(device.getName() + "\n" + device.getAddress());
|
D | BluetoothChatService.java | 129 public synchronized void connect(BluetoothDevice device, boolean secure) { in connect() argument 130 if (D) Log.d(TAG, "connect to: " + device); in connect() 141 mConnectThread = new ConnectThread(device, secure); in connect() 152 device, final String socketType) { in connected() argument 178 bundle.putString(BluetoothChat.DEVICE_NAME, device.getName()); in connected() 355 public ConnectThread(BluetoothDevice device, boolean secure) { in ConnectThread() argument 356 mmDevice = device; in ConnectThread() 364 tmp = device.createRfcommSocketToServiceRecord( in ConnectThread() 367 tmp = device.createInsecureRfcommSocketToServiceRecord( in ConnectThread()
|
/development/tools/labpretest/sholes/ |
D | custom_flash.sh | 33 secure=`$fastboot -s $device getvar secure 2>&1 | sed -n 's/secure: \([a-z]*\)\n*/\1/ p'` 49 log_print "downloading bootloader image to $device"
|