Searched refs:deviceList (Results 1 – 5 of 5) sorted by relevance
50 AudioDeviceInfo[] deviceList; in test_getDevices() local53 deviceList = mAudioManager.getDevices(0); in test_getDevices()54 assertTrue(deviceList != null); in test_getDevices()55 assertTrue(deviceList.length == 0); in test_getDevices()60 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in test_getDevices()61 assertTrue(deviceList != null); in test_getDevices()62 numOutputDevices = deviceList.length; in test_getDevices()67 assertTrue(deviceList[index].isSink()); in test_getDevices()74 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in test_getDevices()75 assertTrue(deviceList != null); in test_getDevices()[all …]
108 AudioDeviceInfo[] deviceList; in testRouting() local109 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in testRouting()110 assertTrue(deviceList != null); in testRouting()111 for (AudioDeviceInfo devInfo : deviceList) { in testRouting()
118 AudioDeviceInfo[] deviceList; in testRouting() local119 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in testRouting()120 assertTrue(deviceList != null); in testRouting()121 for (AudioDeviceInfo devInfo : deviceList) { in testRouting()
94 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in test_audioTrack_preferredDevice() local95 for (int index = 0; index < deviceList.length; index++) { in test_audioTrack_preferredDevice()96 assertTrue(audioTrack.setPreferredDevice(deviceList[index])); in test_audioTrack_preferredDevice()97 assertTrue(audioTrack.getPreferredDevice() == deviceList[index]); in test_audioTrack_preferredDevice()310 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in test_audioRecord_preferredDevice() local311 for (int index = 0; index < deviceList.length; index++) { in test_audioRecord_preferredDevice()312 assertTrue(audioRecord.setPreferredDevice(deviceList[index])); in test_audioRecord_preferredDevice()313 assertTrue(audioRecord.getPreferredDevice() == deviceList[index]); in test_audioRecord_preferredDevice()
127 String deviceList = parser.getAttributeValue(NS, DEVICES_ATTR); in getResults() local128 for (String device : deviceList.split(",")) { in getResults()265 StringBuilder deviceList = new StringBuilder(); in writeResults() local271 deviceList.append(","); in writeResults()273 deviceList.append(device); in writeResults()275 serializer.attribute(NS, DEVICES_ATTR, deviceList.toString()); in writeResults()