/frameworks/base/tests/Internal/src/com/android/internal/util/ |
D | ParcellingTests.java | 63 private void testForInstant(Instant instant) { in testForInstant() argument 65 parcelling.parcel(instant, mParcel, 0); in testForInstant() 70 if (instant == null) { in testForInstant() 73 assertEquals(instant, created); in testForInstant()
|
/frameworks/base/core/tests/coretests/src/android/net/sntp/ |
D | Timestamp64Test.java | 162 Instant instant = Instant.ofEpochSecond(epochSeconds, nanosOfSecond); in assertInstantCreationOnlySeconds() local 163 Timestamp64 timestamp = Timestamp64.fromInstant(instant); in assertInstantCreationOnlySeconds() 172 assertEquals(instant, roundTrip); in assertInstantCreationOnlySeconds() 192 Instant instant = Instant.ofEpochSecond(0, i); in testFromInstant_fractionHandling() local 193 Instant roundTripped = Timestamp64.fromInstant(instant).toInstant(0); in testFromInstant_fractionHandling() 207 Instant instant = timestamp64.toInstant(ntpEra); in assertInstantCreationOnlyFractionExact() local 209 assertEquals(expectedNanos, instant.getNano()); in assertInstantCreationOnlyFractionExact() 213 private static void assertNanosWithTruncationAllowed(long expectedNanos, Instant instant) { in assertNanosWithTruncationAllowed() argument 215 long actualNanos = instant.getNano(); in assertNanosWithTruncationAllowed()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InputMonitorCompat.java | 46 Trace.instant(Trace.TRACE_TAG_INPUT, "InputMonitorCompat-" + mName + " created"); in InputMonitorCompat() 70 Trace.instant(Trace.TRACE_TAG_INPUT, "InputMonitorCompat-" + mName + " disposed"); in dispose() 79 Trace.instant(Trace.TRACE_TAG_INPUT, "InputMonitorCompat-" + mName + " receiver created"); in getInputReceiver()
|
D | InputChannelCompat.java | 96 Trace.instant(TRACE_TAG_INPUT, "InputMonitorCompat-" + mName + " receiver disposed"); in dispose()
|
/frameworks/base/core/java/android/net/sntp/ |
D | Timestamp64.java | 81 public static Timestamp64 fromInstant(Instant instant) { in fromInstant() argument 82 long ntpEraSeconds = instant.getEpochSecond() + OFFSET_1900_TO_1970; in fromInstant() 88 long nanos = instant.getNano(); in fromInstant()
|
/frameworks/libs/systemui/tracinglib/core/android/src-platform-api/ |
D | TraceProxy.platform.kt | 56 internal actual fun instant(eventName: String) { in instant() method 57 Trace.instant(Trace.TRACE_TAG_APP, eventName) in instant()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | StateControllerTest.java | 117 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 119 Clock.fixed(SystemClock.uptimeClock().instant(), ZoneOffset.UTC); in setUp() 121 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionTimestampStore.java | 84 Instant now = mInstantSource.instant(); in timeSinceLastActiveSession() 92 Instant now = mInstantSource.instant(); in registerActiveSessionEnded()
|
/frameworks/base/core/java/android/os/ |
D | SimpleClock.java | 50 public Instant instant() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 74 final NotificationChannel instant = new NotificationChannel( in createAll() local 100 instant, in createAll()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | RecurrenceRuleTest.java | 54 private void setClock(Instant instant) { in setClock() argument 55 RecurrenceRule.sClock = Clock.fixed(instant, ZoneId.systemDefault()); in setClock()
|
/frameworks/libs/systemui/tracinglib/core/common/src/ |
D | TraceProxy.kt | 47 internal expect fun instant(eventName: String) method
|
/frameworks/av/media/module/id3/ |
D | TEST_MAPPING | 10 // does run he 32 and 64 bit tests, but not the instant tests
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RcsContactPresenceTuple.java | 490 private String convertInstantToStringFormat(Instant instant) { in convertInstantToStringFormat() argument 491 if (instant == null) { in convertInstantToStringFormat() 494 return instant.toString(); in convertInstantToStringFormat()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/ |
D | KeyButtonRipple.java | 317 Trace.instant(Trace.TRACE_TAG_APP, in endAnimations() 536 Trace.instant(Trace.TRACE_TAG_APP, "KeyButtonRipple.start." + mName); in onAnimationStart() 543 Trace.instant(Trace.TRACE_TAG_APP, "KeyButtonRipple.cancel." + mName); in onAnimationCancel() 550 Trace.instant(Trace.TRACE_TAG_APP, "KeyButtonRipple.end." + mName); in onAnimationEnd()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/ |
D | UceRequestDispatcher.java | 59 public void setExecutingTime(Instant instant) { in setExecutingTime() argument 60 mExecutingTime = Optional.of(instant); in setExecutingTime()
|
/frameworks/base/core/java/com/android/internal/os/anr/ |
D | AnrLatencyTracker.java | 313 Trace.instant(TRACE_TAG_ACTIVITY_MANAGER, "dumpStackTracesTempFileCreationFailed"); in dumpStackTracesTempFileCreationFailed() 319 Trace.instant(TRACE_TAG_ACTIVITY_MANAGER, "dumpStackTracesTempFileTimedOut"); in dumpStackTracesTempFileTimedOut() 601 Trace.instant(TRACE_TAG_ACTIVITY_MANAGER, "AnrSkipped@" + method); in anrSkipped()
|
/frameworks/base/core/java/android/widget/ |
D | DateTimeView.java | 541 Instant instant = Instant.ofEpochMilli(timeMillis); in toLocalDateTime() local 542 return LocalDateTime.ofInstant(instant, zoneId); in toLocalDateTime() 546 Instant instant = time.toInstant(zoneId.getRules().getOffset(time)); in toEpochMillis() local 547 return instant.toEpochMilli(); in toEpochMillis()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | TraceTest.java | 86 Trace.instant(Trace.TRACE_TAG_ACTIVITY_MANAGER, TAG); in testInstant() 102 Trace.instant(Trace.TRACE_TAG_ACTIVITY_MANAGER, null); in testNullStrings()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/idle/ |
D | DeviceIdlenessTrackerTest.java | 117 getAdvancedClock(Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC), in setUp() 120 Clock.fixed(SystemClock.uptimeClock().instant(), ZoneOffset.UTC), in setUp() 123 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC), in setUp()
|
/frameworks/libs/systemui/tracinglib/core/android/src-public-api/src/ |
D | TraceProxy.jetpack.kt | 63 internal actual fun instant(eventName: String) { in instant() method
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MissedIncomingCallSmsFilter.java | 145 Instant instant = time.atZone(ZoneId.systemDefault()).toInstant(); in getEpochTime() local 146 return instant.toEpochMilli(); in getEpochTime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | PanelTaskViewController.kt | 82 Trace.instant(Trace.TRACE_TAG_APP, "PanelTaskViewController - startActivity") in onInitialized()
|
/frameworks/libs/systemui/tracinglib/core/host/src-fake/ |
D | TraceProxy.fake.kt | 119 internal actual fun instant(eventName: String) { in instant() method
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | GracePeriodObserverTest.java | 73 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|