Searched refs:TYPE_WIFI (Results 1 – 19 of 19) sorted by relevance
25 public static final int TYPE_WIFI = ConnectivityManager.TYPE_WIFI; field in NetworkConfigurationFactory40 case TYPE_WIFI: in createNetworkConfiguration()
80 return NetworkConfigurationFactory.TYPE_WIFI; in getNetworkType()
59 NetworkConfigurationFactory.TYPE_WIFI); in onCreate()
263 if (netInfo.isConnected() && netInfo.getType() == ConnectivityManager.TYPE_WIFI) { in isNetworkConnected()
308 case ConnectivityManager.TYPE_WIFI: { in updateConnectivityStatus()
243 setCurrentNetworkMock(ConnectivityManager.TYPE_WIFI, true); in testIsConnectedToNetwork()249 setCurrentNetworkMock(ConnectivityManager.TYPE_WIFI, false); in testIsConnectedToNetwork()263 setCurrentNetworkMock(ConnectivityManager.TYPE_WIFI, true); in testIsConnectedToWifi()269 setCurrentNetworkMock(ConnectivityManager.TYPE_WIFI, false); in testIsConnectedToWifi()
28 Integer mActiveNetworkType = ConnectivityManager.TYPE_WIFI;40 mActiveNetworkType = ConnectivityManager.TYPE_WIFI; in setUp()
402 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_WIFI; in testSizeLimitOverMobile()585 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_WIFI; in testBasicConnectivityChanges()605 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_WIFI; in testAllowedNetworkTypes()
57 import static android.net.ConnectivityManager.TYPE_WIFI;305 return conn.isNetworkSupported(TYPE_WIFI); in hasWifiRadio()
91 if (connectivityManager.isNetworkSupported(ConnectivityManager.TYPE_WIFI)) { in dumpDataUsage()
239 LinkProperties prop = cm.getLinkProperties(ConnectivityManager.TYPE_WIFI); in getWifiIpAddresses()
118 connectivity.getNetworkInfo(ConnectivityManager.TYPE_WIFI).isConnected(); in isWifiConnected()
267 ConnectivityManager.TYPE_WIFI); in onActivityCreated()
170 if (networkType != ConnectivityManager.TYPE_WIFI) { in AttachmentInfo()
275 return ni.getType() == ConnectivityManager.TYPE_WIFI || in isNetworkConnected()
679 && info.getType() == ConnectivityManager.TYPE_WIFI; in isConnectedToWifi()
520 if (currentConnection.getType() == ConnectivityManager.TYPE_WIFI) { in addSummaryPage()
894 (ecm.getActiveNetworkType() != ConnectivityManager.TYPE_WIFI)) { in processQueue()