Home
last modified time | relevance | path

Searched refs:getHearingAidType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHapClientProfile.java220 public int getHearingAidType(@NonNull BluetoothDevice device) { in getHearingAidType() method in HapClientProfile
224 return mService.getHearingAidType(device); in getHearingAidType()
DHearingAidDeviceManager.java421 int hearingAidType = hapClientProfile.getHearingAidType(cachedDevice.getDevice()); in generateHearingAidInfo()
DLocalBluetoothProfileManager.java382 .setHapDeviceType(getHapClientProfile().getHearingAidType(device)); in onReceiveInternal()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java260 when(mHapClientProfile.getHearingAidType(mDevice1)).thenReturn(TYPE_BINAURAL); in initHearingAidDeviceIfNeeded_leAudio_validInfo_setHearingAidInfo()
283 when(mHapClientProfile.getHearingAidType(mDevice1)).thenReturn(TYPE_INVALID); in initHearingAidDeviceIfNeeded_leAudio_invalidInfo_notToSetHearingAidInfo()
493 when(mHapClientProfile.getHearingAidType(mDevice1)).thenReturn(TYPE_BINAURAL); in updateHearingAidsDevices_leAudio_validInfo_setHearingAidInfo()
517 when(mHapClientProfile.getHearingAidType(mDevice1)).thenReturn(TYPE_INVALID); in updateHearingAidsDevices_leAudio_invalidInfo_notToSetHearingAidInfo()