Searched refs:networkPref (Results 1 – 2 of 2) sorted by relevance
73 final Preference networkPref = mock(Preference.class); in testUpdateWifi_NoNetwork() local74 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateWifi_NoNetwork()85 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_off_white); in testUpdateWifi_NoNetwork()90 final Preference networkPref = mock(Preference.class); in testUpdateWifi_hasEthernet() local91 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateWifi_hasEthernet()102 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_off_white); in testUpdateWifi_hasEthernet()107 final Preference networkPref = mock(Preference.class); in testUpdateWifi_hasEthernetConnected() local108 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateWifi_hasEthernetConnected()119 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_ethernet_white); in testUpdateWifi_hasEthernetConnected()124 final Preference networkPref = mock(Preference.class); in testUpdateWifi_wifiSignal() local[all …]
254 final Preference networkPref = findPreference(KEY_NETWORK); in updateWifi() local255 if (networkPref == null) { in updateWifi()263 networkPref.setIcon(R.drawable.ic_cell_signal_4_white); in updateWifi()266 networkPref.setIcon(R.drawable.ic_cell_signal_3_white); in updateWifi()269 networkPref.setIcon(R.drawable.ic_cell_signal_2_white); in updateWifi()272 networkPref.setIcon(R.drawable.ic_cell_signal_1_white); in updateWifi()276 networkPref.setIcon(R.drawable.ic_cell_signal_0_white); in updateWifi()280 networkPref.setIcon(R.drawable.ic_ethernet_white); in updateWifi()281 networkPref.setSummary(R.string.connectivity_summary_ethernet_connected); in updateWifi()287 networkPref.setIcon(R.drawable.ic_wifi_signal_4_white); in updateWifi()[all …]