/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 789 Assert.assertTrue(mService.getActiveDevices().contains(mRightDevice)); in testConnectionStateChangedActiveDevice() 790 Assert.assertFalse(mService.getActiveDevices().contains(mLeftDevice)); in testConnectionStateChangedActiveDevice() 794 Assert.assertTrue(mService.getActiveDevices().contains(mRightDevice)); in testConnectionStateChangedActiveDevice() 795 Assert.assertTrue(mService.getActiveDevices().contains(mLeftDevice)); in testConnectionStateChangedActiveDevice() 799 Assert.assertFalse(mService.getActiveDevices().contains(mRightDevice)); in testConnectionStateChangedActiveDevice() 800 Assert.assertTrue(mService.getActiveDevices().contains(mLeftDevice)); in testConnectionStateChangedActiveDevice() 804 Assert.assertFalse(mService.getActiveDevices().contains(mRightDevice)); in testConnectionStateChangedActiveDevice() 805 Assert.assertFalse(mService.getActiveDevices().contains(mLeftDevice)); in testConnectionStateChangedActiveDevice() 826 Assert.assertTrue(mService.getActiveDevices().contains(mRightDevice)); in testConnectionStateChangedAnotherActiveDevice() 827 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 | 262 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/hearingaid/ |
D | HearingAidService.java | 573 public List<BluetoothDevice> getActiveDevices() { in getActiveDevices() method in HearingAidService 920 public List<BluetoothDevice> getActiveDevices() { in getActiveDevices() method in HearingAidService.BluetoothHearingAidBinder 925 return service.getActiveDevices(); in getActiveDevices()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/ |
D | MediaOutputPreferenceController.java | 111 List<BluetoothDevice> activeDevices = hearingAidProfile.getActiveDevices(); in findActiveHearingAidDevice()
|
D | AudioSwitchPreferenceController.java | 279 List<BluetoothDevice> activeDevices = hearingAidProfile.getActiveDevices(); in findActiveHearingAidDevice()
|
/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/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/media/ |
D | MediaOutputIndicatorSlice.java | 166 final 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()
|