Home
last modified time | relevance | path

Searched refs:cujEvents (Results 1 – 3 of 3) sorted by relevance

/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/events/
DEventLogMonitorTest.kt350 assertEquals(2, eventLog.cujEvents.size) in canCaptureCujEvents()
385 val cujEvents = in collectsCujEventData() constant
386 eventLog.cujEvents.filter { in collectsCujEventData()
391 Truth.assertThat(cujEvents).hasSize(3) in collectsCujEventData()
393 Truth.assertThat(cujEvents.first().type).isEqualTo(CujEvent.Companion.Type.START) in collectsCujEventData()
394 Truth.assertThat(cujEvents.first().cuj).isEqualTo(CujType.CUJ_LAUNCHER_QUICK_SWITCH) in collectsCujEventData()
396 Truth.assertThat(cujEvents.drop(1).first().type).isEqualTo(CujEvent.Companion.Type.END) in collectsCujEventData()
397 Truth.assertThat(cujEvents.drop(1).first().cuj) in collectsCujEventData()
400 Truth.assertThat(cujEvents.drop(2).first().type).isEqualTo(CujEvent.Companion.Type.CANCEL) in collectsCujEventData()
401 Truth.assertThat(cujEvents.drop(2).first().cuj) in collectsCujEventData()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/traces/events/
DEventLog.kt33 val cujEvents: Collection<CujEvent> = entries.filterIsInstance<CujEvent>() constant in android.tools.traces.events.EventLog
35 val cujTrace: CujTrace = CujTrace.from(cujEvents)
DCujTrace.kt34 fun from(cujEvents: Collection<CujEvent>): CujTrace { in from()
37 val sortedCujEvents = cujEvents.sortedBy { it.timestamp.unixNanos } in from()