Home
last modified time | relevance | path

Searched refs:wmTrace (Results 1 – 17 of 17) sorted by relevance

/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/
DUtils.kt29 val wmTrace = reader.readWmTrace() ?: error("Missing WM trace") in interpolateStartTimestampFromTransition() constant
34 val lastWmEntryBeforeTransitionCreated = wmTrace.getEntryAt(transition.createTime) in interpolateStartTimestampFromTransition()
59 val wmTrace = reader.readWmTrace() ?: error("Missing WM trace") in interpolateFinishTimestampFromTransition() constant
82 wmTrace.entries.firstOrNull { it.timestamp >= transition.finishTime } in interpolateFinishTimestampFromTransition()
92 require(wmTrace.entries.isNotEmpty()) { "WM trace should not be empty!" } in interpolateFinishTimestampFromTransition()
94 wmTrace.entries.minByOrNull { in interpolateFinishTimestampFromTransition()
109 (wmTrace.entries.firstOrNull { it.timestamp >= finishTransactionAppliedTimestamp } in interpolateFinishTimestampFromTransition()
129 val wmTrace = reader.readWmTrace() ?: error("Missing WM trace") in getFullTimestampAt() constant
132 (wmTrace.entries.firstOrNull { it.timestamp >= layersTraceEntry.timestamp } in getFullTimestampAt()
133 ?: wmTrace.entries.last()) in getFullTimestampAt()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DTraceConfigs.kt20 val wmTrace: TraceConfig, constant in android.tools.traces.TraceConfigs
26 function(wmTrace) in applyToAll()
DConsts.kt25 wmTrace = TraceConfig(required = true, allowNoChange = false, usingExistingTraces = false),
36 wmTrace = TraceConfig(required = false, allowNoChange = true, usingExistingTraces = false),
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DSplitAppLayerBoundsSnapToDivider.kt31 val wmTrace = scenarioInstance.reader.readWmTrace() ?: return in doEvaluate() constant
36 .coversAtMost(it.calculateExpectedDisplaySize(scenarioInstance, wmTrace)) in doEvaluate()
44 wmTrace: WindowManagerTrace in calculateExpectedDisplaySize()
47 val landscapePosLeft = !wmTrace.isTablet in calculateExpectedDisplaySize()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DParsedTracesReader.kt34 private val wmTrace: WindowManagerTrace? = null, constant in android.tools.utils.ParsedTracesReader
56 override fun readWmTrace(): WindowManagerTrace? = wmTrace in readLayersTrace()
67 wmTrace?.slice(startTimestamp, endTimestamp), in readLayersTrace()
DTestTraces.kt145 wmTrace =
DUtils.kt137 wmTrace = in equalsIgnoreOrder()
152 wmTrace = WindowManagerDumpParser().parse(readAsset(relativePath), clearCache = false) in getWmDumpReaderFromAsset()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DTransitionChange.kt45 class Formatter(val layersTrace: LayersTrace?, val wmTrace: WindowManagerTrace?) { constant in android.tools.traces.wm.TransitionChange.Formatter
55 wmTrace in format()
DTransition.kt156 class Formatter(val layersTrace: LayersTrace?, val wmTrace: WindowManagerTrace?) { in toString() constant in android.tools.traces.wm.Transition.Formatter
157 private val changeFormatter = TransitionChange.Formatter(layersTrace, wmTrace) in toString()
/platform_testing/libraries/flicker/test/src/android/tools/
DUtils.kt65 wmTrace = WindowManagerTraceParser().parse(scenarioTraces.wmTrace.readBytes()), in <lambda>()
79 lateinit var wmTrace: File in getScenarioTraces() variable
86 "wm_trace$WINSCOPE_EXT" to { wmTrace = it }, in getScenarioTraces()
100 wmTrace, in getScenarioTraces()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/appclose/
DComponents.kt42 wmTrace: WindowManagerTrace? in <lambda>()
48 isAppTransitionChange(it, layersTrace, wmTrace) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/applaunch/
DComponents.kt42 wmTrace: WindowManagerTrace? in <lambda>()
48 isAppTransitionChange(it, layersTrace, wmTrace) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DUtils.kt109 wmTrace: WindowManagerTrace? in isAppTransitionChange()
111 require(layersTrace != null || wmTrace != null) { in isAppTransitionChange()
121 wmTrace?.let { in isAppTransitionChange()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/
DFlickerBuilder.kt78 val wmTrace: File, constant in android.tools.flicker.legacy.FlickerBuilder.TraceFiles
90 addMonitor(NoTraceMonitor { it.addTraceResult(TraceType.WM, traceFiles.wmTrace) }) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/
DTransitionFilters.kt58 val wmTrace = reader.readWmTrace() in <lambda>() constant
80 isAppTransitionChange(it, layersTrace, wmTrace) && in <lambda>()
86 it.transitMode == TO_BACK && isAppTransitionChange(it, layersTrace, wmTrace) in <lambda>()
106 isAppTransitionChange(it, layersTrace, wmTrace) in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DResultReader.kt108 val minimumEntries = minimumTraceEntriesForConfig(traceConfig.wmTrace) in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/
DFlickerServiceResultsCollectorTest.kt358 wmTrace = MockWindowManagerTraceBuilder().build(), in <lambda>()