Searched refs:mHearingAidProfile (Results 1 – 5 of 5) sorted by relevance
95 private HearingAidProfile mHearingAidProfile; field in HandsFreeProfileOutputPreferenceControllerTest129 when(mLocalBluetoothProfileManager.getHearingAidProfile()).thenReturn(mHearingAidProfile); in setUp()176 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in setActiveBluetoothDevice_btDeviceWithHisyncId_shouldSetBtDeviceActive()180 verify(mHearingAidProfile).setActiveDevice(mLeftBluetoothHapDevice); in setActiveBluetoothDevice_btDeviceWithHisyncId_shouldSetBtDeviceActive()195 verify(mHearingAidProfile, never()).setActiveDevice(mBluetoothDevice); in setActiveBluetoothDevice_btDeviceWithoutHisyncId_shouldSetBtDeviceActive()210 verify(mHearingAidProfile).setActiveDevice(null); in setActiveBluetoothDevice_setNull_shouldSetNullToBothProfiles()334 when(mHearingAidProfile.getConnectedDevices()).thenReturn(mProfileConnectedDevices); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName()335 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName()336 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName()359 when(mHearingAidProfile.getConnectedDevices()).thenReturn(mProfileConnectedDevices); in updateState_moreThanOneHapBtDevicesAreAvailable_shouldSetActivatedDeviceName()[all …]
105 private HearingAidProfile mHearingAidProfile; field in AudioOutputSwitchPreferenceControllerTest138 when(mLocalBluetoothProfileManager.getHearingAidProfile()).thenReturn(mHearingAidProfile); in setUp()265 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in findActiveHearingAidDevice_leftActiveDevice_returnLeftDeviceAsActiveHapDevice()283 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in findActiveHearingAidDevice_rightActiveDevice_returnRightDeviceAsActiveHapDevice()301 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in findActiveHearingAidDevice_twoActiveDevice_returnActiveDeviceInConnectedDevices()317 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in findActiveHearingAidDevice_noActiveDevice_returnNull()332 when(mHearingAidProfile.getConnectedDevices()).thenReturn(mProfileConnectedDevices); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList()333 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList()334 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID2); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList()352 when(mHearingAidProfile.getConnectedDevices()).thenReturn(mProfileConnectedDevices); in getConnectedHearingAidDevices_deviceHisyncIdIsSame_shouldAddOneToList()[all …]
95 private HearingAidProfile mHearingAidProfile; field in MediaOutputPreferenceControllerTest129 when(mLocalBluetoothProfileManager.getHearingAidProfile()).thenReturn(mHearingAidProfile); in setUp()260 when(mHearingAidProfile.getConnectedDevices()).thenReturn(mHearingAidActiveDevices); in updateState_withConnectedHADevice_preferenceVisible()268 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in updateState_withConnectedHADevice_preferenceVisible()283 when(mHearingAidProfile.getConnectedDevices()).thenReturn(mHearingAidActiveDevices); in updateState_withActiveHADevice_setActivatedDeviceName()284 when(mHearingAidProfile.getActiveDevices()).thenReturn(mHearingAidActiveDevices); in updateState_withActiveHADevice_setActivatedDeviceName()
89 private HearingAidProfile mHearingAidProfile; field in AccessibilityHearingAidPreferenceControllerTest113 when(mHearingAidProfile.getConnectedDevices()).thenReturn(generateHearingAidDeviceList()); in onHearingAidStateChanged_connected_updateHearingAidSummary()161 when(mHearingAidProfile.getConnectedDevices()).thenReturn(generateHearingAidDeviceList()); in handleHearingAidPreferenceClick_withHearingAid_launchBluetoothDeviceDetailSetting()186 when(mHearingAidProfile.getConnectedDevices()).thenReturn(generateHearingAidDeviceList()); in getConnectedHearingAidDevice_doNotReturnSubDevice()200 when(mLocalBluetoothProfileManager.getHearingAidProfile()).thenReturn(mHearingAidProfile); in setupBluetoothEnvironment()
70 private HearingAidProfile mHearingAidProfile; field in MediaOutputIndicatorSliceTest100 when(mLocalBluetoothProfileManager.getHearingAidProfile()).thenReturn(mHearingAidProfile); in setUp()152 when(mHearingAidProfile.getConnectedDevices()).thenReturn(mDevicesList); in getSlice_HADeviceActive_verifyName()153 when(mHearingAidProfile.getActiveDevices()).thenReturn(mDevicesList); in getSlice_HADeviceActive_verifyName()