Home
last modified time | relevance | path

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

12

/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.java123 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestSuccessFlow()
131 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestSuccessFlow()
146 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestFailureFlowDefault()
159 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestFailureFlowDefault()
201 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow()
209 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow()
211 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow()
251 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoDoesNotHoldWakeLockPerRun()
270 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testPerfettoDoesNotHoldWakeLockPerTest()
291 doReturn(true).when(mPerfettoHelper).stopCollecting(anyLong(), anyString()); in testHoldWakeLockOnTestRunStart()
[all …]
/platform_testing/libraries/collectors-helper/perfetto/test/src/com/android/helpers/tests/
DPerfettoHelperTest.java101 assertTrue(perfettoHelper.stopCollecting(1000, "data/local/tmp/out.pb")); in testPerfettoValidOutputPath()
111 assertFalse(perfettoHelper.stopCollecting(1000, "/data/dummy/xyz/out.pb")); in testPerfettoInvalidOutputPath()
121 assertTrue(perfettoHelper.stopCollecting(1000, "/data/local/tmp/out.pb")); in testPerfettoSuccess()
136 assertTrue(perfettoHelper.stopCollecting(1000, "/data/local/tmp/out.pb")); in testTextProtoConfigSuccess()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DCpuUsageHelperTest.java74 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuUsageConfig()
87 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuUsageMetrics()
150 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuUsageMetricsKey()
168 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuDisabledPerPkgPerFreq()
189 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuUsageOnlyPerPkg()
210 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuUsageOnlyPerFreq()
233 assertTrue(mCpuUsageHelper.stopCollecting()); in testCpuEnableCpuUtilization()
DCrashHelperTest.java88 assertTrue(mCrashHelper.stopCollecting()); in testCrashConfig()
103 assertTrue(mCrashHelper.stopCollecting()); in testEmptyCrashMetric()
122 assertTrue(mCrashHelper.stopCollecting()); in testCrashMetric()
141 assertTrue(mCrashHelper.stopCollecting()); in testNativeCrashMetric()
160 assertTrue(mCrashHelper.stopCollecting()); in testAnrMetric()
191 assertTrue(mCrashHelper.stopCollecting()); in testMultipleCrashMetric()
DThermalHelperTest.java75 assertTrue(mThermalHelper.stopCollecting()); in testThermalConfigRegistration()
93 assertTrue(mThermalHelper.stopCollecting()); in testInitialMetricsWithoutEvents()
114 assertTrue(mThermalHelper.stopCollecting()); in testSingleEvent()
146 assertTrue(mThermalHelper.stopCollecting()); in testMultipleDifferentEvents()
DAppStartupHelperTest.java97 assertTrue(mAppStartupHelper.stopCollecting()); in testAppLaunchConfig()
107 assertTrue(mAppStartupHelper.stopCollecting()); in testEmptyAppLaunchMetric()
151 assertTrue(mAppStartupHelper.stopCollecting()); in testSingleColdLaunchMetric()
192 assertTrue(mAppStartupHelper.stopCollecting()); in testMultipleColdLaunchMetric()
194 assertTrue(mAppStartupHelper.stopCollecting()); in testMultipleColdLaunchMetric()
283 assertTrue(mAppStartupHelper.stopCollecting()); in testDifferentAppColdLaunchMetric()
308 assertTrue(mAppStartupHelper.stopCollecting()); in testWarmLaunchMetric()
339 assertTrue(mAppStartupHelper.stopCollecting()); in testHotLaunchMetric()
375 assertTrue(mAppStartupHelper.stopCollecting()); in testSingleLaunchStartupFullyDrawnMetric()
415 assertTrue(mAppStartupHelper.stopCollecting()); in testMultipleLaunchStartupFullyDrawnMetric()
[all …]
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DICollectorHelper.java20 boolean stopCollecting(); in stopCollecting() method
/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/device-collectors/src/main/java/android/device/collectors/
DBaseCollectionListener.java107 mHelper.stopCollecting(); in onTestEnd()
118 mHelper.stopCollecting(); in onTestRunEnd()
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/
DJankCollectionHelperTest.java132 mHelper.stopCollecting(); in testCollect_valuesMatch()
149 mHelper.stopCollecting(); in testCollect_singlePackage()
177 mHelper.stopCollecting(); in testCollect_multiPackage()
210 mHelper.stopCollecting(); in testCollect_allPackages()
256 mHelper.stopCollecting(); in testCollect_ignoreMissingFields()
288 mHelper.stopCollecting(); in testCollect_ignoreUnknownField()
DSfStatsCollectionHelperTest.java281 mHelper.stopCollecting(); in testCollect_valuesMatch()
/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/power/test/src/com/android/helpers/
DPwrStatsUtilHelperTest.java76 assertTrue(mHelper.stopCollecting()); in successfulRun()
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DProcLoadHelper.java87 public boolean stopCollecting() { in stopCollecting() method in ProcLoadHelper
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DCrashHelper.java110 public boolean stopCollecting() { in stopCollecting() method in CrashHelper
DThermalHelper.java118 public boolean stopCollecting() { in stopCollecting() method in ThermalHelper
DCpuUsageHelper.java211 public boolean stopCollecting() { in stopCollecting() method in CpuUsageHelper
DAppStartupHelper.java240 public boolean stopCollecting() { in stopCollecting() method in AppStartupHelper
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/
DPerfettoHelper.java123 public boolean stopCollecting(long waitTimeInMsecs, String destinationFile) { in stopCollecting() method in PerfettoHelper
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DTotalPssHelper.java92 public boolean stopCollecting() { in stopCollecting() method in TotalPssHelper
DDumpsysMeminfoHelper.java109 public boolean stopCollecting() { in stopCollecting() method in DumpsysMeminfoHelper
DProcessShowmapHelper.java126 public boolean stopCollecting() { in stopCollecting() method in ProcessShowmapHelper
DFreeMemHelper.java73 public boolean stopCollecting() { in stopCollecting() method in FreeMemHelper
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DBinderCollectionHelper.java115 public boolean stopCollecting() { in stopCollecting() method in BinderCollectionHelper

12