Searched refs:computeLastCycleBoundary (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 29 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/ |
D | NetworkPolicyManager.java | 215 public static long computeLastCycleBoundary(long currentTime, NetworkPolicy policy) { in computeLastCycleBoundary() method in NetworkPolicyManager
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 50 import static android.net.NetworkPolicyManager.computeLastCycleBoundary; 792 final long start = computeLastCycleBoundary(currentTime, policy); in updateNotificationsLocked() 1085 final long start = computeLastCycleBoundary(currentTime, policy); in updateNetworkEnabledLocked() 1194 start = computeLastCycleBoundary(currentTime, policy); 1854 final long start = computeLastCycleBoundary(currentTime, policy); in getNetworkQuotaInfoUnchecked()
|