Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DINetworkPolicyListener.aidl25 void onUidPoliciesChanged(int uid, int uidPolicies); in onUidPoliciesChanged() method
DNetworkPolicyManager.java601 @Override public void onUidPoliciesChanged(int uid, int uidPolicies) { }
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java507 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in addRestrictBackgroundWhitelist()
514 .onUidPoliciesChanged(APP_ID_A, POLICY_ALLOW_METERED_BACKGROUND); 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()
740 .onUidPoliciesChanged(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in addRestrictBackgroundBlacklist()
772 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in removeRestrictBackgroundBlacklist()
778 .onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundBlacklist()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4570 listener.onUidPoliciesChanged(uid, uidPolicies); in dispatchUidPoliciesChanged()