/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
H A 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() 789 Assert.assertTrue(mService.getActiveDevices().contains(mLeftDevice)); 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() 819 Assert.assertTrue(mService.getActiveDevices().contains(mRightDevice)); in testConnectionStateChangedAnotherActiveDevice() 820 Assert.assertTrue(mService.getActiveDevices().contains(mLeftDevice)); in testConnectionStateChangedAnotherActiveDevice() [all …]
|
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
H A 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()
|
H A D | BluetoothRouteManager.java | 725 for (BluetoothDevice device : bluetoothHearingAid.getActiveDevices()) {
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
H A 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()
|
H A 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()
|
H A D | MediaOutputPreferenceControllerTest.java | 263 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in updateState_withActiveHADevice_setActivatedDeviceName()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | HearingAidProfile.java | 175 public List<BluetoothDevice> getActiveDevices() { in getActiveDevices() method in HearingAidProfile 177 return mService.getActiveDevices(); in getActiveDevices()
|
H A D | CachedBluetoothDevice.java | 701 mIsActiveDeviceHearingAid = hearingAidProfile.getActiveDevices().contains(mDevice); in fetchActiveDevices()
|
/aosp12/system/bt/binder/android/bluetooth/ |
H A D | IBluetoothLeAudio.aidl | 43 List<BluetoothDevice> getActiveDevices(in AttributionSource attributionSource); in getActiveDevices() method
|
H A D | IBluetoothHearingAid.aidl | 42 List<BluetoothDevice> getActiveDevices(in AttributionSource attributionSource); in getActiveDevices() method
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | CastTile.java | 157 List<CastDevice> activeDevices = getActiveDevices(); in handleClick() 178 List<CastDevice> activeDevices = getActiveDevices(); in willPopDetail() 182 private List<CastDevice> getActiveDevices() { in getActiveDevices() method in CastTile
|
/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothLeAudio.java | 338 public List<BluetoothDevice> getActiveDevices() { in getActiveDevices() method in BluetoothLeAudio 344 service.getActiveDevices(mAttributionSource), mAttributionSource); in getActiveDevices()
|
H A D | BluetoothHearingAid.java | 362 public @NonNull List<BluetoothDevice> getActiveDevices() { in getActiveDevices() method in BluetoothHearingAid 368 service.getActiveDevices(mAttributionSource), mAttributionSource); in getActiveDevices()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/ |
H A 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()
|
/aosp12/packages/apps/Settings/src/com/android/settings/sound/ |
H A D | MediaOutputPreferenceController.java | 123 List<BluetoothDevice> activeDevices = hearingAidProfile.getActiveDevices(); in findActiveHearingAidDevice()
|
H A D | AudioSwitchPreferenceController.java | 250 List<BluetoothDevice> activeDevices = hearingAidProfile.getActiveDevices(); in findActiveHearingAidDevice()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
H A 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()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
H A D | LocalMediaManagerTest.java | 583 when(mHapProfile.getActiveDevices()).thenReturn(new ArrayList<>()); in onDeviceListAdded_haveDisconnectedDevice_addDisconnectedDevice() 746 when(mHapProfile.getActiveDevices()).thenReturn(new ArrayList<>()); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice() 774 when(mHapProfile.getActiveDevices()).thenReturn(new ArrayList<>()); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | BluetoothRouteManagerTest.java | 195 when(mBluetoothHearingAid.getActiveDevices()) in setupConnectedDevices()
|
H A D | BluetoothDeviceManagerTest.java | 237 when(mBluetoothHearingAid.getActiveDevices()).thenReturn(Arrays.asList(device2, null)); in testConnectDisconnectAudioHearingAid()
|
H A D | BluetoothRouteTransitionTests.java | 290 when(mBluetoothHearingAid.getActiveDevices()).thenReturn(Arrays.asList(null, null)); in testTransitions()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
H A D | LocalMediaManager.java | 452 hearingAidProfile.getActiveDevices().contains(device.getDevice()); in isActiveDevice()
|
/aosp12/frameworks/base/services/core/java/com/android/server/media/ |
H A D | BluetoothRouteProvider.java | 411 activeDevices = mHearingAidProfile.getActiveDevices(); in onServiceConnected()
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 11730 Landroid/bluetooth/IBluetoothHearingAid$Stub$Proxy;->getActiveDevices()Ljava/util/List; 11765 Landroid/bluetooth/IBluetoothHearingAid;->getActiveDevices()Ljava/util/List;
|
/aosp12/frameworks/base/boot/ |
H A D | boot-image-profile.txt | 3512 HSPLandroid/bluetooth/BluetoothHearingAid;->getActiveDevices()Ljava/util/List;+]Landroid/bluetooth/…
|