Home
last modified time | relevance | path

Searched refs:hearingAidProfile (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/spatial/domain/interactor/
DSpatialAudioComponentInteractorTest.kt78 private val hearingAidProfile: HearingAidProfile = mock { in <lambda>() constant in com.android.systemui.volume.panel.component.spatial.domain.interactor.SpatialAudioComponentInteractorTest
90 .thenReturn(listOf(a2dpProfile, leAudioProfile, hearingAidProfile)) in setup()
142 whenever(hearingAidProfile.isEnabled(bluetoothDevice)).thenReturn(false) in setEnabled_determinedByBluetoothProfile_a2dpProfileEnabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java678 HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in setActive() local
679 if ((hearingAidProfile != null) && isConnectedProfile(hearingAidProfile)) { in setActive()
680 if (hearingAidProfile.setActiveDevice(getDevice())) { in setActive()
951 HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in fetchActiveDevices() local
952 if (hearingAidProfile != null) { in fetchActiveDevices()
953 mIsActiveDeviceHearingAid = hearingAidProfile.getActiveDevices().contains(mDevice); in fetchActiveDevices()
1843 HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in isConnectedAshaHearingAidDevice() local
1844 return hearingAidProfile != null && hearingAidProfile.getConnectionStatus(mDevice) == in isConnectedAshaHearingAidDevice()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java493 final HearingAidProfile hearingAidProfile = mLocalBluetoothManager.getProfileManager() in isActiveDevice() local
495 if (hearingAidProfile != null) { in isActiveDevice()
497 hearingAidProfile.getActiveDevices().contains(device.getDevice()); in isActiveDevice()