Home
last modified time | relevance | path

Searched refs:getNetworkInfo (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java133 NetworkInfo networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in test3GToWifiNotification()
136 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in test3GToWifiNotification()
171 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in testConnectToWifi()
175 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in testConnectToWifi()
248 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in testConnectToWifWithKnownAP()
253 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in testConnectToWifWithKnownAP()
299 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in testDisconnectWifi()
305 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in testDisconnectWifi()
340 NetworkInfo networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in testDataConnectionWith3GToAmTo3G()
345 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in testDataConnectionWith3GToAmTo3G()
[all …]
/frameworks/base/services/java/com/android/server/
DConnectivityService.java594 if (mNetTrackers[mNetworkPreference].getNetworkInfo().isConnected()) in enforcePreference()
602 mNetTrackers[t].getNetworkInfo().isConnected()) { in enforcePreference()
604 log("tearing down " + mNetTrackers[t].getNetworkInfo() + in enforcePreference()
649 NetworkInfo info = tracker.getNetworkInfo(); in getFilteredNetworkInfo()
669 return getNetworkInfo(mActiveDefaultNetwork, uid); in getActiveNetworkInfo()
675 return getNetworkInfo(mActiveDefaultNetwork, uid); in getActiveNetworkInfoForUid()
679 public NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() method in ConnectivityService
682 return getNetworkInfo(networkType, uid); in getNetworkInfo()
685 private NetworkInfo getNetworkInfo(int networkType, int uid) { in getNetworkInfo() method in ConnectivityService
763 return new NetworkState(tracker.getNetworkInfo(), tracker.getLinkProperties(), in getNetworkStateUnchecked()
[all …]
/frameworks/base/core/java/android/net/
DNetworkStateTracker.java89 public NetworkInfo getNetworkInfo(); in getNetworkInfo() method
DConnectivityManager.java380 public NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() method in ConnectivityManager
382 return mService.getNetworkInfo(networkType); in getNetworkInfo()
DDummyDataStateTracker.java78 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in DummyDataStateTracker
DIConnectivityManager.aidl43 NetworkInfo getNetworkInfo(int networkType); in getNetworkInfo() method
DEthernetDataTracker.java323 public synchronized NetworkInfo getNetworkInfo() { in getNetworkInfo() method in EthernetDataTracker
DMobileDataStateTracker.java160 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in MobileDataStateTracker
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java277 mAct.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI).getState()); in testWifiReconnectionAfterSleep()
281 mAct.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState()); in testWifiReconnectionAfterSleep()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java430 " is: " + mCM.getNetworkInfo(networkType).getState()); in waitForNetworkState()
431 if (mCM.getNetworkInfo(networkType).getState() != expectedState) { in waitForNetworkState()
436 mCM.getNetworkInfo(networkType)); in waitForNetworkState()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestActivity.java366 " is: " + mCM.getNetworkInfo(networkType).getState()); in waitForNetworkState()
367 if (mCM.getNetworkInfo(networkType).getState() != expectedState) { in waitForNetworkState()
372 mCM.getNetworkInfo(networkType)); in waitForNetworkState()
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java189 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in NetworkConnectivityListener
/frameworks/base/wifi/java/android/net/wifi/
DWifiStateTracker.java164 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in WifiStateTracker
/frameworks/base/core/java/android/bluetooth/
DBluetoothTetheringDataTracker.java212 public synchronized NetworkInfo getNetworkInfo() { in getNetworkInfo() method in BluetoothTetheringDataTracker
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/
DDownloadManagerBaseTest.java231 NetworkInfo info = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in getWiFiIsOn()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java226 NetworkInfo info = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in getWiFiIsOn()
/frameworks/base/services/java/com/android/server/connectivity/
DTethering.java1254 info = cm.getNetworkInfo(netType.intValue()); in chooseUpstreamType()
/frameworks/base/api/
Dcurrent.txt11546 method public android.net.NetworkInfo getNetworkInfo(int);
D14.txt11546 method public android.net.NetworkInfo getNetworkInfo(int);