Searched refs:mLeftBluetoothHapDevice (Results 1 – 3 of 3) sorted by relevance
108 private BluetoothDevice mLeftBluetoothHapDevice; field in HandsFreeProfileOutputPreferenceControllerTest142 mLeftBluetoothHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_3)); in setUp()143 when(mLeftBluetoothHapDevice.getName()).thenReturn(TEST_HAP_DEVICE_NAME_1); in setUp()144 when(mLeftBluetoothHapDevice.isConnected()).thenReturn(true); in setUp()176 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in setActiveBluetoothDevice_btDeviceWithHisyncId_shouldSetBtDeviceActive()178 mController.setActiveBluetoothDevice(mLeftBluetoothHapDevice); in setActiveBluetoothDevice_btDeviceWithHisyncId_shouldSetBtDeviceActive()180 verify(mHearingAidProfile).setActiveDevice(mLeftBluetoothHapDevice); in setActiveBluetoothDevice_btDeviceWithHisyncId_shouldSetBtDeviceActive()181 verify(mHeadsetProfile, never()).setActiveDevice(mLeftBluetoothHapDevice); in setActiveBluetoothDevice_btDeviceWithHisyncId_shouldSetBtDeviceActive()331 mProfileConnectedDevices.add(mLeftBluetoothHapDevice); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName()333 mHearingAidActiveDevices.add(mLeftBluetoothHapDevice); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName()[all …]
115 private BluetoothDevice mLeftBluetoothHapDevice; field in AudioOutputSwitchPreferenceControllerTest150 mLeftBluetoothHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_2)); in setUp()151 when(mLeftBluetoothHapDevice.isConnected()).thenReturn(true); in setUp()260 mController.mConnectedDevices.add(mLeftBluetoothHapDevice); in findActiveHearingAidDevice_leftActiveDevice_returnLeftDeviceAsActiveHapDevice()262 mHearingAidActiveDevices.add(mLeftBluetoothHapDevice); in findActiveHearingAidDevice_leftActiveDevice_returnLeftDeviceAsActiveHapDevice()267 assertThat(mController.findActiveHearingAidDevice()).isEqualTo(mLeftBluetoothHapDevice); in findActiveHearingAidDevice_leftActiveDevice_returnLeftDeviceAsActiveHapDevice()298 mHearingAidActiveDevices.add(mLeftBluetoothHapDevice); in findActiveHearingAidDevice_twoActiveDevice_returnActiveDeviceInConnectedDevices()314 mController.mConnectedDevices.add(mLeftBluetoothHapDevice); in findActiveHearingAidDevice_noActiveDevice_returnNull()330 mProfileConnectedDevices.add(mLeftBluetoothHapDevice); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList()333 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList()[all …]
108 private BluetoothDevice mLeftBluetoothHapDevice; field in MediaOutputPreferenceControllerTest142 mLeftBluetoothHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_3)); in setUp()143 when(mLeftBluetoothHapDevice.getName()).thenReturn(TEST_HAP_DEVICE_NAME_1); in setUp()144 when(mLeftBluetoothHapDevice.isConnected()).thenReturn(true); in setUp()259 mHearingAidActiveDevices.add(mLeftBluetoothHapDevice); in updateState_withConnectedHADevice_preferenceVisible()282 mHearingAidActiveDevices.add(mLeftBluetoothHapDevice); in updateState_withActiveHADevice_setActivatedDeviceName()