Searched refs:onUidPoliciesChanged (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | INetworkPolicyListener.aidl | 25 void onUidPoliciesChanged(int uid, int uidPolicies); in onUidPoliciesChanged() method
|
D | NetworkPolicyManager.java | 601 @Override public void onUidPoliciesChanged(int uid, int uidPolicies) { }
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 507 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/ |
D | NetworkPolicyManagerService.java | 4570 listener.onUidPoliciesChanged(uid, uidPolicies); in dispatchUidPoliciesChanged()
|