Home
last modified time | relevance | path

Searched refs:mPolicyManager (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverBackend.java42 private final NetworkPolicyManager mPolicyManager; field in DataSaverBackend
53 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()
DRestrictBackgroundDataPreference.java33 private NetworkPolicyManager mPolicyManager; field in RestrictBackgroundDataPreference
43 mPolicyManager = NetworkPolicyManager.from(getContext()); in onAttached()
44 setChecked(mPolicyManager.getRestrictBackground()); in onAttached()
48 mPolicyManager.setRestrictBackground(restrictBackground); in setRestrictBackground()
DDataUsageBase.java49 services.mPolicyManager = NetworkPolicyManager.from(context); in onCreate()
51 services.mPolicyEditor = new NetworkPolicyEditor(services.mPolicyManager); in onCreate()
DDataUsageMeteredSettings.java54 private NetworkPolicyManager mPolicyManager; field in DataUsageMeteredSettings
73 mPolicyManager = NetworkPolicyManager.from(context); in onCreate()
76 mPolicyEditor = new NetworkPolicyEditor(mPolicyManager); in onCreate()
DTemplatePreference.java34 NetworkPolicyManager mPolicyManager; field in TemplatePreference.NetworkServices
DAppDataUsage.java311 final int uidPolicy = services.mPolicyManager.getUidPolicy(uid); in getAppRestrictBackground()
DDataUsageList.java546 final int[] restrictedUids = services.mPolicyManager.getUidsWithPolicy(