Searched refs:activeDevices (Results 1 – 10 of 10) sorted by relevance
105 List<BluetoothDevice> activeDevices = in getA2dpActiveDevice() local107 return (activeDevices.size() > 0) ? activeDevices.get(0) : null; in getA2dpActiveDevice()
556 ArrayList<BluetoothDevice> activeDevices = new ArrayList<>(); in getActiveDevices() local557 activeDevices.add(null); in getActiveDevices()558 activeDevices.add(null); in getActiveDevices()563 return activeDevices; in getActiveDevices()574 activeDevices.set(1, device); in getActiveDevices()576 activeDevices.set(0, device); in getActiveDevices()581 return activeDevices; in getActiveDevices()
129 List<BluetoothDevice> activeDevices = new ArrayList<>(); in getActiveDevices() local130 activeDevices.add(mTestDevice); in getActiveDevices()131 when(mService.getActiveDevices()).thenReturn(activeDevices); in getActiveDevices()
330 List<BluetoothDevice> activeDevices = hearingAidProfile.getActiveDevices(); in findActiveHearingAidDevice() local331 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()349 List<BluetoothDevice> activeDevices = leAudioProfile.getActiveDevices(); in findActiveLeAudioDevice() local350 for (BluetoothDevice leAudioDevice : activeDevices) { in findActiveLeAudioDevice()
233 List<BluetoothDevice> activeDevices = hearingAidProfile.getActiveDevices(); in findActiveHearingAidDevice() local234 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()
1091 int activeDevices = 0;1103 activeDevices++;1118 activeDevices++;1123 activeDevices++;1142 activeDevices++;1151 if (activeDevices > 1) {
516 List<BluetoothDevice> activeDevices = in getA2dpActiveDevice() local518 return (activeDevices.size() > 0) ? activeDevices.get(0) : null; in getA2dpActiveDevice()
1359 List<BluetoothDevice> activeDevices = getActiveDevices(BluetoothProfile.A2DP); in switchBufferSizeCallback() local1360 if (activeDevices.size() != 1) { in switchBufferSizeCallback()1364 + activeDevices.size()); in switchBufferSizeCallback()1374 switchBufferSizeIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, activeDevices.get(0)); in switchBufferSizeCallback()1384 List<BluetoothDevice> activeDevices = getActiveDevices(BluetoothProfile.A2DP); in switchCodecCallback() local1385 if (activeDevices.size() != 1) { in switchCodecCallback()1389 + activeDevices.size()); in switchCodecCallback()1392 mA2dpService.switchCodecByBufferSize(activeDevices.get(0), isLowLatencyBufferSize); in switchCodecCallback()3327 List<BluetoothDevice> activeDevices = new ArrayList<>(); in getActiveDevices() local3336 activeDevices.add(device); in getActiveDevices()[all …]
2728 ArrayList<BluetoothDevice> activeDevices = new ArrayList<>(2); in getActiveDevices() local2729 activeDevices.add(null); in getActiveDevices()2730 activeDevices.add(null); in getActiveDevices()2734 return activeDevices; in getActiveDevices()2738 activeDevices.set(0, leadDevice); in getActiveDevices()2747 activeDevices.set(i++, dev); in getActiveDevices()2750 activeDevices.add(dev); in getActiveDevices()2753 return activeDevices; in getActiveDevices()
2541 List<BluetoothDevice> activeDevices = mService.getActiveDevices(); in testSendPreferredAudioProfileChangeToAudioFramework() local2542 assertThat(activeDevices.get(0)).isNull(); in testSendPreferredAudioProfileChangeToAudioFramework()2543 assertThat(activeDevices.get(1)).isNull(); in testSendPreferredAudioProfileChangeToAudioFramework()