diff options
author | Jeff Sharkey <jsharkey@android.com> | 2011-06-10 15:14:07 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2011-06-10 19:45:34 -0700 |
commit | cd2ca4038a027315832c38c68be5076000bc4b53 (patch) | |
tree | 27018030282a7f5fd1b12608da4e1077a73b8d3e /services/tests | |
parent | 21c9c45e5caf62b935354b74392fb40c4bf18529 (diff) | |
download | frameworks_base-cd2ca4038a027315832c38c68be5076000bc4b53.zip frameworks_base-cd2ca4038a027315832c38c68be5076000bc4b53.tar.gz frameworks_base-cd2ca4038a027315832c38c68be5076000bc4b53.tar.bz2 |
Move data cycle methods to framework object.
Moved so they can be used by both system service and Settings UI, since
they both work with data usage cycles. Still covered by tests.
Change-Id: I01c0c4db6da9457dd867c9167d31a5f9f8e5f5d9
Diffstat (limited to 'services/tests')
-rw-r--r-- | services/tests/servicestests/src/com/android/server/NetworkPolicyManagerServiceTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/tests/servicestests/src/com/android/server/NetworkPolicyManagerServiceTest.java b/services/tests/servicestests/src/com/android/server/NetworkPolicyManagerServiceTest.java index c4ddb00..1eeb56b 100644 --- a/services/tests/servicestests/src/com/android/server/NetworkPolicyManagerServiceTest.java +++ b/services/tests/servicestests/src/com/android/server/NetworkPolicyManagerServiceTest.java @@ -22,9 +22,9 @@ import static android.net.NetworkPolicyManager.POLICY_NONE; import static android.net.NetworkPolicyManager.POLICY_REJECT_PAID_BACKGROUND; import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL; import static android.net.NetworkPolicyManager.RULE_REJECT_PAID; +import static android.net.NetworkPolicyManager.computeLastCycleBoundary; import static android.net.NetworkStats.UID_ALL; import static android.net.TrafficStats.TEMPLATE_WIFI; -import static com.android.server.net.NetworkPolicyManagerService.computeLastCycleBoundary; import static org.easymock.EasyMock.capture; import static org.easymock.EasyMock.createMock; import static org.easymock.EasyMock.eq; |