Home | History | Annotate | Download | only in wifi

Lines Matching refs:when

25 import static org.mockito.Mockito.when;
75 when(mContext.getSystemService(WifiManager.class))
77 when(mScreen.findPreference(anyString()))
80 when(mWifiManager.getConnectionInfo()).thenReturn(mWifiInfo);
105 when(mWifiManager.getCurrentNetwork()).thenReturn(null);
106 when(mWifiInfo.getMacAddress()).thenReturn(TEST_MAC_ADDRESS);
117 when(mWifiManager.getCurrentNetwork()).thenReturn(null);
122 when(mWifiInfo.getMacAddress()).thenReturn(null);
126 when(mWifiInfo.getMacAddress()).thenReturn(WifiInfo.DEFAULT_MAC_ADDRESS);
130 when(mWifiInfo.getMacAddress()).thenReturn(TEST_MAC_ADDRESS);