Home
last modified time | relevance | path

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

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DPerfettoTracingPerClassStrategyTest.java89 PerfettoTracingStrategy strategy = in initStrategy() local
99 strategy.setup(b); in initStrategy()
100 return strategy; in initStrategy()
107 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOnFirstTestStart() local
111 strategy.testRunStart(mDataRecord, mRunDesc); in testPerfettoTraceStartOnFirstTestStart()
113 strategy.testStart(mDataRecord, mTest1Desc); in testPerfettoTraceStartOnFirstTestStart()
121 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOncePerClass() local
125 strategy.testRunStart(mDataRecord, mRunDesc); in testPerfettoTraceStartOncePerClass()
127 strategy.testStart(mDataRecord, mTest1Desc); in testPerfettoTraceStartOncePerClass()
128 strategy.testEnd(mDataRecord, mTest1Desc); in testPerfettoTraceStartOncePerClass()
[all …]
DPerfettoTracingPerRunStrategyTest.java86 PerfettoTracingStrategy strategy = in initStrategy() local
96 strategy.setup(b); in initStrategy()
97 return strategy; in initStrategy()
104 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOnRunStart() local
108 strategy.testRunStart(mDataRecord, mRunDesc); in testPerfettoTraceStartOnRunStart()
116 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOnRunStartMultiple() local
120 strategy.testRunStart(mDataRecord, mRunDesc); in testPerfettoTraceStartOnRunStartMultiple()
122 strategy.testRunStart(mDataRecord, mTest1Desc); in testPerfettoTraceStartOnRunStartMultiple()
130 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceEndOnRunEnd() local
134 strategy.testRunStart(mDataRecord, mRunDesc); in testPerfettoTraceEndOnRunEnd()
[all …]
DPerfettoTracingPerTestStrategyTest.java92 PerfettoTracingStrategy strategy = in initStrategy() local
103 strategy.setup(b); in initStrategy()
104 return strategy; in initStrategy()
111 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOnTestStart() local
115 strategy.testRunStart(mDataRecord, mRunDesc); in testPerfettoTraceStartOnTestStart()
117 strategy.testStart(mDataRecord, mTest1Desc); in testPerfettoTraceStartOnTestStart()
125 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOnTestStartMultiple() local
129 strategy.testRunStart(mDataRecord, mRunDesc); in testPerfettoTraceStartOnTestStartMultiple()
131 strategy.testStart(mDataRecord, mTest1Desc); in testPerfettoTraceStartOnTestStartMultiple()
132 strategy.testEnd(mDataRecord, mTest1Desc); in testPerfettoTraceStartOnTestStartMultiple()
[all …]
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DLauncherStrategyFactory.java91 ILauncherStrategy strategy = launcherStrategy.newInstance(); in registerLauncherStrategy() local
92 mInstanceMap.put(strategy.getSupportedLauncherPackage(), strategy); in registerLauncherStrategy() local
116 ILauncherStrategy strategy = mInstanceMap.get(launcherPkg); in getLauncherStrategy() local
118 strategy.setUiDevice(mUiDevice); in getLauncherStrategy()
121 return strategy; in getLauncherStrategy()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DLauncherStrategyFactory.java87 ILauncherStrategy strategy = launcherStrategy.newInstance(); in registerLauncherStrategy() local
88 mInstanceMap.put(strategy.getSupportedLauncherPackage(), strategy); in registerLauncherStrategy() local
109 ILauncherStrategy strategy = mInstanceMap.get(launcherPkg); in getLauncherStrategy() local
111 strategy.setUiDevice(mUiDevice); in getLauncherStrategy()
114 return strategy; in getLauncherStrategy()
/platform_testing/libraries/flicker/collector/src/android/tools/collectors/
DDefaultUITraceListener.java51 DefaultUITraceListener(Bundle args, PerfettoTracingStrategy strategy) { in DefaultUITraceListener() argument
52 super(args, strategy); in DefaultUITraceListener()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DPerfettoListener.java50 public PerfettoListener(Bundle args, PerfettoTracingStrategy strategy) { in PerfettoListener() argument
52 mTracingStrategy = strategy; in PerfettoListener()