Home
last modified time | relevance | path

Searched refs:computeNextCycleBoundary (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java30 import static android.net.NetworkPolicyManager.computeNextCycleBoundary;
496 computeNextCycleBoundary(parseTime("2012-01-14T00:00:00.000Z"), policy)); in testCycleBoundaryLeapYear()
498 computeNextCycleBoundary(parseTime("2012-02-14T00:00:00.000Z"), policy)); in testCycleBoundaryLeapYear()
502 computeNextCycleBoundary(parseTime("2012-03-14T00:00:00.000Z"), policy)); in testCycleBoundaryLeapYear()
505 computeNextCycleBoundary(parseTime("2007-01-14T00:00:00.000Z"), policy)); in testCycleBoundaryLeapYear()
507 computeNextCycleBoundary(parseTime("2007-02-14T00:00:00.000Z"), policy)); in testCycleBoundaryLeapYear()
511 computeNextCycleBoundary(parseTime("2007-03-14T00:00:00.000Z"), policy)); in testCycleBoundaryLeapYear()
519 computeNextCycleBoundary(parseTime("2012-01-05T00:00:00.000Z"), policy)); in testNextCycleTimezoneAfterUtc()
527 computeNextCycleBoundary(parseTime("2012-01-05T00:00:00.000Z"), policy)); in testNextCycleTimezoneBeforeUtc()
536 long currentCycle = computeNextCycleBoundary(parseTime("2011-08-01T00:00:00.000Z"), policy); in testNextCycleSane()
[all …]
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java245 public static long computeNextCycleBoundary(long currentTime, NetworkPolicy policy) { in computeNextCycleBoundary() method in NetworkPolicyManager