/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 439 " 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/ |
D | NetworkAgentWrapper.java | 208 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/ |
D | LockdownVpnTracker.java | 123 final NetworkInfo vpnInfo = mVpn.getNetworkInfo(); in handleStateChangedLocked() 256 final NetworkInfo vpnInfo = mVpn.getNetworkInfo(); in augmentNetworkInfo()
|
/frameworks/ex/common/java/com/android/common/ |
D | NetworkConnectivityListener.java | 190 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in NetworkConnectivityListener
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssNetworkConnectivityHandler.java | 381 NetworkInfo info = mConnMgr.getNetworkInfo(network); 395 NetworkInfo info = mConnMgr.getNetworkInfo(network);
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 157 final NetworkInfo ni = connectivityManager.getNetworkInfo(network); in forceRefresh()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 775 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/ |
D | WifiStressTest.java | 266 mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState()); in testWifiReconnectionAfterSleep()
|
/frameworks/base/core/java/android/net/ |
D | IConnectivityManager.aidl | 58 NetworkInfo getNetworkInfo(int networkType); in getNetworkInfo() method
|
D | ConnectivityManager.java | 1201 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/ |
D | ConnectivityManagerTestBase.java | 156 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/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiTracker.java | 355 mLastNetworkInfo = mConnectivityManager.getNetworkInfo(mWifiManager.getCurrentNetwork()); in forceUpdate() 896 mConnectivityManager.getNetworkInfo(mWifiManager.getCurrentNetwork());
|
D | AccessPoint.java | 961 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in AccessPoint
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcNetworkAgent.java | 324 public synchronized NetworkInfo getNetworkInfo() { in getNetworkInfo() method in DcNetworkAgent
|
D | DataConnection.java | 1878 NetworkInfo networkInfo = mHandoverSourceNetworkAgent.getNetworkInfo(); in enter()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 227 NetworkInfo info = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in getWiFiIsOn()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 693 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/ |
D | DataConnectionTest.java | 561 private NetworkInfo getNetworkInfo() throws Exception { in getNetworkInfo() method in DataConnectionTest
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1370 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/ |
D | ConnectivityService.java | 1475 public NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() method in ConnectivityService 1511 NetworkInfo info = getNetworkInfo(networkType); in getAllNetworkInfo()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 9945 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/ |
D | android-22.txt | 16919 method public android.net.NetworkInfo getNetworkInfo(int); 16920 method public android.net.NetworkInfo getNetworkInfo(android.net.Network);
|
/frameworks/base/services/ |
D | art-profile | 811 PLcom/android/server/ConnectivityService;->getNetworkInfo(I)Landroid/net/NetworkInfo;
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 28643 …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…
|