Searched refs:onUidPoliciesChanged (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | INetworkPolicyListener.aidl | 24 void onUidPoliciesChanged(int uid, int uidPolicies); in onUidPoliciesChanged() method
|
D | NetworkPolicyManager.java | 382 @Override public void onUidPoliciesChanged(int uid, int uidPolicies) { }
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 499 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in addRestrictBackgroundWhitelist() 506 .onUidPoliciesChanged(APP_ID_A, POLICY_ALLOW_METERED_BACKGROUND); in addRestrictBackgroundWhitelist() 619 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in removeRestrictBackgroundWhitelist() 625 mPolicyListener.waitAndVerify().onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist() 656 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in addRestrictBackgroundBlacklist() 662 .onUidPoliciesChanged(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in addRestrictBackgroundBlacklist() 694 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt()); in removeRestrictBackgroundBlacklist() 700 .onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundBlacklist()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 4431 listener.onUidPoliciesChanged(uid, uidPolicies); in dispatchUidPoliciesChanged()
|