Home
last modified time | relevance | path

Searched refs:CujEvent (Results 1 – 6 of 6) sorted by relevance

/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/events/
DCujTraceTest.kt35 CujEvent.JANK_CUJ_BEGIN_TAG in canCreateFromListOfCujEvents()
40 CujEvent.JANK_CUJ_END_TAG in canCreateFromListOfCujEvents()
60 CujEvent.JANK_CUJ_BEGIN_TAG, in canCreateFromListOfCujEventsWithTags()
66 CujEvent.JANK_CUJ_END_TAG in canCreateFromListOfCujEventsWithTags()
87 CujEvent.JANK_CUJ_BEGIN_TAG in canCreateCanceledCujsFromListOfCujEvents()
92 CujEvent.JANK_CUJ_CANCEL_TAG in canCreateCanceledCujsFromListOfCujEvents()
112 CujEvent.JANK_CUJ_CANCEL_TAG in canHandleIncompleteCujs()
117 CujEvent.JANK_CUJ_END_TAG in canHandleIncompleteCujs()
122 CujEvent.JANK_CUJ_BEGIN_TAG in canHandleIncompleteCujs()
138 CujEvent.JANK_CUJ_END_TAG in canHandleOutOfOrderEntries()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/traces/events/
DCujTrace.kt34 fun from(cujEvents: Collection<CujEvent>): CujTrace { in from()
38 val startEvents = sortedCujEvents.filter { it.type == CujEvent.Companion.Type.START } in from()
39 val endEvents = sortedCujEvents.filter { it.type == CujEvent.Companion.Type.END } in from()
41 sortedCujEvents.filter { it.type == CujEvent.Companion.Type.CANCEL } in from()
62 val canceled = closingEvent.type == CujEvent.Companion.Type.CANCEL in from()
DEventLog.kt33 val cujEvents: Collection<CujEvent> = entries.filterIsInstance<CujEvent>()
DCujEvent.kt27 class CujEvent( class
57 ): CujEvent { in fromData()
58 return CujEvent( in fromData()
/platform_testing/libraries/flicker/utils/src/android/tools/parsers/events/
DEventLogParser.kt22 import android.tools.traces.events.CujEvent in <lambda>()
73 CujEvent.fromData(pid, uid, tid, tag, eventData) in <lambda>()
76 CujEvent.fromData(pid, uid, tid, tag, eventData) in <lambda>()
79 CujEvent.fromData(pid, uid, tid, tag, eventData) in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/events/
DEventLogMonitorTest.kt22 import android.tools.traces.events.CujEvent
393 Truth.assertThat(cujEvents.first().type).isEqualTo(CujEvent.Companion.Type.START) in collectsCujEventData()
396 Truth.assertThat(cujEvents.drop(1).first().type).isEqualTo(CujEvent.Companion.Type.END) in collectsCujEventData()
400 Truth.assertThat(cujEvents.drop(2).first().type).isEqualTo(CujEvent.Companion.Type.CANCEL) in collectsCujEventData()