Searched refs:mPolicyManager (Results 1 – 7 of 7) sorted by relevance
42 private final NetworkPolicyManager mPolicyManager; field in DataSaverBackend53 mPolicyManager = NetworkPolicyManager.from(context); in DataSaverBackend()59 mPolicyManager.registerListener(mPolicyListener); in addListener()67 mPolicyManager.unregisterListener(mPolicyListener); in remListener()72 return mPolicyManager.getRestrictBackground(); in isDataSaverEnabled()76 mPolicyManager.setRestrictBackground(enabled); in setDataSaverEnabled()135 mPolicyManager.setUidPolicy( in setIsBlacklisted()
33 private NetworkPolicyManager mPolicyManager; field in RestrictBackgroundDataPreference43 mPolicyManager = NetworkPolicyManager.from(getContext()); in onAttached()44 setChecked(mPolicyManager.getRestrictBackground()); in onAttached()48 mPolicyManager.setRestrictBackground(restrictBackground); in setRestrictBackground()
49 services.mPolicyManager = NetworkPolicyManager.from(context); in onCreate()51 services.mPolicyEditor = new NetworkPolicyEditor(services.mPolicyManager); in onCreate()
54 private NetworkPolicyManager mPolicyManager; field in DataUsageMeteredSettings73 mPolicyManager = NetworkPolicyManager.from(context); in onCreate()76 mPolicyEditor = new NetworkPolicyEditor(mPolicyManager); in onCreate()
34 NetworkPolicyManager mPolicyManager; field in TemplatePreference.NetworkServices
311 final int uidPolicy = services.mPolicyManager.getUidPolicy(uid); in getAppRestrictBackground()
546 final int[] restrictedUids = services.mPolicyManager.getUidsWithPolicy(