Home
last modified time | relevance | path

Searched refs:eventLog (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/events/
DEventLogMonitorTest.kt98 val eventLog = reader.readEventLogTrace() in canCaptureFocusEventLogs() constant
99 requireNotNull(eventLog) { "EventLog was null" } in canCaptureFocusEventLogs()
101 assertEquals(2, eventLog.focusEvents.size) in canCaptureFocusEventLogs()
104 eventLog.focusEvents.first().window in canCaptureFocusEventLogs()
106 assertEquals(FocusEvent.Type.LOST, eventLog.focusEvents.first().type) in canCaptureFocusEventLogs()
109 eventLog.focusEvents.drop(1).first().window in canCaptureFocusEventLogs()
111 assertEquals(FocusEvent.Type.GAINED, eventLog.focusEvents.drop(1).first().type) in canCaptureFocusEventLogs()
113 eventLog.focusEvents.first().timestamp <= eventLog.focusEvents.drop(1).first().timestamp in canCaptureFocusEventLogs()
115 assertEquals(eventLog.focusEvents.first().reason, "test") in canCaptureFocusEventLogs()
154 val eventLog = reader.readEventLogTrace() in onlyCapturesLastTransition() constant
[all …]
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DParsedTracesReader.kt38 private val eventLog: EventLog? = null, constant in android.tools.utils.ParsedTracesReader
58 override fun readEventLogTrace(): EventLog? = eventLog in readLayersTrace()
60 override fun readCujTrace(): CujTrace? = eventLog?.cujTrace in readLayersTrace()
71 eventLog?.slice(startTimestamp, endTimestamp), in readLayersTrace()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/events/
DEventLogSubject.kt29 class EventLogSubject(val eventLog: EventLog, override val reader: Reader) : FlickerSubject() { in <lambda>() constant in android.tools.flicker.subject.events.EventLogSubject
30 override val timestamp = eventLog.entries.firstOrNull()?.timestamp ?: Timestamps.empty() in <lambda>()
34 eventLog.focusEvents.firstOrNull { !it.hasFocus() }?.let { focusList.add(it) } in <lambda>()
35 focusList + eventLog.focusEvents.filter { it.hasFocus() } in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/
DUtils.kt74 eventLog = EventLogParser().parse(scenarioTraces.eventLog.readBytes()), in <lambda>()
83 lateinit var eventLog: File in getScenarioTraces() variable
90 "eventlog$WINSCOPE_EXT" to { eventLog = it } in getScenarioTraces()
104 eventLog, in getScenarioTraces()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/events/
DEventLogSubjectTest.kt38 eventLog = in canDetectFocusChanges()
94 ParsedTracesReader(artifact = TestArtifact.EMPTY, eventLog = EventLog(emptyList())) in canDetectFocusDoesNotChange()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/
DFlickerBuilder.kt82 val eventLog: File constant in android.tools.flicker.legacy.FlickerBuilder.TraceFiles
103 addMonitor(NoTraceMonitor { it.addTraceResult(TraceType.EVENT_LOG, traceFiles.eventLog) }) in <lambda>()
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DAtestRunListener.java138 String eventLog = String.format("%s %s\n\n", key, new JSONObject(event)); in printEvent() local
139 fw.append(eventLog); in printEvent()