Home
last modified time | relevance | path

Searched refs:computeLastCycleBoundary (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java29 import static android.net.NetworkPolicyManager.computeLastCycleBoundary;
454 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryThisMonth()
465 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryLastMonth()
476 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryThisMonthFebruary()
487 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryLastMonthFebruary()
500 computeLastCycleBoundary(parseTime("2012-03-14T00:00:00.000Z"), policy)); in testCycleBoundaryLeapYear()
509 computeLastCycleBoundary(parseTime("2007-03-14T00:00:00.000Z"), policy)); in testCycleBoundaryLeapYear()
551 long currentCycle = computeLastCycleBoundary(parseTime("2011-08-04T00:00:00.000Z"), policy); in testLastCycleSane()
553 long lastCycle = computeLastCycleBoundary(currentCycle, policy); in testLastCycleSane()
572 computeLastCycleBoundary(parseTime("2013-01-13T23:59:59.000-08:00"), policy)); in testCycleTodayJanuary()
[all …]
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java251 public static long computeLastCycleBoundary(long currentTime, NetworkPolicy policy) { in computeLastCycleBoundary() method in NetworkPolicyManager
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java59 import static android.net.NetworkPolicyManager.computeLastCycleBoundary;
925 final long start = computeLastCycleBoundary(currentTime, policy); in updateNotificationsLocked()
1174 final long start = computeLastCycleBoundary(currentTime, policy); in updateNetworkEnabledLocked()
1270 start = computeLastCycleBoundary(currentTime, policy);
2206 final long start = computeLastCycleBoundary(currentTime, policy); in getNetworkQuotaInfoUnchecked()