Home
last modified time | relevance | path

Searched refs:NETWORK_POLICY_SERVICE (Results 1 – 25 of 30) sorted by relevance

12

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
H A DBackgroundDataConditionControllerTest.java53 ShadowApplication.getInstance().setSystemService(Context.NETWORK_POLICY_SERVICE, in setUp()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
H A DNetworkCycleChartDataLoaderTest.java56 when(mContext.getSystemService(Context.NETWORK_POLICY_SERVICE)) in setUp()
H A DNetworkCycleDataForUidLoaderTest.java62 when(mContext.getSystemService(Context.NETWORK_POLICY_SERVICE)) in setUp()
H A DNetworkCycleDataLoaderTest.java76 when(mContext.getSystemService(Context.NETWORK_POLICY_SERVICE)) in setUp()
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
H A DBackgroundDataConditionController.java41 (NetworkPolicyManager) appContext.getSystemService(Context.NETWORK_POLICY_SERVICE); in BackgroundDataConditionController()
/aosp12/packages/apps/Settings/src/com/android/settings/datausage/
H A DDataUsageBaseFragment.java50 .getSystemService(Context.NETWORK_POLICY_SERVICE); in onCreate()
H A DDataUsageSummaryPreferenceController.java348 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in createManageSubscriptionIntent()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/net/
H A DNetworkOverLimitActivity.java76 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in snoozePolicy()
/aosp12/frameworks/base/services/tests/servicestests/test-apps/ConnTestApp/src/com/android/servicestests/apps/conntestapp/
H A DConnTestActivity.java133 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in checkNetworkStatus()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
H A DWifiTetherSwitchBarControllerTest.java69 when(mContext.getSystemService(Context.NETWORK_POLICY_SERVICE)).thenReturn( in setUp()
/aosp12/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java68 @SystemService(Context.NETWORK_POLICY_SERVICE)
293 return (NetworkPolicyManager) context.getSystemService(Context.NETWORK_POLICY_SERVICE); in from()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
H A DBillingCycleSettingsTest.java158 when(mContext.getSystemService(Context.NETWORK_POLICY_SERVICE)) in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
H A DDataUsageSummaryTest.java85 shadowContext.setSystemService(Context.NETWORK_POLICY_SERVICE, mNetworkPolicyManager); in setUp()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/system/
H A DResetNetworkConfirmFragment.java122 context.getSystemService(Context.NETWORK_POLICY_SERVICE); in resetNetwork()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
H A DDataUsageSummaryPreferenceController.java241 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in createManageSubscriptionIntent()
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DResetNetworkConfirm.java130 mContext.getSystemService(Context.NETWORK_POLICY_SERVICE); in doInBackground()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
H A DResetNetworkConfirmFragmentTest.java126 when(mContext.getSystemService(Context.NETWORK_POLICY_SERVICE)).thenReturn( in setUp()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
H A DTetherEnablerTest.java102 when(context.getSystemService(Context.NETWORK_POLICY_SERVICE)).thenReturn( in setUp()
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
H A DMultipathPolicyTrackerTest.java158 mockService(Context.NETWORK_POLICY_SERVICE, NetworkPolicyManager.class, mNPM); in setUp()
/aosp12/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java1079 (NetworkPolicyManager) getSystemService(NETWORK_POLICY_SERVICE); in getNetworkPolicies()
1121 (NetworkPolicyManager) getSystemService(NETWORK_POLICY_SERVICE); in restoreNetworkPolicies()
/aosp12/frameworks/base/core/java/android/app/
H A DSystemServiceRegistry.java545 registerService(Context.NETWORK_POLICY_SERVICE, NetworkPolicyManager.class, in registerService() argument
550 ServiceManager.getServiceOrThrow(Context.NETWORK_POLICY_SERVICE))); in registerService() argument
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DConnectivityControllerTest.java140 .thenReturn(Context.NETWORK_POLICY_SERVICE); in setUp()
/aosp12/frameworks/base/core/java/android/content/
H A DContext.java4346 public static final String NETWORK_POLICY_SERVICE = "netpolicy"; field in Context
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionManager.java1222 .getSystemService(Context.NETWORK_POLICY_SERVICE); in getNetworkPolicyManager()
/aosp12/frameworks/base/services/java/com/android/server/
H A DSystemServer.java1851 ServiceManager.addService(Context.NETWORK_POLICY_SERVICE, networkPolicy); in startOtherServices()

12