/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | StateControllerTest.java | 118 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 120 Clock.fixed(SystemClock.uptimeClock().instant(), ZoneOffset.UTC); in setUp() 122 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
D | JobStatusTest.java | 100 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 102 Clock.fixed(SystemClock.uptimeClock().instant(), ZoneOffset.UTC); in setUp() 104 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
D | ConnectivityControllerTest.java | 115 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 117 Clock.fixed(SystemClock.uptimeClock().instant(), ZoneOffset.UTC); in setUp() 119 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
D | TimeControllerTest.java | 106 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 108 Clock.fixed(SystemClock.uptimeClock().instant(), ZoneOffset.UTC); in setUp() 110 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
D | QuotaControllerTest.java | 171 getAdvancedClock(Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC), in setUp() 174 Clock.fixed(SystemClock.uptimeClock().instant(), ZoneOffset.UTC), in setUp() 177 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC), in setUp()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | RecurrenceRuleTest.java | 47 private void setClock(Instant instant) { in setClock() argument 48 RecurrenceRule.sClock = Clock.fixed(instant, ZoneId.systemDefault()); in setClock()
|
/frameworks/base/core/java/android/os/ |
D | SimpleClock.java | 50 public Instant instant() {
|
/frameworks/base/core/java/android/widget/ |
D | DateTimeView.java | 532 Instant instant = Instant.ofEpochMilli(timeMillis); in toLocalDateTime() local 533 return LocalDateTime.ofInstant(instant, zoneId); in toLocalDateTime() 537 Instant instant = time.toInstant(zoneId.getRules().getOffset(time)); in toEpochMillis() local 538 return instant.toEpochMilli(); in toEpochMillis()
|
D | AnalogClock.java | 284 Instant instant = Instant.ofEpochMilli(timeMillis); in toLocalDateTime() local 285 return LocalDateTime.ofInstant(instant, zoneId); in toLocalDateTime()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MissedIncomingCallSmsFilter.java | 143 Instant instant = time.atZone(ZoneId.systemDefault()).toInstant(); in getEpochTime() local 144 return instant.toEpochMilli(); in getEpochTime()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 86 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 88 Clock.fixed(SystemClock.uptimeClock().instant(), ZoneOffset.UTC); in setUp() 90 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
/frameworks/base/core/java/android/text/format/ |
D | TimeFormatter.java | 106 Instant instant = Instant.ofEpochMilli(timeMillis); in formatMillisWithFixedFormat() local 109 LocalDateTime localDateTime = LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); in formatMillisWithFixedFormat()
|
/frameworks/base/core/proto/android/content/ |
D | package_item_info.proto | 80 // user's configuration. For example, when an instant app is installed for a
|
/frameworks/base/core/proto/android/media/ |
D | audioattributes.proto | 77 // Usage value to use when the usage is notification for an "instant"
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | SurfaceTextureRenderer.java | 650 Instant instant = Instant.ofEpochMilli(timeMillis); in formatTimestamp() local 652 LocalDateTime localDateTime = LocalDateTime.ofInstant(instant, zoneId); in formatTimestamp()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 107 private void setClock(Instant instant) { in setClock() argument 108 RecurrenceRule.sClock = Clock.fixed(instant, ZoneId.systemDefault()); in setClock()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 146 JobSchedulerService.sSystemClock = Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 148 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 181 when(mClock.instant()).thenReturn(now.toInstant()); in testGetMultipathPreference()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 244 ZonedDateTime.ofInstant(mClock.instant(), ZoneId.systemDefault()); in getDailyNonDefaultDataUsage()
|
/frameworks/base/proto/src/ |
D | system_messages.proto | 58 // Notify the user that instant app is running.
|
/frameworks/base/core/proto/android/app/ |
D | tvsettings_enums.proto | 372 // real instant messages 376 // write instant messages
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/ |
D | PackageTrackerTest.java | 1505 public Instant instant() { in instant() method in PackageTrackerTest.FakeClock
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 318 Instant instant = localDateTime.toInstant(mZoneId.getRules().getOffset(localDateTime)); in toMillis() local 319 return instant.toEpochMilli(); in toMillis()
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 4033 // ACTION: Phase 1 of instant application resolution occurred 4037 // ACTION: Phase 2 of instant application resolution occurred 4051 // FIELD - A token to identify all events that are part of the same instant application launch 4059 // FIELD - Whether or not the launched activity is part of an instant application 4209 // ACTION: Logs pressing the "Clear app" button in the app info settings page for an instant
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 185 public Instant instant() { in instant() method
|