Searched refs:mPolicyListener (Results 1 – 4 of 4) sorted by relevance
50 mPolicyManager.registerListener(mPolicyListener); in addCallback()60 mPolicyManager.unregisterListener(mPolicyListener); in removeCallback()72 mPolicyListener.onRestrictBackgroundChanged(enabled); in setDataSaverEnabled()77 private final INetworkPolicyListener mPolicyListener = new NetworkPolicyManager.Listener() { field in DataSaverControllerImpl
246 private NetworkPolicyListenerAnswer mPolicyListener; field in NetworkPolicyManagerServiceTest373 mPolicyListener = new NetworkPolicyListenerAnswer(mService); in callSystemReady()494 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in addRestrictBackgroundWhitelist()500 mPolicyListener.waitAndVerify() in addRestrictBackgroundWhitelist()614 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in removeRestrictBackgroundWhitelist()620 mPolicyListener.waitAndVerify().onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist()651 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in addRestrictBackgroundBlacklist()656 mPolicyListener.waitAndVerify() in addRestrictBackgroundBlacklist()689 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in removeRestrictBackgroundBlacklist()694 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()
787 mPolicyManager.registerListener(mPolicyListener); in ConnectivityService()1623 private final INetworkPolicyListener mPolicyListener = new NetworkPolicyManager.Listener() { field in ConnectivityService