/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 245 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile() 250 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_WIFI); in isConnectedToWifi() 417 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitForActiveNetworkConnection() 433 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitUntilNoActiveNetworkConnection()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 92 NetworkInfo ni = mCm.getActiveNetworkInfo(); in test3GToWifiNotification() 332 NetworkInfo extraNetInfo = mCm.getActiveNetworkInfo(); in verifyCellularConnection()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 132 NetworkInfo activeInfo = connMgr.getActiveNetworkInfo(); in updateConnectedFlags() 292 NetworkInfo networkInfo = connMgr.getActiveNetworkInfo(); in onReceive()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | NtpTimeHelper.java | 123 NetworkInfo activeNetworkInfo = mConnMgr.getActiveNetworkInfo(); in isNetworkConnected()
|
D | GnssNetworkConnectivityHandler.java | 304 NetworkInfo activeNetworkInfo = mConnMgr.getActiveNetworkInfo(); in isDataNetworkConnected()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
D | PhotoViewFragment.java | 263 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo(); in onResume() 589 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo(); in onReceive()
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 196 cm.getActiveNetworkInfo(); in initializeBenchmarks()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 159 mNetworkInfo = connManager.getActiveNetworkInfo(); in onReceive() 459 mNetworkInfo = mCM.getActiveNetworkInfo(); in waitForNetworkState()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 259 NetworkInfo ni = mCm.getActiveNetworkInfo(); in testWifiReconnectionAfterSleep()
|
/frameworks/base/core/java/android/net/ |
D | IConnectivityManager.aidl | 55 NetworkInfo getActiveNetworkInfo(); in getActiveNetworkInfo() method
|
D | ConnectivityManager.java | 996 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ConnectivityManager 998 return mService.getActiveNetworkInfo(); in getActiveNetworkInfo()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 407 doReturn(null).when(mConnectivityManager).getActiveNetworkInfo(); in testUpdateConnectivityState() 413 doReturn(ani).when(mConnectivityManager).getActiveNetworkInfo(); in testUpdateConnectivityState() 2078 doReturn(ani).when(mConnectivityManager).getActiveNetworkInfo(); in setNetworkConnected()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1351 assertNotNull(mCm.getActiveNetworkInfo()); in verifyActiveNetwork() 1352 assertEquals(transportToLegacyType(transport), mCm.getActiveNetworkInfo().getType()); in verifyActiveNetwork() 1381 assertNull(mCm.getActiveNetworkInfo()); in verifyNoNetwork() 1477 assertNull(mCm.getActiveNetworkInfo()); in testLingering() 3252 assertEquals(NetworkInfo.State.SUSPENDED, mCm.getActiveNetworkInfo().getState()); in testAdditionalStateCallbacks() 3268 assertEquals(NetworkInfo.State.CONNECTED, mCm.getActiveNetworkInfo().getState()); in testAdditionalStateCallbacks() 4664 assertNull(mCm.getActiveNetworkInfo()); in testNetworkInfoOfTypeNone() 4681 assertNull(mCm.getActiveNetworkInfo()); in testNetworkInfoOfTypeNone()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipService.java | 1197 info = cm.getActiveNetworkInfo(); in onConnectivityChanged()
|
/frameworks/base/config/ |
D | hiddenapi-greylist.txt | 194 Landroid/net/IConnectivityManager$Stub$Proxy;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
|
D | boot-image-profile.txt | 13739 HSPLandroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo; 13795 HSPLandroid/net/IConnectivityManager$Stub$Proxy;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | DeviceIdleController.java | 2685 NetworkInfo ni = cm.getActiveNetworkInfo(); in updateConnectivityState()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 406 NetworkInfo networkInfo = getConnectivityManager().getActiveNetworkInfo(); in readDataConnectionState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 4674 NetworkInfo ni = cm.getActiveNetworkInfo(); in isWifiConnected()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1409 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ConnectivityService
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16913 method public android.net.NetworkInfo getActiveNetworkInfo();
|
/frameworks/base/services/ |
D | art-profile | 1934 HSPLcom/android/server/ConnectivityService;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
|
/frameworks/base/api/ |
D | current.txt | 29864 …id.Manifest.permission.ACCESS_NETWORK_STATE) public android.net.NetworkInfo getActiveNetworkInfo();
|