Home
last modified time | relevance | path

Searched refs:CONNECTIVITY_SERVICE (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/libs/net/common/device/android/net/
DNetworkFactory.java137 Context.CONNECTIVITY_SERVICE)).registerNetworkProvider(mProvider); in register()
147 ((ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE)) in terminate()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java130 (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); in updateConnectedFlags()
291 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in onReceive()
/frameworks/base/core/java/com/android/server/net/
DNetworkPinner.java81 sCM = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in maybeInitConnectivityManager()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DTetherUtilTest.java57 .when(mContext).getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
/frameworks/base/services/core/java/com/android/server/location/
DNtpTimeHelper.java79 mConnMgr = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in NtpTimeHelper()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DAlwaysOnDisconnectedDialog.java57 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in onCreate()
DConfirmDialog.java66 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in onCreate()
DManageDialog.java60 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java66 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in HotspotControllerImpl()
DSecurityControllerImpl.java117 context.getSystemService(Context.CONNECTIVITY_SERVICE); in SecurityControllerImpl()
119 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in SecurityControllerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DAirplaneModeTile.java85 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setEnabled()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java262 getActivity().getSystemService(Context.CONNECTIVITY_SERVICE); in onResume()
588 context.getSystemService(Context.CONNECTIVITY_SERVICE); in onReceive()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java123 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in init()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java82 Context.CONNECTIVITY_SERVICE); in PrivateAddressCoordinator()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java81 mContext.addMockSystemService(Context.CONNECTIVITY_SERVICE, mConnectivityManager); in setUp()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java113 mCM = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in initialize()
158 .getSystemService(Context.CONNECTIVITY_SERVICE); in onReceive()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java127 Context.CONNECTIVITY_SERVICE); in buildUidDetail()
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/
DOsuLoginActivity.java111 Context.CONNECTIVITY_SERVICE); in onCreate()
/frameworks/base/core/java/android/net/
DIpSecTransform.java313 Context.CONNECTIVITY_SERVICE); in startNattKeepalive()
DVpnService.java178 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in getService()
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt168 context.addMockSystemService(Context.CONNECTIVITY_SERVICE, cm) in setUp()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java70 when(mContext.getSystemService(Context.CONNECTIVITY_SERVICE)).thenReturn(mConnectivityMgr); in setUp()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java334 registerService(Context.CONNECTIVITY_SERVICE, ConnectivityManager.class, in registerService() argument
338 IBinder b = ServiceManager.getServiceOrThrow(Context.CONNECTIVITY_SERVICE); in registerService()
372 IBinder b = ServiceManager.getService(Context.CONNECTIVITY_SERVICE); in registerService()
384 IBinder b = ServiceManager.getServiceOrThrow(Context.CONNECTIVITY_SERVICE); in registerService()
397 ServiceManager.getServiceOrThrow(Context.CONNECTIVITY_SERVICE); in registerService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java245 mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java128 mCm = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()

123