/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 128 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, in test3GToWifiNotification() 140 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in test3GToWifiNotification() 141 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_WIFI, networkInfo.getState(), in test3GToWifiNotification() 148 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_WIFI)) { in test3GToWifiNotification() 151 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_WIFI)); in test3GToWifiNotification() 175 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in testConnectToWifi() 176 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_WIFI, networkInfo.getState(), in testConnectToWifi() 186 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testConnectToWifi() 194 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_WIFI)) { in testConnectToWifi() 197 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_WIFI)); in testConnectToWifi() [all …]
|
D | WifiConnectionTest.java | 140 assertTrue(mAct.waitForNetworkState(ConnectivityManager.TYPE_WIFI, in connectToWifi()
|
/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; 49 case TYPE_WIFI: in isActiveNetworkMetered()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 248 assertTrue(mAct.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testWifiReconnectionAfterSleep() 270 mAct.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.DISCONNECTED, in testWifiReconnectionAfterSleep() 281 mAct.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI).getState()); in testWifiReconnectionAfterSleep() 297 mAct.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testWifiReconnectionAfterSleep()
|
/frameworks/base/core/java/android/net/ |
D | NetworkTemplate.java | 20 import static android.net.ConnectivityManager.TYPE_WIFI; 280 case TYPE_WIFI: in matchesWifi() 307 case TYPE_WIFI: in matchesWifiWildcard()
|
D | ConnectivityManager.java | 213 public static final int TYPE_WIFI = 1; field in ConnectivityManager 299 public static final int DEFAULT_NETWORK_PREFERENCE = TYPE_WIFI; 312 case TYPE_WIFI: in getNetworkTypeName()
|
D | NetworkIdentity.java | 19 import static android.net.ConnectivityManager.TYPE_WIFI; 160 } else if (type == TYPE_WIFI) { in buildNetworkIdentity()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 22 import static android.net.ConnectivityManager.TYPE_WIFI; 636 expectPolicyDataEnable(TYPE_WIFI, true); in testNetworkPolicyAppliedCycleLastMonth() 708 expectPolicyDataEnable(TYPE_WIFI, true); in testOverWarningLimitNotification() 732 expectPolicyDataEnable(TYPE_WIFI, true); in testOverWarningLimitNotification() 756 expectPolicyDataEnable(TYPE_WIFI, true); in testOverWarningLimitNotification() 777 expectPolicyDataEnable(TYPE_WIFI, false); in testOverWarningLimitNotification() 797 expectPolicyDataEnable(TYPE_WIFI, true); in testOverWarningLimitNotification() 839 expectPolicyDataEnable(TYPE_WIFI, true); in testMeteredNetworkWithoutLimit() 868 final NetworkInfo info = new NetworkInfo(TYPE_WIFI, 0, null, null); in buildWifi()
|
D | NetworkStatsServiceTest.java | 23 import static android.net.ConnectivityManager.TYPE_WIFI; 1006 final NetworkInfo info = new NetworkInfo(TYPE_WIFI, 0, null, null); in buildWifiState()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | WifiCommand.java | 58 connMgr.setNetworkPreference(ConnectivityManager.TYPE_WIFI); in run()
|
/frameworks/base/docs/html/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/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/ko/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 55 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
|
/frameworks/base/docs/html/intl/ru/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 55 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
|
/frameworks/base/services/java/com/android/server/ |
D | NetworkTimeUpdateService.java | 250 (netInfo.getType() == ConnectivityManager.TYPE_WIFI ||
|
/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/docs/html/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 63 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 281 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_WIFI, in setDeviceWifiAndAirplaneMode()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 168 NetworkInfo info = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in getWiFiIsOn()
|
/frameworks/base/docs/html/intl/es/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 55 <pre>boolean isWiFi = activeNetwork.getType() == ConnectivityManager.TYPE_WIFI;</pre>
|
/frameworks/base/core/java/android/net/http/ |
D | RequestQueue.java | 264 if (info != null && info.getType() == ConnectivityManager.TYPE_WIFI) { in setProxyConfig()
|
/frameworks/base/voip/java/com/android/server/sip/ |
D | SipService.java | 1100 if (mNetworkType == ConnectivityManager.TYPE_WIFI || mNetworkType == -1) { in updateWakeLocks() 1128 if (mSipOnWifiOnly && networkType != ConnectivityManager.TYPE_WIFI) { in onConnectivityChanged()
|