Home
last modified time | relevance | path

Searched refs:stopCollecting (Results 1 – 25 of 63) sorted by relevance

123

/platform_testing/libraries/flicker/collector/test/src/android/tools/collectors/
DDefaultUITraceListenerTest.java109 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestSuccessFlow()
118 .stopCollecting( in testPerfettoPerTestSuccessFlow()
137 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestFailureFlowDefault()
149 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestFailureFlowDefault()
162 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow()
170 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow()
172 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow()
189 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunFailureFlow()
208 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoStartFailureFlow()
220 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoClassFlowOneClassOneTest()
[all …]
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DPerfettoTracingPerRunStrategyTest.java106 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceStartOnRunStart()
118 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceStartOnRunStartMultiple()
132 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEnd()
137 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEnd()
146 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEndMultiple()
153 verify(mPerfettoHelper, times(2)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEndMultiple()
164 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceDoesNotStartOnTestStart()
169 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceDoesNotStartOnTestStart()
172 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceDoesNotStartOnTestStart()
174 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceDoesNotStartOnTestStart()
[all …]
DBaseCollectionListenerTest.java68 doReturn(true).when(helper).stopCollecting(); in initListener()
87 verify(helper, times(0)).stopCollecting(); in testPerRunFlow()
89 verify(helper, times(1)).stopCollecting(); in testPerRunFlow()
109 verify(helper, times(1)).stopCollecting(); in testPerTestFlow()
113 verify(helper, times(2)).stopCollecting(); in testPerTestFlow()
116 verify(helper, times(2)).stopCollecting(); in testPerTestFlow()
133 verify(helper, times(1)).stopCollecting(); in testDefaultOptionFlow()
137 verify(helper, times(2)).stopCollecting(); in testDefaultOptionFlow()
139 verify(helper, times(2)).stopCollecting(); in testDefaultOptionFlow()
162 verify(helper, times(1)).stopCollecting(); in testPerTestFailureFlowNotCollectMetrics()
[all …]
DPerfettoListenerTest.java146 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestSuccessFlow()
155 .stopCollecting( in testPerfettoPerTestSuccessFlow()
174 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestFailureFlowDefault()
187 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestFailureFlowDefault()
227 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoDefaultStartWaitTime()
237 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoDefaultStartWaitTime()
254 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoCustomStartWaitTime()
264 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoCustomStartWaitTime()
278 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow()
286 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow()
[all …]
DPerfettoTracingPerTestStrategyTest.java113 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceStartOnTestStart()
127 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceStartOnTestStartMultiple()
144 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEnd()
150 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEnd()
152 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEnd()
161 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEndMultiple()
169 verify(mPerfettoHelper, times(2)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEndMultiple()
171 verify(mPerfettoHelper, times(2)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEndMultiple()
182 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceDoesNotStartOnRunStart()
185 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceDoesNotStartOnRunStart()
[all …]
DPerfettoTracingPerClassStrategyTest.java109 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceStartOnFirstTestStart()
123 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceStartOncePerClass()
140 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceStartInClassChange()
145 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceStartInClassChange()
147 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceStartInClassChange()
157 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndsOnRunEnds()
162 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndsOnRunEnds()
164 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndsOnRunEnds()
173 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testDoNotReportMetricOnTest()
188 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testReportMetricOnRunEndOnly()
[all …]
DSimpleperfListenerTest.java170 doReturn(true).when(mSimpleperfHelper).stopCollecting(anyString()); in testSimpleperfPerTestSuccessFlow()
178 verify(mSimpleperfHelper, times(1)).stopCollecting(anyString()); in testSimpleperfPerTestSuccessFlow()
192 doReturn(true).when(mSimpleperfHelper).stopCollecting(anyString()); in testSimpleperfPerTestFailureFlowDefault()
204 verify(mSimpleperfHelper, times(1)).stopCollecting(anyString()); in testSimpleperfPerTestFailureFlowDefault()
243 doReturn(true).when(mSimpleperfHelper).stopCollecting(anyString()); in testSimpleperfPerRunSuccessFlow()
251 verify(mSimpleperfHelper, times(0)).stopCollecting(anyString()); in testSimpleperfPerRunSuccessFlow()
253 verify(mSimpleperfHelper, times(1)).stopCollecting(anyString()); in testSimpleperfPerRunSuccessFlow()
349 verify(mSimpleperfHelperVisibleUidevice, times(1)).stopCollecting(anyString()); in testSimpleperfPerRunReport()
384 verify(mSimpleperfHelperVisibleUidevice, times(1)).stopCollecting(anyString()); in testSimpleperfPerTestReport()
404 verify(mSimpleperfHelper, times(0)).stopCollecting(anyString()); in testSimpleperfPerRunFailureFlow()
[all …]
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DCpuUsageHelperTest.java70 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuUsageConfig()
83 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuUsageMetrics()
123 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuUsageMetricsKey()
139 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuDisabledPerPkg()
158 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuUsageOnlyPerPkg()
181 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuEnableCpuUtilization()
187 mCpuUsageHelper.stopCollecting(); in tearDown()
DUiInteractionFrameInfoHelperTest.java60 assertTrue(mInteractionFrameHelper.stopCollecting()); in testConfig()
68 assertTrue(mInteractionFrameHelper.stopCollecting()); in testEmptyMetric()
106 assertTrue(mInteractionFrameHelper.stopCollecting()); in testShadeFlingMetric()
113 mInteractionFrameHelper.stopCollecting(); in tearDown()
DCrashHelperTest.java91 assertTrue(mCrashHelper.stopCollecting()); in testCrashConfig()
106 assertTrue(mCrashHelper.stopCollecting()); in testEmptyCrashMetric()
125 assertTrue(mCrashHelper.stopCollecting()); in testCrashMetric()
144 assertTrue(mCrashHelper.stopCollecting()); in testNativeCrashMetric()
163 assertTrue(mCrashHelper.stopCollecting()); in testAnrMetric()
194 assertTrue(mCrashHelper.stopCollecting()); in testMultipleCrashMetric()
225 mCrashHelper.stopCollecting(); in tearDown()
DUiActionLatencyHelperTest.java60 assertTrue(mActionLatencyHelper.stopCollecting()); in testConfig()
68 assertTrue(mActionLatencyHelper.stopCollecting()); in testEmptyMetric()
96 assertTrue(mActionLatencyHelper.stopCollecting()); in testQuickSwitchMetric()
DAppStartupHelperTest.java108 assertTrue(mAppStartupHelper.stopCollecting()); in testAppLaunchConfig()
118 assertTrue(mAppStartupHelper.stopCollecting()); in testEmptyAppLaunchMetric()
170 assertTrue(mAppStartupHelper.stopCollecting()); in testSingleColdLaunchMetric()
211 assertTrue(mAppStartupHelper.stopCollecting()); in testMultipleColdLaunchMetric()
213 assertTrue(mAppStartupHelper.stopCollecting()); in testMultipleColdLaunchMetric()
302 assertTrue(mAppStartupHelper.stopCollecting()); in testDifferentAppColdLaunchMetric()
340 assertTrue(mAppStartupHelper.stopCollecting()); in testWarmLaunchMetric()
372 assertTrue(mAppStartupHelper.stopCollecting()); in testHotLaunchMetric()
408 assertTrue(mAppStartupHelper.stopCollecting()); in testSingleLaunchStartupFullyDrawnMetric()
448 assertTrue(mAppStartupHelper.stopCollecting()); in testMultipleLaunchStartupFullyDrawnMetric()
[all …]
DThermalHelperTest.java100 assertTrue(mThermalHelper.stopCollecting()); in testThermalConfigRegistration()
119 assertTrue(mThermalHelper.stopCollecting()); in testInitialMetricsWithoutEvents()
140 assertTrue(mThermalHelper.stopCollecting()); in testSingleEvent()
172 assertTrue(mThermalHelper.stopCollecting()); in testMultipleDifferentEvents()
205 assertTrue(mThermalHelper.stopCollecting()); in testParseTemperature()
335 mThermalHelper.stopCollecting(); in tearDown()
DBatteryUsageStatsHelperTest.java54 assertTrue(mBatteryUsageStatsHelper.stopCollecting()); in testBatteryUsageStatsConfig()
110 assertTrue(mBatteryUsageStatsHelper.stopCollecting()); in testBatteryUsageStatsMetrics()
167 mBatteryUsageStatsHelper.stopCollecting(); in tearDown()
/platform_testing/libraries/collectors-helper/simpleperf/test/src/com/android/helpers/tests/
DSimpleperfHelperTest.java56 simpleperfHelper.stopCollecting("data/local/tmp/perf.data"); in teardown()
71 assertTrue(simpleperfHelper.stopCollecting("data/local/tmp/perf.data")); in testSimpleperfValidOutputPath()
79 assertFalse(simpleperfHelper.stopCollecting("/data/dummy/xyz/perf.data")); in testSimpleperfInvalidOutputPath()
87 assertTrue(simpleperfHelper.stopCollecting("/data/local/tmp/perf.data")); in testSimpleperfSuccess()
/platform_testing/libraries/collectors-helper/system/test/src/com/android/helpers/tests/
DDumpsysServiceHelperTest.java70 mDumpsysServiceHelper.stopCollecting(); in testCollectDumpsys_noService()
81 mDumpsysServiceHelper.stopCollecting(); in testCollectDumpsys_oneService()
99 mDumpsysServiceHelper.stopCollecting(); in testCollectDumpsys_multipleServices()
DTimeInStateHelperTest.java78 mTimeInStateHelper.stopCollecting(); in testCollectTimeInState_noSource()
96 mTimeInStateHelper.stopCollecting(); in testCollectTimeInState_oneSource()
121 mTimeInStateHelper.stopCollecting(); in testCollectTimeInState_multipleSources()
/platform_testing/libraries/collectors-helper/perfetto/test/src/com/android/helpers/tests/
DPerfettoHelperTest.java92 mPerfettoHelper.stopCollecting(1000, "data/local/tmp/out.perfetto-trace"); in teardown()
231 assertTrue(mPerfettoHelper.stopCollecting(1000, "data/local/tmp/out.perfetto-trace")); in testPerfettoValidOutputPath()
240 assertFalse(mPerfettoHelper.stopCollecting(1000, "/data/xxx/xyz/out.perfetto-trace")); in testPerfettoInvalidOutputPath()
251 assertTrue(mPerfettoHelper.stopCollecting(1000, "/data/local/tmp/out.perfetto-trace")); in testPerfettoSuccess()
270 assertTrue(mPerfettoHelper.stopCollecting(1000, "/data/local/tmp/out.perfetto-trace")); in testPerfettoConfigSuccess()
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DICollectorHelper.java40 boolean stopCollecting(); in stopCollecting() method
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaseCollectionListener.java114 mHelper.stopCollecting(); in onTestEnd()
125 mHelper.stopCollecting(); in onTestRunEnd()
/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/
DPwrStatsUtilHelper.java76 public boolean stopCollecting() { in stopCollecting() method in PwrStatsUtilHelper
94 stopCollecting(); in getMetrics()
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/
DJankCollectionHelperTest.java148 mHelper.stopCollecting(); in testCollect_valuesMatch()
169 mHelper.stopCollecting(); in testCollect_singlePackage()
202 mHelper.stopCollecting(); in testCollect_multiPackage()
240 mHelper.stopCollecting(); in testCollect_allPackages()
287 mHelper.stopCollecting(); in testCollect_ignoreMissingFields()
372 mHelper.stopCollecting(); in testCollect_firstValuesMatch()
408 mHelper.stopCollecting(); in testCollect_ignoreUnknownField()
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DDumpsysMeminfoHelperTest.java92 mDumpsysMeminfoHelper.stopCollecting(); in testCollectMeminfo_noProcess()
150 mDumpsysMeminfoHelper.stopCollecting(); in testCollectMeminfo_oneProcess()
160 mDumpsysMeminfoHelper.stopCollecting(); in testCollectMeminfo_multipleProcesses()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DUiActionLatencyHelper.java76 public boolean stopCollecting() { in stopCollecting() method in UiActionLatencyHelper
/platform_testing/libraries/collectors-helper/power/test/src/com/android/helpers/
DPwrStatsUtilHelperTest.java75 assertTrue(mHelper.stopCollecting()); in successfulRun()

123