/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 442 " is: " + mCM.getNetworkInfo(networkType).getState()); in waitForNetworkState() 443 if (mCM.getNetworkInfo(networkType).getState() != expectedState) { in waitForNetworkState() 448 mCM.getNetworkInfo(networkType)); in waitForNetworkState() 521 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile() 530 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in isConnectedToWifi()
|
/frameworks/ex/common/java/com/android/common/ |
D | NetworkConnectivityListener.java | 190 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in NetworkConnectivityListener
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerWifiTest.java | 231 Mockito.verify(mMockCm).getNetworkInfo(ConnectivityManager.TYPE_WIFI); in testFetchInitialData() 241 when(mMockCm.getNetworkInfo(ConnectivityManager.TYPE_WIFI)).thenReturn(networkInfo); in testFetchInitialData_correctValues()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssNetworkConnectivityHandler.java | 521 NetworkInfo info = mConnMgr.getNetworkInfo(network); 535 NetworkInfo info = mConnMgr.getNetworkInfo(network);
|
/frameworks/layoutlib/bridge/src/android/net/ |
D | ConnectivityManager.java | 277 public NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() method in ConnectivityManager 283 public NetworkInfo getNetworkInfo(@Nullable Network network) { in getNetworkInfo() method in ConnectivityManager
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 774 when(mockConnectivityManager.getNetworkInfo(any(Network.class))).thenReturn(networkInfo); in onStartShouldSynchronouslyFetchLatestInformation() 781 verify(mockConnectivityManager).getNetworkInfo(any(Network.class)); in onStartShouldSynchronouslyFetchLatestInformation() 800 when(mockConnectivityManager.getNetworkInfo(any(Network.class))).thenReturn(networkInfo); in onStartShouldDisplayConnectedAccessPointWhenThereAreNoScanResults() 810 verify(mockConnectivityManager).getNetworkInfo(any(Network.class)); in onStartShouldDisplayConnectedAccessPointWhenThereAreNoScanResults()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 267 mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState()); in testWifiReconnectionAfterSleep()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 160 final NetworkInfo vpnInfo = mVpn.getNetworkInfo(); in handleStateChangedLocked()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 160 NetworkInfo ni = mCm.getNetworkInfo(networkType); in waitForNetworkState()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 106 NetworkInfo info = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in getWiFiIsOn()
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/net/ |
D | LockdownVpnTrackerTest.java | 140 doReturn(mVpnNetworkInfo).when(mVpn).getNetworkInfo(); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 234 mConnectivityManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in fetchInitialState()
|
D | WifiTracker.java | 365 mLastNetworkInfo = mConnectivityManager.getNetworkInfo(mWifiManager.getCurrentNetwork()); in forceUpdate()
|
D | AccessPoint.java | 988 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in AccessPoint
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 690 final NetworkInfo ni = connectivityManager.getNetworkInfo(network); in isNetworkConnected()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 228 NetworkInfo info = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in getWiFiIsOn()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1118 if (getNetworkInfo().isConnected()) { in startAlwaysOnVpn() 1438 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in Vpn
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16919 method public android.net.NetworkInfo getNetworkInfo(int); 16920 method public android.net.NetworkInfo getNetworkInfo(android.net.Network);
|