/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/python-packages/gdbrunner/ |
D | __init__.py | 68 if result.device == "-a": 69 result.device = adb.get_device(adb_path=adb_path) 70 elif result.device == "-d": 71 result.device = adb.get_usb_device(adb_path=adb_path) 72 elif result.device == "-e": 73 result.device = adb.get_emulator_device(adb_path=adb_path) 75 result.device = adb.get_device(result.serial, adb_path=adb_path) 78 result.device = None 83 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/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/python-packages/adb/ |
D | test.py | 38 device = adb.get_device('foo') 39 self.assertEqual(device.serial, 'foo') 45 device = adb.get_device() 46 self.assertEqual(device.serial, 'foo') 52 device = adb.get_device('foo') 53 self.assertEqual(device.serial, 'foo') 66 device = adb.get_device() 67 self.assertEqual(device.serial, 'foo')
|
/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 | usb-reset-by-serial.py | 56 def issue_ioctl_to_device(device): argument 60 fd = open(device, "wb") 63 "%s" % (device, e.strerror)) 64 verbose(1, "issuing USBDEVFS_RESET ioctl() to %s" % device) 113 device = None 120 device = "/dev/bus/usb/%03d/%03d" % (p1, p2) 121 verbose(1, "setting device: %s" % device) 128 "%s, invoking reset" % (ser, device)) 129 issue_ioctl_to_device(device)
|
D | lldbclient.py | 84 def get_tracer_pid(device, pid): argument 88 line, _ = device.shell(["grep", "-e", "^TracerPid:", "/proc/{}/status".format(pid)]) 135 def verify_device(root, device): argument 136 names = set([device.get_prop("ro.build.product"), device.get_prop("ro.product.name")]) 143 def get_remote_pid(device, process_name): argument 144 processes = gdbrunner.get_processes(device) 164 def ensure_linker(device, sysroot, interp): argument 195 interp_real, _ = device.shell(["realpath", interp]) 211 device.pull(interp, os.path.join(result, posixpath.basename(interp))) 227 device = args.device [all …]
|
D | gdbclient.py | 84 def get_tracer_pid(device, pid): argument 88 line, _ = device.shell(["grep", "-e", "^TracerPid:", "/proc/{}/status".format(pid)]) 135 def verify_device(root, device): argument 136 names = set([device.get_prop("ro.build.product"), device.get_prop("ro.product.name")]) 143 def get_remote_pid(device, process_name): argument 144 processes = gdbrunner.get_processes(device) 164 def ensure_linker(device, sysroot, interp): argument 195 interp_real, _ = device.shell(["realpath", interp]) 211 device.pull(interp, os.path.join(result, posixpath.basename(interp))) 227 device = args.device [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/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/vndk/tools/sourcedr/Documentation/ |
D | list-installed-files-from-source-dirs.md | 57 `device` or `vendor` directories and installed to the system partition. This 61 the device. The specified path must be relative to the file system root of 62 the device. The default value is `system`. 67 `device:vendor`. 72 List the files from `device/google` and installed to `/system`: 77 --source-filter device/google \ 82 List the files from `device/google` and installed into `/system/lib64` with: 87 --source-filter device/google \
|
/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/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());
|
/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());
|
/development/samples/browseable/RuntimePermissionsWear/ |
D | _index.jd | 9 a wearable device and a mobile device.
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | project.csv | 3 2018/03/02,device/google/cuttlefish_common,,Downstream Only Projects,0,0,0,0,0 44 2018/03/02,device/generic/mini-emulator-mips,device/generic/mini-emulator-mips,Intact Projects,0,0,… 49 2018/03/02,device/huawei/angler-kernel,device/huawei/angler-kernel,Modified Projects,1,0,0,0,0 69 2018/03/02,device/google/marlin,,Downstream Only Projects,0,0,0,0,0 70 2018/03/02,device/generic/uml,,Downstream Only Projects,0,0,0,0,0 71 2018/03/02,device/generic/car,,Downstream Only Projects,0,0,0,0,0 80 2018/03/02,device/google/cuttlefish_kernel,,Downstream Only Projects,0,0,0,0,0 84 2018/03/02,device/google/contexthub,device/google/contexthub,Modified Projects,509,91811,55404,1472… 95 2018/03/02,device/common,device/common,Modified Projects,3,52,14,66,10 100 2018/03/02,device/generic/common,device/generic/common,Modified Projects,1,73,0,73,5 [all …]
|
/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"
|
/development/samples/browseable/NfcProvisioning/ |
D | _index.jd | 8 This sample demonstrates how to provision other devices with a specified device owner using NFC. 9 Install the DeviceOwner sample to an unprovisioned device. Fill in the values below, and bump the
|