Searched refs:isWifiConnected (Results 1 – 10 of 10) sorted by relevance
196 if (isWifiConnected()) { in getWifiIpAddress()209 if (isWifiConnected() && mWifiManager.getConnectionInfo() != null) { in getWifiMacAddress()264 public boolean isWifiConnected() { in isWifiConnected() method in ConnectivityListener
201 mConnectivityListener.isWifiConnected()); in onPreferenceTreeClick()
72 assertThat(JobPreconditions.isWifiConnected(mContext)).isFalse(); in testNoNetworks()84 assertThat(JobPreconditions.isWifiConnected(mContext)).isTrue(); in testValidWifiNetworkConnected()
141 public static boolean isWifiConnected(Context context) { in isWifiConnected() method in WirelessDebuggingPreferenceController156 if (enabled && !isWifiConnected(mContext)) { in onPreferenceChange()
126 if (isChecked && !WirelessDebuggingPreferenceController.isWifiConnected(mContext)) { in onSwitchToggled()
39 protected static boolean isWifiConnected(Context context) { in isWifiConnected() method in ShadowWirelessDebuggingPreferenceController
26 public static boolean isWifiConnected(Context context) { in isWifiConnected() method in JobPreconditions
133 doReturn(true).when(listener).isWifiConnected(); in testUpdateConnectivity_wifiSignal()164 doReturn(false).when(listener).isWifiConnected(); in testUpdateConnectivity_wifiSignal()
415 if (isEnabled && !WirelessDebuggingPreferenceController.isWifiConnected(mContext)) { in setIsEnabled()
353 if (mConnectivityListener.isWifiConnected()) { in updateConnectivity()