Home
last modified time | relevance | path

Searched refs:withTracing (Results 1 – 25 of 42) sorted by relevance

12

/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DBaseFlickerTest.kt26 import android.tools.withTracing
34 withTracing("assertWmStart") { in doProcess()
41 withTracing("assertWmEnd") { in assertWmEnd()
48 withTracing("assertWm") { in assertWm()
55 withTracing("assertWmTag") { in assertWmTag()
65 withTracing("assertWmVisibleRegion") { in assertWmVisibleRegion()
73 withTracing("assertLayersStart") { in assertLayersStart()
80 withTracing("assertLayersEnd") { in assertLayersEnd()
87 withTracing("assertLayers") { in assertLayers()
94 withTracing("assertLayersTag") { in assertLayersTag()
[all …]
DAssertionFactory.kt29 import android.tools.withTracing
44 withTracing("createWmStartAssertion") { in createWmStartAssertion()
54 withTracing("createWmEndAssertion") { in createWmEndAssertion()
64 withTracing("createWmAssertion") { in createWmAssertion()
79 withTracing("createWmTagAssertion") { in createWmTagAssertion()
93 withTracing("createWmVisibleRegionAssertion") { in createWmVisibleRegionAssertion()
115 withTracing("createLayersStartAssertion") { in createLayersStartAssertion()
125 withTracing("createLayersEndAssertion") { in createLayersEndAssertion()
135 withTracing("createLayersAssertion") { in createLayersAssertion()
150 withTracing("createLayersTagAssertion") { in createLayersTagAssertion()
[all …]
DReaderAssertionRunner.kt22 import android.tools.withTracing
30 withTracing("ReaderAssertionRunner#runAssertion") { in runAssertion()
35 return withTracing("ReaderAssertionRunner#doRunAssertion") { in doRunAssertion()
DArtifactAssertionRunner.kt24 import android.tools.withTracing
37 withTracing("ArtifactAssertionRunner#doUpdateStatus") { result.updateStatus(newStatus) } in doUpdateStatus()
DBaseAssertionRunner.kt21 import android.tools.withTracing
44 withTracing("${this::class.simpleName}#updateResultStatus") { doUpdateStatus(newStatus) } in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DTraceMonitor.kt42 android.tools.withTracing("${this::class.simpleName}#start") { in <lambda>()
61 android.tools.withTracing("${this::class.simpleName}#stop") { in <lambda>()
89 fun withTracing(writer: ResultWriter, predicate: () -> Unit) { in <lambda>() method
90 android.tools.withTracing("${this::class.simpleName}#withTracing") { in <lambda>()
106 fun withTracing(tag: String = Tag.ALL, predicate: () -> Unit): ByteArray { in <lambda>() method
108 withTracing(writer, predicate) in <lambda>()
DMonitorUtils.kt51 .parse(WindowManagerTraceMonitor().withTracing(Tag.ALL, predicate)) in <lambda>()
71 .withTracing(Tag.ALL, predicate) in withSFTracing()
90 .withTracing(Tag.ALL, predicate) in withTransactionsTracing()
103 fun withTracing( in withTracing() method
137 PerfettoTraceMonitor.newBuilder().enableLayersTrace().build().withTracing { in recordTraces()
138 wmTraceData = WindowManagerTraceMonitor().withTracing(Tag.ALL, predicate) in recordTraces()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DTraceProcessorSession.kt25 import android.tools.withTracing
36 return withTracing("TraceProcessorSession#query") { in query()
44 return withTracing("TraceProcessorSession#loadPerfettoTrace") { in loadPerfettoTrace()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceImpl.kt21 import android.tools.withTracing in <lambda>()
26 return withTracing("FlickerService#detectScenarios") { in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DResultReader.kt44 import android.tools.withTracing in <lambda>()
81 return withTracing("readWmState#$tag") { in <lambda>()
96 return withTracing("readWmTrace") { in <lambda>()
127 return withTracing("readLayersTrace") { in <lambda>()
160 return withTracing("readLayersDump#$tag") { in <lambda>()
180 withTracing("readTransactionsTrace") { in <lambda>()
203 return withTracing("readTransitionsTrace") { in <lambda>()
212 return@withTracing null in <lambda>()
230 return withTracing("readProtoLogTrace") { in <lambda>()
287 return withTracing("readEventLogTrace") { in <lambda>()
DResultReaderWithLru.kt29 import android.tools.withTracing
79 return withTracing("logAndReadTrace") { in logAndReadTrace()
83 withTracing("cache miss") { in logAndReadTrace()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/
DSetupTeardownRule.kt25 import android.tools.withTracing
64 withTracing("doRunTransitionSetup") { in doRunTransitionSetup()
72 withTracing("doRunTransitionTeardown") { in doRunTransitionTeardown()
DTransitionExecutionRule.kt30 import android.tools.withTracing
61 withTracing("transition") { in apply()
77 withTracing("doRunBeforeTransition") { in doRunBeforeTransition()
95 withTracing("doRunAfterTransition") { in doRunAfterTransition()
124 withTracing("doRunAfterTransition") { in doCreateTag()
DTraceMonitorRule.kt26 import android.tools.withTracing
73 withTracing("doStartMonitors") { in doStartMonitors()
87 withTracing("doStopMonitors") { in doStopMonitors()
/platform_testing/libraries/flicker/src/android/tools/flicker/datastore/
DCachedAssertionRunner.kt24 import android.tools.withTracing
38 return withTracing("${this::class.simpleName}#doUpdateStatus") { in doUpdateStatus()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/
DDeviceDumpParser.kt28 import android.tools.withTracing in <lambda>()
58 return withTracing("fromNullableDump") { in <lambda>()
96 return withTracing("fromDump") { in <lambda>()
/platform_testing/libraries/flicker/appHelpers/src/android/tools/device/apphelpers/
DStandardAppHelper.kt30 import android.tools.withTracing
96 withTracing("${this::class.simpleName}#exit") { in exit()
104 withTracing("${this::class.simpleName}#exitAndWait") { in exit()
129 withTracing("${this::class.simpleName}#launchAppViaIntent") { in launchAppViaIntent()
167 withTracing("${this::class.simpleName}#launchViaIntent") { in launchViaIntent()
177 withTracing("${this::class.simpleName}#doWaitShown") { in doWaitShown()
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/
DRemoveAllTasksButHomeRule.kt23 import android.tools.withTracing
31 withTracing("$RemoveAllTasksButHomeRule:starting") { in starting()
DChangeDisplayOrientationRule.kt25 import android.tools.withTracing
55 withTracing("ChangeDisplayOrientationRule:starting") { in starting()
69 withTracing("ChangeDisplayOrientationRule:finished") { in finished()
DLaunchAppRule.kt24 import android.tools.withTracing
67 withTracing("LaunchAppRule:starting") { in starting()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DMonitorUtilsTest.kt33 fun withTracing() { in withTracing() method in android.tools.monitors.MonitorUtilsTest
35 android.tools.traces.monitors.withTracing { in withTracing()
DPerfettoTraceMonitorTest.kt76 val traceData = PerfettoTraceMonitor.newBuilder().enableLayersDump().build().withTracing {} in <lambda>()
97 traceMonitor.withTracing { in <lambda>()
118 val traceData = traceMonitor.withTracing { in <lambda>()
165 traceMonitor.withTracing { in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/parsers/
DAbstractTraceParser.kt22 import android.tools.withTracing
90 val parsedEntry = withTracing("doParseEntry") { doParseEntry(rawEntry) } in doParse()
112 return withTracing("${this::class.simpleName}#parse") { in parse()
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DUtils.kt26 import android.tools.withTracing
46 withTracing("doWaitForUiStabilize") { in doWaitForUiStabilize()
/platform_testing/libraries/flicker/utils/src/android/tools/
DExtensions.kt24 inline fun <T> withTracing(name: String, predicate: () -> T): T = in withCache() method

12