/platform_testing/libraries/flicker/utils/test/src/android/tools/io/ |
D | ResultArtifactDescriptorTest.kt | 31 createDescriptorAndValidateFileName(TraceType.SF) in generateDescriptorFromTrace() 32 createDescriptorAndValidateFileName(TraceType.WM) in generateDescriptorFromTrace() 33 createDescriptorAndValidateFileName(TraceType.TRANSACTION) in generateDescriptorFromTrace() 34 createDescriptorAndValidateFileName(TraceType.TRANSACTION) in generateDescriptorFromTrace() 35 createDescriptorAndValidateFileName(TraceType.SCREEN_RECORDING) in generateDescriptorFromTrace() 36 createDescriptorAndValidateFileName(TraceType.WM_DUMP) in generateDescriptorFromTrace() 37 createDescriptorAndValidateFileName(TraceType.SF_DUMP) in generateDescriptorFromTrace() 42 createDescriptorAndValidateFileNameWithTag(TraceType.SF) in generateDescriptorFromTraceWithTags() 43 createDescriptorAndValidateFileNameWithTag(TraceType.WM) in generateDescriptorFromTraceWithTags() 44 createDescriptorAndValidateFileNameWithTag(TraceType.TRANSACTION) in generateDescriptorFromTraceWithTags() [all …]
|
D | ResultWriterTest.kt | 124 val writer = newTestResultWriter().addTraceResult(TraceType.WM, TestTraces.WMTrace.FILE) in writeWMTrace() 129 .that(reader.hasTraceFile(TraceType.WM)) in writeWMTrace() 135 val writer = newTestResultWriter().addTraceResult(TraceType.SF, TestTraces.LayerTrace.FILE) in writeLayersTrace() 140 .that(reader.hasTraceFile(TraceType.SF)) in writeLayersTrace() 148 .addTraceResult(TraceType.TRANSACTION, TestTraces.TransactionTrace.FILE) in writeTransactionTrace() 153 .that(reader.hasTraceFile(TraceType.TRANSACTION)) in writeTransactionTrace() 162 TraceType.LEGACY_WM_TRANSITION, in writeTransitionTrace() 166 TraceType.LEGACY_SHELL_TRANSITION, in writeTransitionTrace() 173 .that(reader.hasTraceFile(TraceType.LEGACY_WM_TRANSITION)) in writeTransitionTrace() 176 .that(reader.hasTraceFile(TraceType.LEGACY_SHELL_TRANSITION)) in writeTransitionTrace() [all …]
|
D | ResultReaderTestParseLegacyTransitions.kt | 31 TraceType.LEGACY_WM_TRANSITION to TestTraces.LegacyTransitionTrace.WM_FILE, 32 TraceType.LEGACY_SHELL_TRANSITION to TestTraces.LegacyTransitionTrace.SHELL_FILE 53 it.addTraceResult(TraceType.LEGACY_WM_TRANSITION, wmTransitionTrace) in doParse() 54 it.addTraceResult(TraceType.LEGACY_SHELL_TRANSITION, shellTransitionTrace) in doParse()
|
/platform_testing/libraries/flicker/test/src/android/tools/integration/ |
D | FlickerServiceTracesCollectorTest.kt | 24 import android.tools.io.TraceType 120 TraceType.WM.fileName, 121 TraceType.PROTOLOG.fileName, 122 TraceType.EVENT_LOG.fileName, 123 TraceType.PERFETTO.fileName, 128 TraceType.WM.fileName, 129 TraceType.PROTOLOG.fileName, 130 TraceType.LEGACY_WM_TRANSITION.fileName, 131 TraceType.LEGACY_SHELL_TRANSITION.fileName, 132 TraceType.EVENT_LOG.fileName, [all …]
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/ |
D | UtilsTest.kt | 19 import android.tools.io.TraceType 34 vararg dumpTypes: TraceType = arrayOf(TraceType.SF_DUMP, TraceType.WM_DUMP) in getCurrState() 40 vararg dumpTypes: TraceType = arrayOf(TraceType.SF_DUMP, TraceType.WM_DUMP) in getCurrStateDump() 54 val currStateDump = this.getCurrState(TraceType.WM_DUMP) in canFetchCurrentDeviceStateOnlyWm() 57 val currState = this.getCurrStateDump(TraceType.WM_DUMP) in canFetchCurrentDeviceStateOnlyWm() 64 val currStateDump = this.getCurrState(TraceType.SF_DUMP) in canFetchCurrentDeviceStateOnlyLayers() 67 val currState = this.getCurrStateDump(TraceType.SF_DUMP) in canFetchCurrentDeviceStateOnlyLayers()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/ |
D | Utils.kt | 25 import android.tools.io.TraceType in <lambda>() 90 vararg dumpTypes: TraceType = arrayOf(TraceType.SF_DUMP, TraceType.WM_DUMP) in getCurrentWindowManagerState() 103 if (dumpTypes.contains(TraceType.WM_DUMP)) { in getCurrentWindowManagerState() 109 if (dumpTypes.contains(TraceType.SF_DUMP)) { in getCurrentWindowManagerState() 131 vararg dumpTypes: TraceType = arrayOf(TraceType.SF_DUMP, TraceType.WM_DUMP), in getCurrentStateDumpNullable() 144 vararg dumpTypes: TraceType = arrayOf(TraceType.SF_DUMP, TraceType.WM_DUMP), in getCurrentStateDump()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/ |
D | LegacyFlickerTestTest.kt | 25 import android.tools.io.TraceType 64 TraceType.SF, in executesLayers() 75 TraceType.SF, in executesLayerStart() 86 TraceType.SF, in executesLayerEnd() 96 doExecuteAssertionWithoutTraceAndVerifyNotExecuted(TraceType.SF, predicate) in doesNotExecuteLayersWithoutTrace() 102 doExecuteAssertionWithoutTraceAndVerifyNotExecuted(TraceType.SF, predicate) in doesNotExecuteLayersStartWithoutTrace() 108 doExecuteAssertionWithoutTraceAndVerifyNotExecuted(TraceType.SF, predicate) in doesNotExecuteLayersEndWithoutTrace() 114 doExecuteAssertionWithoutTraceAndVerifyNotExecuted(TraceType.SF, predicate) in doesNotExecuteLayerTagWithoutTag() 121 TraceType.WM, in executesWm() 132 TraceType.WM, in executesWmStart() [all …]
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/wm/ |
D | WindowManagerTraceMonitor.kt | 19 import android.tools.io.TraceType 31 override val traceType = TraceType.WM 44 override fun doStopTraces(): Map<TraceType, File> { in doStopTraces() 46 val protologFile = TRACE_DIR.resolve(TraceType.PROTOLOG.fileName) in doStopTraces() 48 result[TraceType.PROTOLOG] = protologFile in doStopTraces()
|
D | LegacyWmTransitionTraceMonitor.kt | 19 import android.tools.io.TraceType 29 override val traceType = TraceType.LEGACY_WM_TRANSITION
|
D | LegacyShellTransitionTraceMonitor.kt | 19 import android.tools.io.TraceType 29 override val traceType = TraceType.LEGACY_SHELL_TRANSITION
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/ |
D | ResultReaderWithLru.kt | 23 import android.tools.io.TraceType 48 val descriptor = ResultArtifactDescriptor(TraceType.WM) in readWmTrace() 56 val descriptor = ResultArtifactDescriptor(TraceType.SF) in readLayersTrace() 64 val descriptor = ResultArtifactDescriptor(TraceType.EVENT_LOG) in readEventLogTrace() 75 private fun <TraceType> LruCache<CacheKey, TraceType>.logAndReadTrace( in logAndReadTrace() 77 predicate: () -> TraceType? in logAndReadTrace() 78 ): TraceType? { in logAndReadTrace()
|
D | ResultReader.kt | 25 import android.tools.io.TraceType in <lambda>() 71 override fun readBytes(traceType: TraceType, tag: String): ByteArray? = in <lambda>() 82 val descriptor = ResultArtifactDescriptor(TraceType.WM_DUMP, tag) in <lambda>() 97 val descriptor = ResultArtifactDescriptor(TraceType.WM) in <lambda>() 128 val descriptor = ResultArtifactDescriptor(TraceType.SF) in <lambda>() 161 val descriptor = ResultArtifactDescriptor(TraceType.SF_DUMP, tag) in <lambda>() 185 val traceData = artifact.readBytes(ResultArtifactDescriptor(TraceType.TRANSACTION)) in <lambda>() 231 val traceData = artifact.readBytes(ResultArtifactDescriptor(TraceType.PERFETTO)) in <lambda>() 247 val traceData = artifact.readBytes(ResultArtifactDescriptor(TraceType.PERFETTO)) in <lambda>() 259 artifact.readBytes(ResultArtifactDescriptor(TraceType.LEGACY_WM_TRANSITION)) in <lambda>() [all …]
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/ |
D | FlickerBuilder.kt | 21 import android.tools.io.TraceType 90 addMonitor(NoTraceMonitor { it.addTraceResult(TraceType.WM, traceFiles.wmTrace) }) in <lambda>() 91 addMonitor(NoTraceMonitor { it.addTraceResult(TraceType.SF, traceFiles.perfetto) }) in <lambda>() 92 addMonitor(NoTraceMonitor { it.addTraceResult(TraceType.TRANSACTION, traceFiles.perfetto) }) in <lambda>() 95 it.addTraceResult(TraceType.LEGACY_WM_TRANSITION, traceFiles.wmTransitions) in <lambda>() 100 it.addTraceResult(TraceType.LEGACY_SHELL_TRANSITION, traceFiles.shellTransitions) in <lambda>() 103 addMonitor(NoTraceMonitor { it.addTraceResult(TraceType.EVENT_LOG, traceFiles.eventLog) }) in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/events/ |
D | EventLogMonitor.kt | 20 import android.tools.io.TraceType 32 override val traceType = TraceType.EVENT_LOG 50 val outputFile = File.createTempFile(TraceType.EVENT_LOG.fileName, "") in doStop()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/wm/ |
D | WindowManagerTraceMonitorTest.kt | 19 import android.tools.io.TraceType 36 override val traceType = TraceType.WM 58 .that(reader.hasTraceFile(TraceType.PROTOLOG)) in includesProtologTrace()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/ |
D | TransitionExecutionRule.kt | 24 import android.tools.io.TraceType 130 val wmDumpFile = File.createTempFile(TraceType.WM_DUMP.fileName, tag) in doCreateTag() 131 val layersDumpFile = File.createTempFile(TraceType.SF_DUMP.fileName, tag) in doCreateTag() 136 resultWriter.addTraceResult(TraceType.WM_DUMP, wmDumpFile, tag) in doCreateTag() 137 resultWriter.addTraceResult(TraceType.SF_DUMP, layersDumpFile, tag) in doCreateTag()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/ |
D | SubjectsParserTestParseLayers.kt | 23 import android.tools.io.TraceType 32 override val traceType = TraceType.SF
|
D | SubjectsParserTestParseWM.kt | 23 import android.tools.io.TraceType 32 override val traceType = TraceType.WM
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/wm/ |
D | WindowManagerDumpParserTest.kt | 20 import android.tools.io.TraceType 45 val data = getCurrentState(TraceType.WM_DUMP) in canParseFromNewDump()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/datastore/ |
D | CachedResultReaderTest.kt | 21 import android.tools.io.TraceType 42 writer.addTraceResult(TraceType.EVENT_LOG, TestTraces.EventLog.FILE) in readFromStore()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/ |
D | TraceProcessorSession.kt | 24 import android.tools.io.TraceType 45 val traceFile = File.createTempFile(TraceType.SF.fileName, "") in loadPerfettoTrace()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/ |
D | TraceMonitor.kt | 21 import android.tools.io.TraceType in <lambda>() 35 abstract val traceType: TraceType in <lambda>() 39 protected open fun doStopTraces(): Map<TraceType, File> = mapOf(traceType to doStop()) in <lambda>()
|
D | ScreenRecorder.kt | 21 import android.tools.io.TraceType 35 override val traceType = TraceType.SCREEN_RECORDING
|
/platform_testing/libraries/flicker/src/android/tools/flicker/ |
D | FlickerServiceTracesCollector.kt | 23 import android.tools.io.TraceType 36 private val traceMonitors = ALL_MONITORS.filter { it.traceType != TraceType.SCREEN_RECORDING } in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/view/ |
D | ViewTraceMonitor.kt | 19 import android.tools.io.TraceType in <lambda>() 30 override val traceType = TraceType.VIEW in <lambda>()
|