Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/logging/
DStartupLatencyLoggerTest.kt33 underTest.startTimeByEvent.get( in logTotalDurationStart()
78 assertThat(underTest.startTimeByEvent.isEmpty()).isTrue() in logStartOfOtherEvents_withoutLogStartOfTotalDuration_noOp()
104 assertThat(underTest.startTimeByEvent.size()).isEqualTo(4) in logStartOfOtherEvents_afterLogStartOfTotalDuration_logged()
120 assertThat(underTest.startTimeByEvent.size()).isEqualTo(1) in logDuplicatedStartEvent_2ndEvent_notLogged()
122 underTest.startTimeByEvent.get( in logDuplicatedStartEvent_2ndEvent_notLogged()
144 assertThat(underTest.startTimeByEvent.size()).isEqualTo(2) in loadStartOfWorkspace_thenEndWithAsync_logAsyncStart()
146 underTest.startTimeByEvent.get( in loadStartOfWorkspace_thenEndWithAsync_logAsyncStart()
257 assertThat(underTest.startTimeByEvent.size()).isEqualTo(4) in reset_clearState()
264 assertThat(underTest.startTimeByEvent.isEmpty()).isTrue() in reset_clearState()
287 assertThat(underTest.startTimeByEvent.isEmpty()).isTrue() in tornDown_rejectLogs()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DColdRebootStartupLatencyLogger.kt24 val startTimeByEvent = SparseLongArray() constant
89 startTimeByEvent.put(event.id, startTimeMs) in logStart()
119 startTimeByEvent.clear() in reset()
143 if (startTimeByEvent.contains(event.id)) { in validateLoggingEventAtStart()
147 startTimeByEvent.isEmpty() && in validateLoggingEventAtStart()
167 if (!startTimeByEvent.contains(event.id)) { in validateLoggingEventAtEnd()