/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ContextFixture.java | 100 case Context.CONNECTIVITY_SERVICE: in getSystemService() 118 return Context.CONNECTIVITY_SERVICE; in getSystemServiceName()
|
/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/base/tests/vcn/java/com/android/server/vcn/routeselection/ |
D | UnderlyingNetworkControllerTest.java | 189 Context.CONNECTIVITY_SERVICE, in setUp() 254 setupSystemService(mContext, cm, Context.CONNECTIVITY_SERVICE, ConnectivityManager.class); in testNetworkCallbacksRegisteredOnStartupForTestMode() 297 setupSystemService(mContext, cm, Context.CONNECTIVITY_SERVICE, ConnectivityManager.class); in testNetworkCallbacksRegisteredOnStartupForNonInternetCapabilities() 343 setupSystemService(mContext, cm, Context.CONNECTIVITY_SERVICE, ConnectivityManager.class); in testNetworkCallbacksRegisteredOnStartupWithDedupedtCapabilities() 774 setupSystemService(mContext, cm, Context.CONNECTIVITY_SERVICE, ConnectivityManager.class); in setupControllerAndGetNetworkListener()
|
D | NetworkEvaluationTestBase.java | 146 Context.CONNECTIVITY_SERVICE, in setUp()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | TetherUtilTest.java | 57 .when(mContext).getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | VcnNetworkProviderTest.java | 72 mContext, mConnMgr, Context.CONNECTIVITY_SERVICE, ConnectivityManager.class); in setUp()
|
D | VcnGatewayConnectionTestBase.java | 208 mContext, mConnMgr, Context.CONNECTIVITY_SERVICE, ConnectivityManager.class); in VcnGatewayConnectionTestBase()
|
/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/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 194 .getSystemService(Context.CONNECTIVITY_SERVICE); in initializeBenchmarks()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | NtpNetworkTimeHelper.java | 93 mConnMgr = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in NtpNetworkTimeHelper()
|
D | GnssNetworkConnectivityHandler.java | 219 mConnMgr = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in GnssNetworkConnectivityHandler()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkManagementServiceTest.java | 140 doReturn(Context.CONNECTIVITY_SERVICE).when(mContext).getSystemServiceName( in setUp() 142 doReturn(mCm).when(mContext).getSystemService(eq(Context.CONNECTIVITY_SERVICE)); in setUp()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 116 mCM = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in initialize() 161 .getSystemService(Context.CONNECTIVITY_SERVICE); in onReceive()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 91 mContext.addMockSystemService(Context.CONNECTIVITY_SERVICE, mConnectivityManager); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | CellularNetworkValidator.java | 238 mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 130 mCm = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/net/ |
D | LockdownVpnTrackerTest.java | 86 if (Context.CONNECTIVITY_SERVICE.equals(name)) return mCm;
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 105 Context.CONNECTIVITY_SERVICE); in getWiFiIsOn()
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/ |
D | VpnManagerServiceTest.java | 153 mockService(mContext, ConnectivityManager.class, Context.CONNECTIVITY_SERVICE, mCm); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 279 case Context.CONNECTIVITY_SERVICE: in getSystemService() 335 return Context.CONNECTIVITY_SERVICE; in getSystemServiceName()
|
D | CarrierKeyDownloadMgrTest.java | 114 Context.CONNECTIVITY_SERVICE); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmMockContext.java | 238 case Context.CONNECTIVITY_SERVICE: in getSystemService()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 318 Context.CONNECTIVITY_SERVICE); in DeviceStateMonitor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 142 context.getSystemService(Context.CONNECTIVITY_SERVICE); in SecurityControllerImpl()
|