Home
last modified time | relevance | path

Searched refs:devices (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DDeviceUtils.java34 AudioDeviceInfo[] devices = audioMgr.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in hasOutputDevice() local
35 return devices.length != 0; in hasOutputDevice()
39 AudioDeviceInfo[] devices = audioMgr.getDevices(AudioManager.GET_DEVICES_INPUTS); in hasInputDevice() local
40 return devices.length != 0; in hasInputDevice()
DRoutingTest.java669 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in test_MediaPlayer_RoutingChangedCallback() local
670 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()
/cts/hostsidetests/theme/
Dandroid_device.py122 devices = subprocess.check_output(["adb", "devices"])
123 if not devices:
126 devices = devices.decode('UTF-8').split('\n')[1:]
129 for device in devices:
Dgenerate_images.py238 devices = enumerate_android_devices()
240 if len(devices) > 0:
242 for device in devices:
245 result = execute_parallel(tasks, setup, device_queue, len(devices))
DREADME20 specific themes and widgets that must be identical across devices. To pass the
64 adb devices
89 For a list of devices and their DPI buckets, see Device Metrics:
91 https://design.google.com/devices/
124 adb devices
/cts/common/device-side/test-app/
Drun_tests.sh20 if [ `adb devices | wc -l` -lt 3 ]; then
26 SERIAL=`adb devices | egrep -o "^\w+" | tail -n1`
/cts/tests/tests/net/
DAndroid.bp64 // devices.
77 // be installed on release devices at any point in the release cycle and are useful for qualifying
78 // mainline modules on release devices.
/cts/hostsidetests/hdmicec/
DREADME.md1 # CEC CTS testing for Android TV devices
12 ### Playback devices (aka Set Top Boxes)
Dcec_adapter.md63 Nov 18 16:15:46 path: /sys/devices/pci0000:00/0000:00:14.0/usb2/2-9
78 * Show all connected devices
136 : lists active devices on the bus
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBasicAdapterTest.java193 Set<BluetoothDevice> devices = adapter.getBondedDevices(); in test_getBondedDevices() local
194 assertNotNull(devices); in test_getBondedDevices()
195 for (BluetoothDevice device : devices) { in test_getBondedDevices()
/cts/apps/CameraITS/pymodules/its/
Ddevice.py987 devices = []
994 devices.append(device_info[0])
996 if len(devices) == 0:
998 elif device_id is not None and device_id not in devices:
1000 elif device_id is None and len(devices) >= 2:
1003 elif len(devices) == 1:
1004 device_id = devices[0]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralActivity.java118 private void scanPeripheralList(AudioDeviceInfo[] devices) { in scanPeripheralList() argument
125 for(AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
DProAudioActivity.java314 private void scanPeripheralList(AudioDeviceInfo[] devices) { in scanPeripheralList() argument
324 for (AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java385 JSONObject[] devices = new JSONObject[vkjson.length()]; in getVulkanDevices() local
387 devices[i] = vkjson.getJSONObject(i); in getVulkanDevices()
389 return devices; in getVulkanDevices()
/cts/tools/cts-media/
Dget_achievable_rates.py239 self.devices = set()
243 devs = sorted(self.devices)
300 self.devices.add(data[0])
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DVulkanDeviceInfo.java385 JSONArray devices = parent.getJSONArray(KEY_DEVICES); in emitDevices() local
387 for (int deviceIdx = 0; deviceIdx < devices.length(); deviceIdx++) { in emitDevices()
388 JSONObject device = devices.getJSONObject(deviceIdx); in emitDevices()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java929 String[] devices;
934 devices = mCameraManager.getCameraIdList();
935 if (devices == null || devices.length == 0) {