Searched refs:mSecondBluetoothDevice (Results 1 – 2 of 2) sorted by relevance
121 private BluetoothDevice mSecondBluetoothDevice; field in HandsFreeProfileOutputPreferenceControllerTest162 mSecondBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_2)); in setUp()163 when(mSecondBluetoothDevice.getName()).thenReturn(TEST_DEVICE_NAME_2); in setUp()164 when(mSecondBluetoothDevice.getAlias()).thenReturn(TEST_DEVICE_NAME_2); in setUp()165 when(mSecondBluetoothDevice.isConnected()).thenReturn(true); in setUp()300 connectedDevices.add(mSecondBluetoothDevice); in updateState_moreThanOneHfpBtDevicesAreAvailable_shouldSetActivatedDeviceName()302 when(mHeadsetProfile.getActiveDevice()).thenReturn(mSecondBluetoothDevice); in updateState_moreThanOneHfpBtDevicesAreAvailable_shouldSetActivatedDeviceName()602 mController.mConnectedDevices.add(mSecondBluetoothDevice); in onPreferenceChange_toBtDevices_shouldSetSecondBtDeviceName()
151 private BluetoothDevice mSecondBluetoothDevice; field in MediaOutputPreferenceControllerTest218 mSecondBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_2)); in setUp()219 when(mSecondBluetoothDevice.getName()).thenReturn(TEST_DEVICE_NAME_2); in setUp()220 when(mSecondBluetoothDevice.isConnected()).thenReturn(true); in setUp()280 mProfileConnectedDevices.add(mSecondBluetoothDevice); in updateState_withConnectedBtDevice_withoutActiveBtDevice_setDefaultSummary()300 mProfileConnectedDevices.add(mSecondBluetoothDevice); in updateState_withActiveBtDevice_setActivatedDeviceName()333 when(mCachedBluetoothDeviceR.getDevice()).thenReturn(mSecondBluetoothDevice); in updateState_withActiveLeAudioDevice_setActivatedDeviceName()337 mProfileConnectedDevices.add(mSecondBluetoothDevice); in updateState_withActiveLeAudioDevice_setActivatedDeviceName()