/cts/tests/tests/media/src/android/media/cts/ |
D | DeviceUtils.java | 34 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()
|
D | AudioCommunicationDeviceTest.java | 49 List<AudioDeviceInfo> devices = mAudioManager.getAvailableCommunicationDevices(); in testSetValidCommunicationDevice() local 50 for (AudioDeviceInfo device : devices) { in testSetValidCommunicationDevice() 195 List<AudioDeviceInfo> devices = mAudioManager.getAvailableCommunicationDevices(); in testCommunicationDeviceListener() local 197 for (AudioDeviceInfo device : devices) { in testCommunicationDeviceListener()
|
D | AudioManagerTest.java | 1717 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_ALL); in testGetAdditionalOutputDeviceDelay() local 1718 for (AudioDeviceInfo device : devices) { in testGetAdditionalOutputDeviceDelay() 1732 List<AudioDeviceAttributes> devices) { in onPreferredDevicesForStrategyChanged() argument 1739 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in testPreferredDevicesForStrategy() local 1740 if (devices.length <= 0) { in testPreferredDevicesForStrategy() 1744 final AudioDeviceAttributes ada = new AudioDeviceAttributes(devices[0]); in testPreferredDevicesForStrategy() 1799 int capturePreset, List<AudioDeviceAttributes> devices) { in onPreferredDevicesForCapturePresetChanged() argument 1805 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in testPreferredDeviceForCapturePreset() local 1806 if (devices.length <= 0) { in testPreferredDeviceForCapturePreset() 1810 final AudioDeviceAttributes ada = new AudioDeviceAttributes(devices[0]); in testPreferredDeviceForCapturePreset() [all …]
|
D | RoutingTest.java | 724 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in test_MediaPlayer_RoutingChangedCallback() local 725 if (devices.length < 2) { in test_MediaPlayer_RoutingChangedCallback() 751 for (AudioDeviceInfo device : devices) { in test_MediaPlayer_RoutingChangedCallback()
|
/cts/hostsidetests/theme/ |
D | android_device.py | 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:
|
D | generate_images.py | 242 devices = enumerate_android_devices() 244 if len(devices) > 0: 246 for device in devices: 249 result = execute_parallel(tasks, setup, device_queue, len(devices))
|
D | README | 20 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/ |
D | run_tests.sh | 20 if [ `adb devices | wc -l` -lt 3 ]; then 26 SERIAL=`adb devices | egrep -o "^\w+" | tail -n1`
|
/cts/hostsidetests/hdmicec/ |
D | README.md | 1 # CEC CTS testing for Android TV devices 13 ### Playback devices (aka Set Top Boxes) 35 ### TV panel devices 37 Running these CTS tests on TV panel devices requires an external CEC adapter. 60 To shard the test (distribute and run the tests on multiple devices), use this
|
D | cec_adapter.md | 63 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/apps/CameraITS/tests/ |
D | its_base_test.py | 73 devices = self.register_controller(android_device, min_number=1) 74 self.dut = devices[0] 96 num_devices = len(devices) 99 self.tablet = devices[1]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | USBRestrictRecordAActivity.java | 150 Object[] devices = deviceCollection.toArray(); in connectUSB() local 151 if (devices.length > 0) { in connectUSB() 152 UsbDevice theDevice = (UsbDevice) devices[0]; in connectUSB()
|
D | AudioFrequencyActivity.java | 179 private void scanPeripheralList(AudioDeviceInfo[] devices) { in scanPeripheralList() argument 186 for(AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
|
D | USBAudioPeripheralActivity.java | 181 private void scanPeripheralList(AudioDeviceInfo[] devices) { in scanPeripheralList() argument 188 for(AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
|
D | USBAudioPeripheralNotificationsTest.java | 184 private void scanDevices(AudioDeviceInfo[] devices) { in scanDevices() argument 188 for (AudioDeviceInfo devInfo : devices) { in scanDevices()
|
D | AnalogHeadsetAudioActivity.java | 416 private void scanPeripheralList(AudioDeviceInfo[] devices) { in scanPeripheralList() argument 418 for(AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
|
D | AudioLoopbackLatencyActivity.java | 175 protected void scanPeripheralList(AudioDeviceInfo[] devices) { in scanPeripheralList() argument 185 for (AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
|
/cts/tools/cts-tradefed/ |
D | README | 14 - supports sharding a CTS test run across multiple devices in parallel 33 4. Ensure device is visible via 'adb devices' 58 To shard a plan test run on multiple devices 60 note: all connected devices must be running the same build
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BasicAdapterTest.java | 194 Set<BluetoothDevice> devices = adapter.getBondedDevices(); in test_getBondedDevices() local 195 assertNotNull(devices); in test_getBondedDevices() 196 for (BluetoothDevice device : devices) { in test_getBondedDevices()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | TelecomManagerTest.java | 188 AudioDeviceInfo[] devices = audioManager.getDevices(AudioManager.GET_DEVICES_ALL); in isWiredHeadsetPluggedIn() local 190 for (AudioDeviceInfo device : devices) { in isWiredHeadsetPluggedIn()
|
/cts/hostsidetests/dexmetadata/host/ |
D | README.md | 3 All AOSP compatible devices ship with the Google-managed fs-verity certificate
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanFeaturesTest.java | 452 JSONObject[] devices = new JSONObject[devicesArray.length()]; in getVulkanDevices() local 454 devices[i] = devicesArray.getJSONObject(i); in getVulkanDevices() 456 return devices; in getVulkanDevices()
|
/cts/tools/cts-media/ |
D | get_achievable_rates.py | 239 self.devices = set() 243 devs = sorted(self.devices) 300 self.devices.add(data[0])
|
/cts/apps/CameraITS/utils/ |
D | sensor_fusion_utils.py | 75 devices = list_ports.comports() 76 for device in devices:
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | VulkanDeviceInfo.java | 385 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()
|