/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.uptimeMillisClock().instant(), ZoneOffset.UTC); in setUp() 122 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
D | JobStatusTest.java | 83 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 85 Clock.fixed(SystemClock.uptimeMillisClock().instant(), ZoneOffset.UTC); in setUp() 87 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
D | ConnectivityControllerTest.java | 110 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 112 Clock.fixed(SystemClock.uptimeMillisClock().instant(), ZoneOffset.UTC); in setUp() 114 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.uptimeMillisClock().instant(), ZoneOffset.UTC); in setUp() 110 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
D | QuotaControllerTest.java | 170 getAdvancedClock(Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC), in setUp() 173 Clock.fixed(SystemClock.uptimeMillisClock().instant(), ZoneOffset.UTC), in setUp() 176 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 | 139 Instant instant = time.atZone(ZoneId.systemDefault()).toInstant(); in getEpochTime() local 140 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.uptimeMillisClock().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 | 111 Instant instant = Instant.ofEpochMilli(timeMillis); in formatMillisWithFixedFormat() local 114 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/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 132 JobSchedulerService.sSystemClock = Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 134 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 108 private void setClock(Instant instant) { in setClock() argument 109 RecurrenceRule.sClock = Clock.fixed(instant, ZoneId.systemDefault()); in setClock()
|
/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/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 | 322 Instant instant = in toMillis() local 324 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/core/proto/android/app/ |
D | settings_enums.proto | 308 // ACTION: Logs pressing the "Clear app" button in the app info settings page for an instant
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 2008 final Instant now = mClock.instant();
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 3200 // Whether the app is an instant app.
|