Home
last modified time | relevance | path

Searched refs:sClock (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DRecurrenceRuleTest.java46 sOriginalClock = RecurrenceRule.sClock; in setUp()
51 RecurrenceRule.sClock = sOriginalClock; in tearDown()
55 RecurrenceRule.sClock = Clock.fixed(instant, ZoneId.systemDefault()); in setClock()
/frameworks/base/core/java/android/util/
DRecurrenceRule.java54 public static Clock sClock = Clock.systemDefaultZone(); field in RecurrenceRule
76 final ZonedDateTime now = ZonedDateTime.now(sClock).withZoneSameInstant(zone); in buildRecurringMonthly()
205 : ZonedDateTime.now(sClock).withZoneSameInstant(start.getZone()); in RecurringIterator()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java116 private static final OffsettableClock sClock = new OffsettableClock.Stopped(); field in DisplayRotationTests
157 sHandler = new TestHandler(null, sClock); in setUpOnce()
1295 sClock.fastForward(timeMillis); in moveTimeForward()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java664 RecurrenceRule.sClock = Clock.systemDefaultZone(); in resetClock()
1228 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTime),
1242 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTime),
2918 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTimeMillis), in setCurrentTimeMillis()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt57626 Landroid/util/RecurrenceRule;->sClock:Ljava/time/Clock;