/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 130 (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); in updateConnectedFlags() 291 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in onReceive()
|
/frameworks/base/core/java/com/android/server/net/ |
D | NetworkPinner.java | 81 sCM = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in maybeInitConnectivityManager()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 201 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/ |
D | NtpTrustedTime.java | 91 mCM = (ConnectivityManager) sContext.getSystemService(Context.CONNECTIVITY_SERVICE); in forceRefresh()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | AirplaneModeTile.java | 69 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setEnabled()
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 54 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in onCreate()
|
D | ManageDialog.java | 66 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 102 context.getSystemService(Context.CONNECTIVITY_SERVICE); in SecurityControllerImpl() 104 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in SecurityControllerImpl()
|
D | HotspotControllerImpl.java | 50 Context.CONNECTIVITY_SERVICE); in HotspotControllerImpl()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
D | PhotoViewFragment.java | 262 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/ |
D | SecurityControllerTest.java | 75 … mContext.addMockSystemService(Context.CONNECTIVITY_SERVICE, mock(ConnectivityManager.class)); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | UidDetailProvider.java | 126 Context.CONNECTIVITY_SERVICE); in buildUidDetail()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 113 mCM = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in initialize() 158 .getSystemService(Context.CONNECTIVITY_SERVICE); in onReceive()
|
/frameworks/base/core/java/android/net/ |
D | IpSecTransform.java | 250 (ConnectivityManager) c.getSystemService(Context.CONNECTIVITY_SERVICE); in startKeepalive()
|
D | NetworkAgent.java | 224 Context.CONNECTIVITY_SERVICE); in NetworkAgent()
|
D | VpnService.java | 167 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in getService()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkTimeUpdateService.java | 112 mCM = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in NetworkTimeUpdateService()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactoryTest.java | 102 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in TestSetup()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 128 mCm = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitor.java | 399 mCM = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in cm()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 105 Context.CONNECTIVITY_SERVICE); in getWiFiIsOn()
|
/frameworks/base/core/java/android/content/ |
D | Context.java | 2928 CONNECTIVITY_SERVICE, 3374 public static final String CONNECTIVITY_SERVICE = "connectivity"; field in Context
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
D | SuggestionParser.java | 305 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in satisfiesConnectivity()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 263 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/ |
D | TetheringTest.java | 139 if (Context.CONNECTIVITY_SERVICE.equals(name)) return mConnectivityManager; in getSystemService()
|