Home
last modified time | relevance | path

Searched refs:setHearingAidInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java201 verify(mCachedDevice1, never()).setHearingAidInfo(any(HearingAidInfo.class)); in initHearingAidDeviceIfNeeded_asha_invalidHiSyncId_notToSetHearingAidInfo()
223 verify(mCachedDevice1).setHearingAidInfo(new HearingAidInfo.Builder().build()); in initHearingAidDeviceIfNeeded_asha_scanFilterNotNull_setEmptyHearingAidInfo()
244 verify(mCachedDevice1, never()).setHearingAidInfo(any(HearingAidInfo.class)); in initHearingAidDeviceIfNeeded_asha_randomScanFilter_notToSetHearingAidInfo()
264 verify(mCachedDevice1).setHearingAidInfo(any(HearingAidInfo.class)); in initHearingAidDeviceIfNeeded_leAudio_validInfo_setHearingAidInfo()
287 verify(mCachedDevice1, never()).setHearingAidInfo(any(HearingAidInfo.class)); in initHearingAidDeviceIfNeeded_leAudio_invalidInfo_notToSetHearingAidInfo()
295 mCachedDevice1.setHearingAidInfo(getLeftAshaHearingAidInfo(HISYNCID1)); in setSubDeviceIfNeeded_sameHiSyncId_setSubDevice()
296 mCachedDevice2.setHearingAidInfo(getRightAshaHearingAidInfo(HISYNCID1)); in setSubDeviceIfNeeded_sameHiSyncId_setSubDevice()
310 mCachedDevice1.setHearingAidInfo(getLeftAshaHearingAidInfo(HISYNCID1)); in setSubDeviceIfNeeded_differentHiSyncId_notSetSubDevice()
311 mCachedDevice2.setHearingAidInfo(getRightAshaHearingAidInfo(HISYNCID2)); in setSubDeviceIfNeeded_differentHiSyncId_notSetSubDevice()
498 verify(mCachedDevice1).setHearingAidInfo(any(HearingAidInfo.class)); in updateHearingAidsDevices_leAudio_validInfo_setHearingAidInfo()
[all …]
DCachedBluetoothDeviceTest.java698 mCachedDevice.setHearingAidInfo(getLeftAshaHearingAidInfo()); in getConnectionSummary_testSingleProfileActiveDeviceHearingAid()
717 mCachedDevice.setHearingAidInfo(getLeftAshaHearingAidInfo()); in getTvConnectionSummary_testSingleProfileActiveDeviceHearingAid()
762 mCachedDevice.setHearingAidInfo(getLeftAshaHearingAidInfo()); in getConnectionSummary_testHearingAidLeftEarBatteryNotInCall_returnActiveBattery()
778 mCachedDevice.setHearingAidInfo(getLeftAshaHearingAidInfo()); in getTvConnectionSummary_testHearingAidLeftEarBatteryWithoutInCall_returnBattery()
794 mCachedDevice.setHearingAidInfo(getLeftAshaHearingAidInfo()); in getConnectionSummary_testHearingAidLeftEarBatteryInCall_returnActiveBattery()
811 mCachedDevice.setHearingAidInfo(getLeftAshaHearingAidInfo()); in getTvConnectionSummary_testHearingAidLeftEarBatteryInCall_returnBattery()
828 mCachedDevice.setHearingAidInfo(getRightAshaHearingAidInfo()); in getConnectionSummary_testHearingAidRightEarInCall_returnActiveRightEar()
843 mCachedDevice.setHearingAidInfo(getRightAshaHearingAidInfo()); in getTvConnectionSummary_testHearingAidRightEarInCall_returnActiveRightEar()
858 mCachedDevice.setHearingAidInfo(getRightAshaHearingAidInfo()); in getConnectionSummary_testHearingAidBothEarInCall_returnActiveBothEar()
860 mSubCachedDevice.setHearingAidInfo(getLeftAshaHearingAidInfo()); in getConnectionSummary_testHearingAidBothEarInCall_returnActiveBothEar()
[all …]
DCachedBluetoothDeviceManagerTest.java332 cachedDevice1.setHearingAidInfo( in onDeviceUnpaired_unpairHearingAidMainDevice()
334 cachedDevice2.setHearingAidInfo( in onDeviceUnpaired_unpairHearingAidMainDevice()
618 cachedDevice1.setHearingAidInfo( in onActiveDeviceChanged_validHiSyncId_callExpectedFunction()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManager.java75 newDevice.setHearingAidInfo(info); in initHearingAidDeviceIfNeeded()
87 newDevice.setHearingAidInfo(new HearingAidInfo.Builder().build()); in initHearingAidDeviceIfNeeded()
138 cachedDevice.setHearingAidInfo(info); in updateHearingAidsDevices()
DLocalBluetoothProfileManager.java362 cachedDevice.setHearingAidInfo(infoBuilder.build()); in onReceiveInternal()
383 cachedDevice.setHearingAidInfo(infoBuilder.build()); in onReceiveInternal()
DCachedBluetoothDevice.java416 public void setHearingAidInfo(HearingAidInfo hearingAidInfo) { in setHearingAidInfo() method in CachedBluetoothDevice