Searched refs:mPolicyListener (Results 1 – 5 of 5) sorted by relevance
48 mPolicyManager.registerListener(mPolicyListener); in addCallback()58 mPolicyManager.unregisterListener(mPolicyListener); in removeCallback()70 mPolicyListener.onRestrictBackgroundChanged(enabled); in setDataSaverEnabled()75 private final INetworkPolicyListener mPolicyListener = new NetworkPolicyManager.Listener() { field in DataSaverControllerImpl
248 private NetworkPolicyListenerAnswer mPolicyListener; field in NetworkPolicyManagerServiceTest376 mPolicyListener = new NetworkPolicyListenerAnswer(mService); in callSystemReady()500 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in addRestrictBackgroundWhitelist()506 mPolicyListener.waitAndVerify() in addRestrictBackgroundWhitelist()620 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in removeRestrictBackgroundWhitelist()626 mPolicyListener.waitAndVerify().onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist()657 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in addRestrictBackgroundBlacklist()662 mPolicyListener.waitAndVerify() in addRestrictBackgroundBlacklist()695 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in removeRestrictBackgroundBlacklist()700 mPolicyListener.waitAndVerify() in removeRestrictBackgroundBlacklist()[all …]
113 private NetworkPolicyManager.Listener mPolicyListener; field in MultipathPolicyTracker501 mPolicyListener = new NetworkPolicyManager.Listener() { in registerNetworkPolicyListener()508 mNPM.registerListener(mPolicyListener); in registerNetworkPolicyListener()512 mNPM.unregisterListener(mPolicyListener); in unregisterNetworkPolicyListener()
336 private INetworkPolicyListener mPolicyListener; field in ConnectivityServiceTest1149 mPolicyListener.onUidRulesChanged(Process.myUid(), uidRules); in setUidRulesChanged()1153 mPolicyListener.onRestrictBackgroundChanged(restrictBackground); in setRestrictBackgroundChanged()1245 mPolicyListener = policyListenerCaptor.getValue(); in setUp()
1023 mPolicyManager.registerListener(mPolicyListener); in ConnectivityService()1984 private final INetworkPolicyListener mPolicyListener = new NetworkPolicyManager.Listener() { field in ConnectivityService