Home | History | Annotate | Download | only in bluetooth

Lines Matching refs:when

23 import static org.mockito.Mockito.when;
68 doReturn(mContext).when(mDashboardFragment).getContext();
69 when(mCachedBluetoothDevice.getDevice()).thenReturn(mBluetoothDevice);
70 when(mLocalManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager);
76 doNothing().when(mBluetoothDeviceUpdater).addPreference(any());
77 doNothing().when(mBluetoothDeviceUpdater).removePreference(any());
82 doReturn(BluetoothDevice.BOND_BONDED).when(mBluetoothDevice).getBondState();
83 doReturn(false).when(mBluetoothDevice).isConnected();
92 doReturn(BluetoothDevice.BOND_NONE).when(mBluetoothDevice).getBondState();
93 doReturn(true).when(mBluetoothDevice).isConnected();