Home
last modified time | relevance | path

Searched refs:PerfettoListener (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/flicker/collector/test/src/android/tools/collectors/
DDefaultUITraceListenerTest.java29 import android.device.collectors.PerfettoListener;
84 if (Boolean.parseBoolean(b.getString(PerfettoListener.COLLECT_PER_RUN))) { in initStrategy()
86 } else if (Boolean.parseBoolean(b.getString(PerfettoListener.COLLECT_PER_CLASS))) { in initStrategy()
133 b.putString(PerfettoListener.COLLECT_PER_RUN, "false"); in testPerfettoPerTestFailureFlowDefault()
159 b.putString(PerfettoListener.COLLECT_PER_RUN, "true"); in testPerfettoPerRunSuccessFlow()
181 b.putString(PerfettoListener.COLLECT_PER_RUN, "true"); in testPerfettoPerRunFailureFlow()
217 b.putString(PerfettoListener.COLLECT_PER_CLASS, "true"); in testPerfettoClassFlowOneClassOneTest()
239 b.putString(PerfettoListener.COLLECT_PER_CLASS, "true"); in testPerfettoClassFlowOneClassMultipleTests()
263 b.putString(PerfettoListener.COLLECT_PER_CLASS, "true"); in testPerfettoClassFlowMultipleClasses()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DPerfettoListener.java35 public class PerfettoListener extends BaseMetricListener { class
41 public PerfettoListener() { in PerfettoListener() method in PerfettoListener
50 public PerfettoListener(Bundle args, PerfettoTracingStrategy strategy) { in PerfettoListener() method in PerfettoListener
/platform_testing/libraries/flicker/collector/src/android/tools/collectors/
DDefaultUITraceListener.java20 import android.device.collectors.PerfettoListener;
36 public class DefaultUITraceListener extends PerfettoListener {
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DPerfettoListenerTest.java72 private PerfettoListener mListener;
100 if (Boolean.parseBoolean(b.getString(PerfettoListener.COLLECT_PER_RUN))) { in initStrategy()
108 } else if (Boolean.parseBoolean(b.getString(PerfettoListener.COLLECT_PER_CLASS))) { in initStrategy()
128 private PerfettoListener initListener(Bundle b) { in initListener()
131 PerfettoListener listener = spy(new PerfettoListener(b, initStrategy(b))); in initListener()
275 b.putString(PerfettoListener.COLLECT_PER_RUN, "true"); in testPerfettoPerRunSuccessFlow()
324 b.putString(PerfettoListener.COLLECT_PER_RUN, "true"); in testPerfettoDoesNotHoldWakeLockPerRun()
364 b.putString(PerfettoListener.COLLECT_PER_RUN, "true"); in testHoldWakeLockOnTestRunStart()
429 b.putString(PerfettoListener.COLLECT_PER_RUN, "true"); in testHoldWakeLockOnTestRunEnd()
455 b.putString(PerfettoListener.COLLECT_PER_RUN, "true"); in testPerfettoPerRunFailureFlow()