/frameworks/base/core/java/android/net/ |
D | NetworkKey.java | 40 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()
|
D | NetworkTemplate.java | 23 import static android.net.ConnectivityManager.TYPE_WIFI; 357 case TYPE_WIFI: in matchesWifi() 385 case TYPE_WIFI: in matchesWifiWildcard()
|
D | NetworkIdentity.java | 19 import static android.net.ConnectivityManager.TYPE_WIFI; 187 } else if (type == TYPE_WIFI) { in buildNetworkIdentity()
|
D | ConnectivityManager.java | 427 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/ |
D | ConnectivityManagerMobileTest.java | 124 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/ |
D | ConnectivityManagerCompatGingerbread.java | 24 import static android.net.ConnectivityManager.TYPE_WIFI; 50 case TYPE_WIFI: in isActiveNetworkMetered()
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/net/ |
D | ConnectivityManagerCompatHoneycombMR2.java | 26 import static android.net.ConnectivityManager.TYPE_WIFI; 52 case TYPE_WIFI: in isActiveNetworkMetered()
|
/frameworks/support/v4/java/android/support/v4/net/ |
D | ConnectivityManagerCompat.java | 20 import static android.net.ConnectivityManager.TYPE_WIFI; 50 case TYPE_WIFI: in isActiveNetworkMetered()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 22 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/ |
D | Nat464Xlat.java | 51 ConnectivityManager.TYPE_WIFI, 230 if (mNetwork.networkInfo.getType() != ConnectivityManager.TYPE_WIFI) { in maybeSetIpv6NdOffload()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 134 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/ |
D | WifiStressTest.java | 216 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/ |
D | connectivity-monitoring.jd | 55 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
|
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 55 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
|
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 55 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
|
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 55 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 256 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/ |
D | WifiNetworkScoreCache.java | 152 if (network.networkKey.type == NetworkKey.TYPE_WIFI) { in buildNetworkKey()
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 229 public static final int TYPE_WIFI = 3; field in Display 939 case TYPE_WIFI: in typeToString()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManager.java | 290 addPresentationDisplaysLocked(mTempDisplays, displayIds, Display.TYPE_WIFI); in getDisplays()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStatsManager.java | 406 case ConnectivityManager.TYPE_WIFI: { in createTemplate()
|
/frameworks/base/docs/html/training/efficient-downloads/ |
D | connectivity_patterns.jd | 59 case (ConnectivityManager.TYPE_WIFI):
|
/frameworks/base/docs/html/training/basics/network-ops/ |
D | managing.jd | 100 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/ |
D | BandwidthTest.java | 280 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_WIFI, in setDeviceWifiAndAirplaneMode()
|
/frameworks/base/docs/html/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 64 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
|