Home
last modified time | relevance | path

Searched refs:TYPE_WIFI (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/core/java/android/net/
DNetworkKey.java40 public static final int TYPE_WIFI = 1; field in NetworkKey
59 this.type = TYPE_WIFI; in NetworkKey()
66 case TYPE_WIFI: in NetworkKey()
83 case TYPE_WIFI: in writeToParcel()
109 case TYPE_WIFI: in toString()
DNetworkTemplate.java23 import static android.net.ConnectivityManager.TYPE_WIFI;
357 case TYPE_WIFI: in matchesWifi()
385 case TYPE_WIFI: in matchesWifiWildcard()
DNetworkIdentity.java19 import static android.net.ConnectivityManager.TYPE_WIFI;
187 } else if (type == TYPE_WIFI) { in buildNetworkIdentity()
DConnectivityManager.java427 public static final int TYPE_WIFI = 1; field in ConnectivityManager
561 public static final int DEFAULT_NETWORK_PREFERENCE = TYPE_WIFI;
612 case TYPE_WIFI: in getNetworkTypeName()
683 case TYPE_WIFI: in isNetworkTypeWifi()
1188 } else if (networkType == TYPE_WIFI) { in networkCapabilitiesForFeature()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java124 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifi()
148 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifWithKnownAP()
172 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifWithKnownAP()
196 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testDisconnectWifi()
260 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testDataConnectionOverAMWithWifi()
281 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testDataConnectionWithWifiToAMToWifi()
296 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testDataConnectionWithWifiToAMToWifi()
313 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testWifiStateChange()
/frameworks/support/v4/gingerbread/android/support/v4/net/
DConnectivityManagerCompatGingerbread.java24 import static android.net.ConnectivityManager.TYPE_WIFI;
50 case TYPE_WIFI: in isActiveNetworkMetered()
/frameworks/support/v4/honeycomb_mr2/android/support/v4/net/
DConnectivityManagerCompatHoneycombMR2.java26 import static android.net.ConnectivityManager.TYPE_WIFI;
52 case TYPE_WIFI: in isActiveNetworkMetered()
/frameworks/support/v4/java/android/support/v4/net/
DConnectivityManagerCompat.java20 import static android.net.ConnectivityManager.TYPE_WIFI;
50 case TYPE_WIFI: in isActiveNetworkMetered()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java22 import static android.net.ConnectivityManager.TYPE_WIFI;
614 expectPolicyDataEnable(TYPE_WIFI, true); in testNetworkPolicyAppliedCycleLastMonth()
677 expectPolicyDataEnable(TYPE_WIFI, true); in testOverWarningLimitNotification()
701 expectPolicyDataEnable(TYPE_WIFI, true); in testOverWarningLimitNotification()
725 expectPolicyDataEnable(TYPE_WIFI, true); in testOverWarningLimitNotification()
746 expectPolicyDataEnable(TYPE_WIFI, false); in testOverWarningLimitNotification()
766 expectPolicyDataEnable(TYPE_WIFI, true); in testOverWarningLimitNotification()
808 expectPolicyDataEnable(TYPE_WIFI, true); in testMeteredNetworkWithoutLimit()
837 final NetworkInfo info = new NetworkInfo(TYPE_WIFI, 0, null, null); in buildWifi()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java51 ConnectivityManager.TYPE_WIFI,
230 if (mNetwork.networkInfo.getType() != ConnectivityManager.TYPE_WIFI) { in maybeSetIpv6NdOffload()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java134 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in updateConnectedFlags()
299 && networkInfo.getType() == ConnectivityManager.TYPE_WIFI) { in onReceive()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java216 assertTrue("wifi not connected", waitForNetworkState(ConnectivityManager.TYPE_WIFI, in testWifiReconnectionAfterSleep()
277 waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testWifiReconnectionAfterSleep()
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dconnectivity-monitoring.jd55 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dconnectivity-monitoring.jd55 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dconnectivity-monitoring.jd55 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/
Dconnectivity-monitoring.jd55 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java256 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_WIFI); in isConnectedToWifi()
486 waitForNetworkState(ConnectivityManager.TYPE_WIFI, in connectToWifi()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkScoreCache.java152 if (network.networkKey.type == NetworkKey.TYPE_WIFI) { in buildNetworkKey()
/frameworks/base/core/java/android/view/
DDisplay.java229 public static final int TYPE_WIFI = 3; field in Display
939 case TYPE_WIFI: in typeToString()
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java290 addPresentationDisplaysLocked(mTempDisplays, displayIds, Display.TYPE_WIFI); in getDisplays()
/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java406 case ConnectivityManager.TYPE_WIFI: { in createTemplate()
/frameworks/base/docs/html/training/efficient-downloads/
Dconnectivity_patterns.jd59 case (ConnectivityManager.TYPE_WIFI):
/frameworks/base/docs/html/training/basics/network-ops/
Dmanaging.jd100 NetworkInfo networkInfo = connMgr.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
360 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI;
424 …I.equals(sPref) && networkInfo != null && networkInfo.getType() == ConnectivityManager.TYPE_WIFI) {
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java280 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_WIFI, in setDeviceWifiAndAirplaneMode()
/frameworks/base/docs/html/training/monitoring-device-state/
Dconnectivity-monitoring.jd64 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>

12