Home
last modified time | relevance | path

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

123

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DBaseCollectionListenerTest.java66 doReturn(true).when(helper).stopCollecting(); in initListener()
85 verify(helper, times(0)).stopCollecting(); in testPerRunFlow()
87 verify(helper, times(1)).stopCollecting(); in testPerRunFlow()
107 verify(helper, times(1)).stopCollecting(); in testPerTestFlow()
111 verify(helper, times(2)).stopCollecting(); in testPerTestFlow()
114 verify(helper, times(2)).stopCollecting(); in testPerTestFlow()
131 verify(helper, times(1)).stopCollecting(); in testDefaultOptionFlow()
135 verify(helper, times(2)).stopCollecting(); in testDefaultOptionFlow()
137 verify(helper, times(2)).stopCollecting(); in testDefaultOptionFlow()
160 verify(helper, times(1)).stopCollecting(); in testPerTestFailureFlowNotCollectMetrics()
[all …]
DPerfettoListenerTest.java125 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestSuccessFlow()
133 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), eq( in testPerfettoPerTestSuccessFlow()
150 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestFailureFlowDefault()
163 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestFailureFlowDefault()
203 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoDefaultStartWaitTime()
213 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoDefaultStartWaitTime()
229 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoCustomStartWaitTime()
239 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoCustomStartWaitTime()
253 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow()
261 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow()
[all …]
DSimpleperfListenerTest.java169 doReturn(true).when(mSimpleperfHelper).stopCollecting(anyString()); in testSimpleperfPerTestSuccessFlow()
177 verify(mSimpleperfHelper, times(1)).stopCollecting(anyString()); in testSimpleperfPerTestSuccessFlow()
191 doReturn(true).when(mSimpleperfHelper).stopCollecting(anyString()); in testSimpleperfPerTestFailureFlowDefault()
203 verify(mSimpleperfHelper, times(1)).stopCollecting(anyString()); in testSimpleperfPerTestFailureFlowDefault()
242 doReturn(true).when(mSimpleperfHelper).stopCollecting(anyString()); in testSimpleperfPerRunSuccessFlow()
250 verify(mSimpleperfHelper, times(0)).stopCollecting(anyString()); in testSimpleperfPerRunSuccessFlow()
252 verify(mSimpleperfHelper, times(1)).stopCollecting(anyString()); in testSimpleperfPerRunSuccessFlow()
348 verify(mSimpleperfHelperVisibleUidevice, times(1)).stopCollecting(anyString()); in testSimpleperfPerRunReport()
383 verify(mSimpleperfHelperVisibleUidevice, times(1)).stopCollecting(anyString()); in testSimpleperfPerTestReport()
403 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.java52 assertTrue(mBatteryUsageStatsHelper.stopCollecting()); in testBatteryUsageStatsConfig()
108 assertTrue(mBatteryUsageStatsHelper.stopCollecting()); in testBatteryUsageStatsMetrics()
165 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/perfetto/test/src/com/android/helpers/tests/
DPerfettoHelperTest.java64 mPerfettoHelper.stopCollecting(1000, "data/local/tmp/out.perfetto-trace"); in teardown()
125 assertTrue(mPerfettoHelper.stopCollecting(1000, "data/local/tmp/out.perfetto-trace")); in testPerfettoValidOutputPath()
136 assertFalse(mPerfettoHelper.stopCollecting(1000, "/data/xxx/xyz/out.perfetto-trace")); in testPerfettoInvalidOutputPath()
147 assertTrue(mPerfettoHelper.stopCollecting(1000, "/data/local/tmp/out.perfetto-trace")); in testPerfettoSuccess()
/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/memory/test/src/com/android/helpers/tests/
DDumpsysMeminfoHelperTest.java69 mDumpsysMeminfoHelper.stopCollecting(); in testCollectMeminfo_noProcess()
94 mDumpsysMeminfoHelper.stopCollecting(); in testCollectMeminfo_oneProcess()
104 mDumpsysMeminfoHelper.stopCollecting(); in testCollectMeminfo_multipleProcesses()
/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.java112 mHelper.stopCollecting(); in onTestEnd()
120 mHelper.stopCollecting(); in onTestRunEnd()
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/
DJankCollectionHelperTest.java148 mHelper.stopCollecting(); in testCollect_valuesMatch()
165 mHelper.stopCollecting(); in testCollect_singlePackage()
193 mHelper.stopCollecting(); in testCollect_multiPackage()
226 mHelper.stopCollecting(); in testCollect_allPackages()
272 mHelper.stopCollecting(); in testCollect_ignoreMissingFields()
357 mHelper.stopCollecting(); in testCollect_firstValuesMatch()
392 mHelper.stopCollecting(); in testCollect_ignoreUnknownField()
/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/flicker/src/com/android/server/wm/flicker/rules/
DFlickerResultsCollector.kt77 override fun stopCollecting(): Boolean { in stopCollecting() method in com.android.server.wm.flicker.rules.FlickerResultsCollector.CollectionHelper
/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()
/platform_testing/libraries/collectors-helper/app/src/com/android/helpers/
DAppVersionHelper.java85 public boolean stopCollecting() { in stopCollecting() method in AppVersionHelper
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DDumpsysServiceHelper.java78 public boolean stopCollecting() { in stopCollecting() method in DumpsysServiceHelper
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DHeapDumpHelper.java112 public boolean stopCollecting() { in stopCollecting() method in HeapDumpHelper

123