Home
last modified time | relevance | path

Searched refs:getConnectivityManager (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DNetworkPolicyTestUtils.java175 return getConnectivityManager().isActiveNetworkMetered() == metered; in isActiveNetworkMetered()
225 final Network activeNetwork = getConnectivityManager().getActiveNetwork(); in getActiveNetworkCapabilities()
227 return getConnectivityManager().getNetworkCapabilities(activeNetwork); in getActiveNetworkCapabilities()
322 getConnectivityManager().registerDefaultNetworkCallback(networkCallback);
327 + getConnectivityManager().getActiveNetwork();
336 getConnectivityManager().unregisterNetworkCallback(networkCallback);
356 final int actualStatus = getConnectivityManager().getRestrictBackgroundStatus();
401 final int actualStatus = getConnectivityManager().getRestrictBackgroundStatus();
406 public static ConnectivityManager getConnectivityManager() {
DAbstractRestrictBackgroundNetworkTestCase.java30 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.getConnectivityManager;
189 mCm = getConnectivityManager(); in setUp()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DImsPdnNetworkFetcher.java61 return getConnectivityManager().getLinkProperties(network).getLinkAddresses().stream() in getNetworkIpAddresses()
68 ConnectivityManager cm = getConnectivityManager(); in requestNetwork()
85 ConnectivityManager getConnectivityManager() { in getConnectivityManager() method in ImsPdnNetworkFetcher
DMsrpManager.java60 createMsrpSession(imsPdnNetworkFetcher.getConnectivityManager(), in createMsrpSession()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmNetworkRequestCallback.java160 getConnectivityManager().requestNetwork(getNetworkRequest(), this); in requestNetwork()
181 getConnectivityManager().unregisterNetworkCallback(this); in releaseNetwork()
188 public ConnectivityManager getConnectivityManager() { in getConnectivityManager() method in VvmNetworkRequestCallback
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java449 final ConnectivityManager connectivityManager = getConnectivityManager(); in startNewNetworkRequestLocked()
462 final ConnectivityManager connectivityManager = getConnectivityManager(); in releaseRequestLocked()
489 private @NonNull ConnectivityManager getConnectivityManager() { in getConnectivityManager() method in MmsNetworkManager
528 final ConnectivityManager connectivityManager = getConnectivityManager(); in getApnName()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanNetworkService.java443 getConnectivityManager() in initCallback()
458 getConnectivityManager().unregisterNetworkCallback(mNetworkMonitorCallback); in deinitCallback()
531 ConnectivityManager getConnectivityManager() { in getConnectivityManager() method in IwlanNetworkService
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/connectivity/
DConnectivityManagerFactory.java41 public static ConnectivityManager getConnectivityManager(@NonNull Context context) { in getConnectivityManager() method in ConnectivityManagerFactory
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/connectivity/
DConnectivityManagerFactoryTest.java41 ConnectivityManagerFactory.getConnectivityManager(context); in testFactory_returnsConnectivityManager()
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/
DRemoteAuthConnectionCache.java51 ConnectivityManager getConnectivityManager() { in getConnectivityManager() method in RemoteAuthConnectionCache
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/
DRemoteAuthConnectionCacheTest.java66 assertEquals(mConnectivityManager, mConnectionCache.getConnectivityManager()); in testGetManager_managerExists()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsNetworkManager.java113 ConnectivityManager getConnectivityManager() { in getConnectivityManager() method in MmsNetworkManager
DMmsRequest.java170 requestRoute(networkManager.getConnectivityManager(), apn, url); in execute()