Searched refs:cujEvents (Results 1 – 3 of 3) sorted by relevance
350 assertEquals(2, eventLog.cujEvents.size) in canCaptureCujEvents()385 val cujEvents = in collectsCujEventData() constant386 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 …]
33 val cujEvents: Collection<CujEvent> = entries.filterIsInstance<CujEvent>() constant in android.tools.traces.events.EventLog35 val cujTrace: CujTrace = CujTrace.from(cujEvents)
34 fun from(cujEvents: Collection<CujEvent>): CujTrace { in from()37 val sortedCujEvents = cujEvents.sortedBy { it.timestamp.unixNanos } in from()