Home
last modified time | relevance | path

Searched refs:mPolicyListener (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDataSaverControllerImpl.java50 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
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java246 private NetworkPolicyListenerAnswer mPolicyListener; field in NetworkPolicyManagerServiceTest
373 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 …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java113 private NetworkPolicyManager.Listener mPolicyListener; field in MultipathPolicyTracker
501 mPolicyListener = new NetworkPolicyManager.Listener() { in registerNetworkPolicyListener()
508 mNPM.registerListener(mPolicyListener); in registerNetworkPolicyListener()
512 mNPM.unregisterListener(mPolicyListener); in unregisterNetworkPolicyListener()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java787 mPolicyManager.registerListener(mPolicyListener); in ConnectivityService()
1623 private final INetworkPolicyListener mPolicyListener = new NetworkPolicyManager.Listener() { field in ConnectivityService