Searched refs:deviceList (Results 1 – 9 of 9) sorted by relevance
56 AudioDeviceInfo[] deviceList; in test_getDevices() local59 deviceList = mAudioManager.getDevices(0); in test_getDevices()60 assertTrue(deviceList != null); in test_getDevices()61 assertTrue(deviceList.length == 0); in test_getDevices()70 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in test_getDevices()71 assertTrue(deviceList != null); in test_getDevices()73 numOutputDevices = deviceList.length; in test_getDevices()86 assertTrue(deviceList[index].isSink()); in test_getDevices()93 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in test_getDevices()94 assertTrue(deviceList != null); in test_getDevices()[all …]
123 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in test_audioTrack_preferredDevice() local124 for (int index = 0; index < deviceList.length; index++) { in test_audioTrack_preferredDevice()125 if (deviceList[index].getType() == AudioDeviceInfo.TYPE_TELEPHONY) { in test_audioTrack_preferredDevice()129 assertTrue(audioTrack.setPreferredDevice(deviceList[index])); in test_audioTrack_preferredDevice()130 assertTrue(audioTrack.getPreferredDevice() == deviceList[index]); in test_audioTrack_preferredDevice()180 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getTelephonyDeviceAndSetInCommunicationMode() local181 for (int index = 0; index < deviceList.length; index++) { in getTelephonyDeviceAndSetInCommunicationMode()182 if (deviceList[index].getType() == AudioDeviceInfo.TYPE_TELEPHONY) { in getTelephonyDeviceAndSetInCommunicationMode()183 telephonyDevice = deviceList[index]; in getTelephonyDeviceAndSetInCommunicationMode()403 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in test_audioRecord_preferredDevice() local[all …]
110 AudioDeviceInfo[] deviceList; in testRouting() local111 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in testRouting()112 assertTrue(deviceList != null); in testRouting()113 for (AudioDeviceInfo devInfo : deviceList) { in testRouting()
101 AudioDeviceInfo[] deviceList; in testRouting() local102 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in testRouting()103 assertTrue(deviceList != null); in testRouting()104 for (AudioDeviceInfo devInfo : deviceList) { in testRouting()
261 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectedDevices() local262 Log.d(TAG, "getConnectedDevices(): size=" + deviceList.size()); in getConnectedDevices()263 for (BluetoothDevice device : deviceList) { in getConnectedDevices()277 List<BluetoothDevice> deviceList = in getDevicesMatchingConnectionStates() local279 assertThat(deviceList).isNotNull(); in getDevicesMatchingConnectionStates()280 for (BluetoothDevice device : deviceList) { in getDevicesMatchingConnectionStates()
99 String deviceList = getDeviceList(); in cect_RemoveDeviceFromNetwork() local100 assertThat(deviceList).doesNotContain(deviceName); in cect_RemoveDeviceFromNetwork()
159 HashMap<String, UsbDevice> deviceList = mUsbManager.getDeviceList(); in connectUSB() local160 Collection<UsbDevice> deviceCollection = deviceList.values(); in connectUSB()
287 HashMap<String, UsbDevice> deviceList = usbManager.getDeviceList(); in getConnectedUsbDevice() local288 Collection<UsbDevice> devices = deviceList.values(); in getConnectedUsbDevice()
716 HashMap<String, UsbDevice> deviceList = usbManager.getDeviceList(); in connect_realUsbDevice_noPermission_throwsSecurityException() local717 assumeFalse(deviceList.isEmpty()); in connect_realUsbDevice_noPermission_throwsSecurityException()719 for (UsbDevice usbDevice : deviceList.values()) { in connect_realUsbDevice_noPermission_throwsSecurityException()