Searched refs:devices (Results 1 – 14 of 14) sorted by relevance
34 AudioDeviceInfo[] devices = audioMgr.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in hasOutputDevice() local35 return devices.length != 0; in hasOutputDevice()39 AudioDeviceInfo[] devices = audioMgr.getDevices(AudioManager.GET_DEVICES_INPUTS); in hasInputDevice() local40 return devices.length != 0; in hasInputDevice()
669 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in test_MediaPlayer_RoutingChangedCallback() local670 if (devices.length < 2) { in test_MediaPlayer_RoutingChangedCallback()699 AudioDeviceInfo[] devices = mAudioManager.getDevices( in test_MediaPlayer_RoutingChangedCallback()701 for (AudioDeviceInfo device : devices) { in test_MediaPlayer_RoutingChangedCallback()
122 devices = subprocess.check_output(["adb", "devices"])123 if not devices:126 devices = devices.decode('UTF-8').split('\n')[1:]129 for device in devices:
237 devices = enumerate_android_devices()239 if len(devices) > 0:241 for device in devices:244 result = execute_parallel(tasks, setup, device_queue, len(devices))
20 specific themes and widgets that must be identical across devices. To pass the64 adb devices89 For a list of devices and their DPI buckets, see Device Metrics:91 https://design.google.com/devices/124 adb devices
20 if [ `adb devices | wc -l` -lt 3 ]; then26 SERIAL=`adb devices | egrep -o "^\w+" | tail -n1`
163 Set<BluetoothDevice> devices = adapter.getBondedDevices(); in test_getBondedDevices() local164 assertNotNull(devices); in test_getBondedDevices()165 for (BluetoothDevice device : devices) { in test_getBondedDevices()
118 private void scanPeripheralList(AudioDeviceInfo[] devices) { in scanPeripheralList() argument125 for(AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
294 private void scanPeripheralList(AudioDeviceInfo[] devices) { in scanPeripheralList() argument304 for (AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
985 devices = []992 devices.append(device_info[0])994 if len(devices) == 0:996 elif device_id is not None and device_id not in devices:998 elif device_id is None and len(devices) >= 2:1001 elif len(devices) == 1:1002 device_id = devices[0]
385 JSONObject[] devices = new JSONObject[vkjson.length()]; in getVulkanDevices() local387 devices[i] = vkjson.getJSONObject(i); in getVulkanDevices()389 return devices; in getVulkanDevices()
239 self.devices = set()243 devs = sorted(self.devices)300 self.devices.add(data[0])
385 JSONArray devices = parent.getJSONArray(KEY_DEVICES); in emitDevices() local387 for (int deviceIdx = 0; deviceIdx < devices.length(); deviceIdx++) { in emitDevices()388 JSONObject device = devices.getJSONObject(deviceIdx); in emitDevices()
929 String[] devices;934 devices = mCameraManager.getCameraIdList();935 if (devices == null || devices.length == 0) {