/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/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 …]
|
/development/python-packages/gdbrunner/ |
D | __init__.py | 67 if result.device == "-a": 68 result.device = adb.get_device(adb_path=adb_path) 69 elif result.device == "-d": 70 result.device = adb.get_usb_device(adb_path=adb_path) 71 elif result.device == "-e": 72 result.device = adb.get_emulator_device(adb_path=adb_path) 74 result.device = adb.get_device(result.serial, adb_path=adb_path) 77 result.device = None 93 def get_processes(device): argument 115 output, _ = device.shell([ps_script]) [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()
|
/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 | 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 | clk.h | 15 struct device; 19 struct clk *clk_get(struct device *dev, const char *id);
|
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 *);
|
/development/samples/browseable/DeviceOwner/ |
D | _index.jd | 8 This app demonstrates how to use device owner features. Use the NfcProvisioning sample to set up 9 this app as the device owner of your test device (This requires wiping out the device and resseting 10 it as an unprovisioned device). As a device owner, this app can configure global settings, and
|
/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/scripts/ |
D | gdbclient.py | 85 def get_remote_pid(device, process_name): argument 86 processes = gdbrunner.get_processes(device) 99 def ensure_linker(device, sysroot, is64bit): argument 106 device.pull(remote_path, local_path) 121 device = args.device 131 pid = get_remote_pid(device, args.target_name) 138 binary_file, local = gdbrunner.find_file(device, run_cmd[0], sysroot, 143 binary_file, local = gdbrunner.find_binary(device, pid, sysroot, 212 device = args.device 214 if device is None: [all …]
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
D | DeviceScanActivity.java | 149 final BluetoothDevice device = mLeDeviceListAdapter.getDevice(position); in onListItemClick() local 150 if (device == null) return; in onListItemClick() 152 intent.putExtra(DeviceControlActivity.EXTRAS_DEVICE_NAME, device.getName()); in onListItemClick() 153 intent.putExtra(DeviceControlActivity.EXTRAS_DEVICE_ADDRESS, device.getAddress()); in onListItemClick() 193 public void addDevice(BluetoothDevice device) { in addDevice() argument 194 if(!mLeDevices.contains(device)) { in addDevice() 195 mLeDevices.add(device); in addDevice() 236 BluetoothDevice device = mLeDevices.get(i); in getView() local 237 final String deviceName = device.getName(); in getView() 242 viewHolder.deviceAddress.setText(device.getAddress()); in getView() [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/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/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
D | DeviceListActivity.java | 120 for (BluetoothDevice device : pairedDevices) { in onCreate() 121 pairedDevicesArrayAdapter.add(device.getName() + "\n" + device.getAddress()); in onCreate() 199 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 201 if (device.getBondState() != BluetoothDevice.BOND_BONDED) { 202 mNewDevicesArrayAdapter.add(device.getName() + "\n" + device.getAddress());
|
D | BluetoothChatService.java | 140 public synchronized void connect(BluetoothDevice device, boolean secure) { in connect() argument 141 Log.d(TAG, "connect to: " + device); in connect() 158 mConnectThread = new ConnectThread(device, secure); in connect() 170 device, final String socketType) { in connected() argument 202 bundle.putString(Constants.DEVICE_NAME, device.getName()); in connected() 380 public ConnectThread(BluetoothDevice device, boolean secure) { in ConnectThread() argument 381 mmDevice = device; in ConnectThread() 389 tmp = device.createRfcommSocketToServiceRecord( in ConnectThread() 392 tmp = device.createInsecureRfcommSocketToServiceRecord( in ConnectThread()
|
/development/tools/emulator/skins/WSVGA/ |
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/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/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | MidiOutputPortSelector.java | 59 public void onDeviceOpened(MidiDevice device) { in onPortSelected() 60 if (device == null) { in onPortSelected() 63 mOpenDevice = device; in onPortSelected() 64 mOutputPort = device.openOutputPort(wrapper.getPortIndex()); in onPortSelected()
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | MidiOutputPortSelector.java | 59 public void onDeviceOpened(MidiDevice device) { in onPortSelected() 60 if (device == null) { in onPortSelected() 63 mOpenDevice = device; in onPortSelected() 64 mOutputPort = device.openOutputPort(wrapper.getPortIndex()); in onPortSelected()
|
/development/samples/BluetoothHDP/ |
D | _index.jd | 5 …nstrates how to communicate with a Bluetooth Health Device Profile (HDP) device. This feature is … 8 so on. For a list of supported devices and their corresponding device data 14 … device type include blood pressure monitor, glucose meter, thermometer, etc. Upon connection, th…
|