Home
last modified time | relevance | path

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

123

/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java201 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in testRegister()
434 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in testPrioritization()
507 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in testHigherPriorityDefault()
/frameworks/base/core/java/android/util/
DNtpTrustedTime.java91 mCM = (ConnectivityManager) sContext.getSystemService(Context.CONNECTIVITY_SERVICE); in forceRefresh()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DAirplaneModeTile.java69 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setEnabled()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java54 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in onCreate()
DManageDialog.java66 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java102 context.getSystemService(Context.CONNECTIVITY_SERVICE); in SecurityControllerImpl()
104 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in SecurityControllerImpl()
DHotspotControllerImpl.java50 Context.CONNECTIVITY_SERVICE); in HotspotControllerImpl()
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java75 … mContext.addMockSystemService(Context.CONNECTIVITY_SERVICE, mock(ConnectivityManager.class)); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java126 Context.CONNECTIVITY_SERVICE); in buildUidDetail()
/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/core/java/android/net/
DIpSecTransform.java250 (ConnectivityManager) c.getSystemService(Context.CONNECTIVITY_SERVICE); in startKeepalive()
DNetworkAgent.java224 Context.CONNECTIVITY_SERVICE); in NetworkAgent()
DVpnService.java167 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in getService()
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java112 mCM = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in NetworkTimeUpdateService()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java102 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in TestSetup()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java128 mCm = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitor.java399 mCM = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in cm()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java105 Context.CONNECTIVITY_SERVICE); in getWiFiIsOn()
/frameworks/base/core/java/android/content/
DContext.java2928 CONNECTIVITY_SERVICE,
3374 public static final String CONNECTIVITY_SERVICE = "connectivity"; field in Context
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionParser.java305 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in satisfiesConnectivity()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java263 registerService(Context.CONNECTIVITY_SERVICE, ConnectivityManager.class, in registerService() argument
267 IBinder b = ServiceManager.getServiceOrThrow(Context.CONNECTIVITY_SERVICE); in registerService()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java139 if (Context.CONNECTIVITY_SERVICE.equals(name)) return mConnectivityManager; in getSystemService()

123