Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java439 " is: " + mCM.getNetworkInfo(networkType).getState()); in waitForNetworkState()
440 if (mCM.getNetworkInfo(networkType).getState() != expectedState) { in waitForNetworkState()
445 mCM.getNetworkInfo(networkType)); in waitForNetworkState()
518 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
527 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in isConnectedToWifi()
/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java208 getNetworkInfo().getDetailedState(), NetworkInfo.DetailedState.CONNECTED); in connect()
259 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in NetworkAgentWrapper
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java123 final NetworkInfo vpnInfo = mVpn.getNetworkInfo(); in handleStateChangedLocked()
256 final NetworkInfo vpnInfo = mVpn.getNetworkInfo(); in augmentNetworkInfo()
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java190 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in NetworkConnectivityListener
/frameworks/base/services/core/java/com/android/server/location/
DGnssNetworkConnectivityHandler.java381 NetworkInfo info = mConnMgr.getNetworkInfo(network);
395 NetworkInfo info = mConnMgr.getNetworkInfo(network);
/frameworks/base/core/java/android/util/
DNtpTrustedTime.java157 final NetworkInfo ni = connectivityManager.getNetworkInfo(network); in forceRefresh()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java775 when(mockConnectivityManager.getNetworkInfo(any(Network.class))).thenReturn(networkInfo); in onStartShouldSynchronouslyFetchLatestInformation()
782 verify(mockConnectivityManager).getNetworkInfo(any(Network.class)); in onStartShouldSynchronouslyFetchLatestInformation()
801 when(mockConnectivityManager.getNetworkInfo(any(Network.class))).thenReturn(networkInfo); in onStartShouldDisplayConnectedAccessPointWhenThereAreNoScanResults()
811 verify(mockConnectivityManager).getNetworkInfo(any(Network.class)); in onStartShouldDisplayConnectedAccessPointWhenThereAreNoScanResults()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java266 mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState()); in testWifiReconnectionAfterSleep()
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl58 NetworkInfo getNetworkInfo(int networkType); in getNetworkInfo() method
DConnectivityManager.java1201 public NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() method in ConnectivityManager
1203 return mService.getNetworkInfo(networkType); in getNetworkInfo()
1223 public NetworkInfo getNetworkInfo(@Nullable Network network) { in getNetworkInfo() method in ConnectivityManager
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java156 NetworkInfo ni = mCm.getNetworkInfo(networkType); in waitForNetworkState()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java106 NetworkInfo info = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in getWiFiIsOn()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java355 mLastNetworkInfo = mConnectivityManager.getNetworkInfo(mWifiManager.getCurrentNetwork()); in forceUpdate()
896 mConnectivityManager.getNetworkInfo(mWifiManager.getCurrentNetwork());
DAccessPoint.java961 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in AccessPoint
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcNetworkAgent.java324 public synchronized NetworkInfo getNetworkInfo() { in getNetworkInfo() method in DcNetworkAgent
DDataConnection.java1878 NetworkInfo networkInfo = mHandoverSourceNetworkAgent.getNetworkInfo(); in enter()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java227 NetworkInfo info = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in getWiFiIsOn()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java693 if (getNetworkInfo().isConnected()) { in startAlwaysOnVpn()
994 public NetworkInfo getNetworkInfo() {
2581 final NetworkInfo networkInfo = cm.getNetworkInfo(network);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java561 private NetworkInfo getNetworkInfo() throws Exception { in getNetworkInfo() method in DataConnectionTest
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1370 assertNotNull(mCm.getNetworkInfo(mCm.getActiveNetwork())); in verifyActiveNetwork()
1372 mCm.getNetworkInfo(mCm.getActiveNetwork()).getType()); in verifyActiveNetwork()
4709 assertNull(mCm.getNetworkInfo(TYPE_NONE)); in testDeprecatedAndUnsupportedOperations()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1475 public NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() method in ConnectivityService
1511 NetworkInfo info = getNetworkInfo(networkType); in getAllNetworkInfo()
/frameworks/base/config/
Dboot-image-profile.txt9945 HSPLandroid/net/ConnectivityManager;->getNetworkInfo(I)Landroid/net/NetworkInfo;
9946 HSPLandroid/net/ConnectivityManager;->getNetworkInfo(Landroid/net/Network;)Landroid/net/NetworkInfo;
9999 HSPLandroid/net/IConnectivityManager$Stub$Proxy;->getNetworkInfo(I)Landroid/net/NetworkInfo;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt16919 method public android.net.NetworkInfo getNetworkInfo(int);
16920 method public android.net.NetworkInfo getNetworkInfo(android.net.Network);
/frameworks/base/services/
Dart-profile811 PLcom/android/server/ConnectivityService;->getNetworkInfo(I)Landroid/net/NetworkInfo;
/frameworks/base/non-updatable-api/
Dcurrent.txt28643 …droid.Manifest.permission.ACCESS_NETWORK_STATE) public android.net.NetworkInfo getNetworkInfo(int);
28644 …fest.permission.ACCESS_NETWORK_STATE) public android.net.NetworkInfo getNetworkInfo(@Nullable andr…

12