/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 778 Assert.assertTrue(mService.getActiveDevices().contains(mRightDevice)); in testConnectionStateChangedActiveDevice() 779 Assert.assertFalse(mService.getActiveDevices().contains(mLeftDevice)); in testConnectionStateChangedActiveDevice() 783 Assert.assertTrue(mService.getActiveDevices().contains(mRightDevice)); in testConnectionStateChangedActiveDevice() 784 Assert.assertTrue(mService.getActiveDevices().contains(mLeftDevice)); in testConnectionStateChangedActiveDevice() 788 Assert.assertFalse(mService.getActiveDevices().contains(mRightDevice)); in testConnectionStateChangedActiveDevice() 789 Assert.assertTrue(mService.getActiveDevices().contains(mLeftDevice)); in testConnectionStateChangedActiveDevice() 793 Assert.assertFalse(mService.getActiveDevices().contains(mRightDevice)); in testConnectionStateChangedActiveDevice() 794 Assert.assertFalse(mService.getActiveDevices().contains(mLeftDevice)); in testConnectionStateChangedActiveDevice() 814 Assert.assertTrue(mService.getActiveDevices().contains(mRightDevice)); in testConnectionStateChangedAnotherActiveDevice() 815 Assert.assertFalse(mService.getActiveDevices().contains(mLeftDevice)); in testConnectionStateChangedAnotherActiveDevice() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | HandsFreeProfileOutputPreferenceControllerTest.java | 339 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName() 365 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in updateState_moreThanOneHapBtDevicesAreAvailable_shouldSetActivatedDeviceName() 397 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in updateState_hapBtDeviceWithSameId_shouldSetActivatedDeviceName() 431 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in updateState_hapBtDeviceWithSameIdButDifferentOrder_shouldSetActivatedDeviceName() 463 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in updateState_hapBtDeviceWithDifferentId_shouldSetActivatedDeviceName()
|
D | AudioOutputSwitchPreferenceControllerTest.java | 263 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in findActiveHearingAidDevice_leftActiveDevice_returnLeftDeviceAsActiveHapDevice() 281 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in findActiveHearingAidDevice_rightActiveDevice_returnRightDeviceAsActiveHapDevice() 299 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in findActiveHearingAidDevice_twoActiveDevice_returnActiveDeviceInConnectedDevices() 315 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in findActiveHearingAidDevice_noActiveDevice_returnNull()
|
D | MediaOutputPreferenceControllerTest.java | 263 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in updateState_withActiveHADevice_setActivatedDeviceName()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothDeviceManager.java | 164 for (BluetoothDevice device : mBluetoothHearingAidService.getActiveDevices()) { in getUniqueConnectedDevices() 250 for (BluetoothDevice device : mBluetoothHearingAidService.getActiveDevices()) { in disconnectAudio() 303 for (BluetoothDevice device : mBluetoothHearingAidService.getActiveDevices()) { in cacheHearingAidDevice()
|
D | BluetoothRouteManager.java | 725 for (BluetoothDevice device : bluetoothHearingAid.getActiveDevices()) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/ |
D | LeAudioService.java | 401 List<BluetoothDevice> getActiveDevices() { in getActiveDevices() method in LeAudioService 798 public List<BluetoothDevice> getActiveDevices(AttributionSource source) { in getActiveDevices() method in LeAudioService.BluetoothLeAudioBinder 803 return service.getActiveDevices(); in getActiveDevices()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 586 public List<BluetoothDevice> getActiveDevices() { in getActiveDevices() method in HearingAidService 937 public List<BluetoothDevice> getActiveDevices(AttributionSource source) { in getActiveDevices() method in HearingAidService.BluetoothHearingAidBinder 942 return service.getActiveDevices(); in getActiveDevices()
|
/packages/apps/Settings/src/com/android/settings/sound/ |
D | MediaOutputPreferenceController.java | 123 List<BluetoothDevice> activeDevices = hearingAidProfile.getActiveDevices(); in findActiveHearingAidDevice()
|
D | AudioSwitchPreferenceController.java | 250 List<BluetoothDevice> activeDevices = hearingAidProfile.getActiveDevices(); in findActiveHearingAidDevice()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothRouteManagerTest.java | 195 when(mBluetoothHearingAid.getActiveDevices()) in setupConnectedDevices()
|
D | BluetoothDeviceManagerTest.java | 237 when(mBluetoothHearingAid.getActiveDevices()).thenReturn(Arrays.asList(device2, null)); in testConnectDisconnectAudioHearingAid()
|
D | BluetoothRouteTransitionTests.java | 290 when(mBluetoothHearingAid.getActiveDevices()).thenReturn(Arrays.asList(null, null)); in testTransitions()
|