Home
last modified time | relevance | path

Searched refs:devices (Results 1 – 14 of 14) 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.py237 devices = enumerate_android_devices()
239 if len(devices) > 0:
241 for device in devices:
244 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/bluetooth/src/android/bluetooth/cts/
DBasicAdapterTest.java163 Set<BluetoothDevice> devices = adapter.getBondedDevices(); in test_getBondedDevices() local
164 assertNotNull(devices); in test_getBondedDevices()
165 for (BluetoothDevice device : devices) { in test_getBondedDevices()
/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.java294 private void scanPeripheralList(AudioDeviceInfo[] devices) { in scanPeripheralList() argument
304 for (AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
/cts/apps/CameraITS/pymodules/its/
Ddevice.py985 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]
/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) {