commit | 9599cc5f21152860af9d18015b1398b50743da76 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Sun May 22 14:59:31 2011 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Jun 01 17:26:30 2011 -0700 |
tree | b3cd1d7e6b97c81f9c72d86869062acdc0387a5d | |
parent | 1b861278a2051f53ce7955fb7992fa536dc975d9 [diff] |
Tests for NetworkPolicyManager rule generation. Verifies that policy changes trigger rule updates that respect current foregroundActivities status. Also verifies logic that promotes a UID based on its most-foreground PID. Verifies that policy changes result in immediate rule changes. Also verifies that BACKGROUND_DATA_SETTING_CHANGED broadcasts are sent by policy changes. Change-Id: I4fd0dad9e1dbccee2c5968244bb1814e6cb2c6e1