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
253 private NetworkPolicyListenerAnswer mPolicyListener; field in NetworkPolicyManagerServiceTest382 mPolicyListener = new NetworkPolicyListenerAnswer(mService); in callSystemReady()507 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in addRestrictBackgroundWhitelist()513 mPolicyListener.waitAndVerify() in addRestrictBackgroundWhitelist()697 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in removeRestrictBackgroundWhitelist()703 mPolicyListener.waitAndVerify().onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist()734 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in addRestrictBackgroundBlacklist()739 mPolicyListener.waitAndVerify() in addRestrictBackgroundBlacklist()772 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in removeRestrictBackgroundBlacklist()777 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()1983 private final INetworkPolicyListener mPolicyListener = new NetworkPolicyManager.Listener() { field in ConnectivityService