Home
last modified time | relevance | path

Searched refs:startCollecting (Results 1 – 25 of 35) sorted by relevance

12

/platform_testing/libraries/collectors-helper/perfetto/test/src/com/android/helpers/tests/
DPerfettoHelperTest.java68 assertFalse(perfettoHelper.startCollecting(null, false)); in testNullConfigName()
76 assertFalse(perfettoHelper.startCollecting("", false)); in testEmptyConfigName()
84 assertFalse(perfettoHelper.startCollecting("no_config.pb", false)); in testNoConfigFile()
92 assertTrue(perfettoHelper.startCollecting("valid_config.pb", false)); in testPerfettoStartSuccess()
100 assertTrue(perfettoHelper.startCollecting("valid_config.pb", false)); in testPerfettoValidOutputPath()
109 assertTrue(perfettoHelper.startCollecting("valid_config.pb", false)); in testPerfettoInvalidOutputPath()
120 assertTrue(perfettoHelper.startCollecting("valid_config.pb", false)); in testPerfettoSuccess()
135 assertTrue(perfettoHelper.startCollecting("valid_text_config.textproto", true)); in testTextProtoConfigSuccess()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DBaseCollectionListenerTest.java64 doReturn(true).when(helper).startCollecting(); in initListener()
81 verify(helper, times(1)).startCollecting(); in testPerRunFlow()
83 verify(helper, times(1)).startCollecting(); in testPerRunFlow()
102 verify(helper, times(0)).startCollecting(); in testPerTestFlow()
104 verify(helper, times(1)).startCollecting(); in testPerTestFlow()
109 verify(helper, times(2)).startCollecting(); in testPerTestFlow()
127 verify(helper, times(0)).startCollecting(); in testDefaultOptionFlow()
129 verify(helper, times(1)).startCollecting(); in testDefaultOptionFlow()
133 verify(helper, times(2)).startCollecting(); in testDefaultOptionFlow()
152 verify(helper, times(0)).startCollecting(); in testPerTestFailureFlowNotCollectMetrics()
[all …]
DPerfettoListenerTest.java122 doReturn(true).when(mPerfettoHelper).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestSuccessFlow()
129 verify(mPerfettoHelper, times(1)).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestSuccessFlow()
145 doReturn(true).when(mPerfettoHelper).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestFailureFlowDefault()
152 verify(mPerfettoHelper, times(1)).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestFailureFlowDefault()
173 doReturn(true).when(mPerfettoHelper).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestFailureFlowWithSkipMmetrics()
180 verify(mPerfettoHelper, times(1)).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestFailureFlowWithSkipMmetrics()
200 doReturn(true).when(mPerfettoHelper).startCollecting(anyString(), anyBoolean()); in testPerfettoPerRunSuccessFlow()
205 verify(mPerfettoHelper, times(1)).startCollecting(anyString(), anyBoolean()); in testPerfettoPerRunSuccessFlow()
207 verify(mPerfettoHelper, times(1)).startCollecting(anyString(), anyBoolean()); in testPerfettoPerRunSuccessFlow()
250 doReturn(true).when(mPerfettoHelper).startCollecting(anyString(), anyBoolean()); in testPerfettoDoesNotHoldWakeLockPerRun()
[all …]
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DShowmapSnapshotHelperTest.java71 assertFalse(mShowmapSnapshotHelper.startCollecting()); in testSetUpNotCalled()
110 assertTrue(mShowmapSnapshotHelper.startCollecting()); in testValidFile()
119 assertFalse(mShowmapSnapshotHelper.startCollecting()); in testInvalidFile()
146 assertTrue(mShowmapSnapshotHelper.startCollecting()); in testGetMetrics_AllProcess()
164 assertTrue(mShowmapSnapshotHelper.startCollecting()); in testGetMetrics_Invalid_Metric_Pattern()
176 assertTrue(mShowmapSnapshotHelper.startCollecting()); in testGetMetrics_Empty_Metric_Pattern()
186 assertTrue(mShowmapSnapshotHelper.startCollecting()); in testProcessList()
DDumpsysMeminfoHelperTest.java67 mDumpsysMeminfoHelper.startCollecting(); in testCollectMeminfo_noProcess()
76 mDumpsysMeminfoHelper.startCollecting(); in testCollectMeminfo_nullProcess()
84 mDumpsysMeminfoHelper.startCollecting(); in testCollectMeminfo_wrongProcesses()
92 mDumpsysMeminfoHelper.startCollecting(); in testCollectMeminfo_oneProcess()
102 mDumpsysMeminfoHelper.startCollecting(); in testCollectMeminfo_multipleProcesses()
DProcessShowmapHelperTest.java65 assertFalse(mShowmapHelper.startCollecting()); in testSetUpNotCalled()
82 assertTrue(mShowmapHelper.startCollecting()); in testSamplesMemory()
89 assertTrue(mShowmapHelper.startCollecting()); in testGetMetrics_OneProcess()
99 assertTrue(mShowmapHelper.startCollecting()); in testGetMetrics_MultipleProcesses()
DFreeMemHelperTest.java49 assertTrue(mFreeMemHelper.startCollecting()); in testGetMetrics()
/platform_testing/libraries/collectors-helper/system/test/src/com/android/helpers/tests/
DProcLoadHelperTest.java57 assertTrue(mLoadHelper.startCollecting()); in testThresholdSuccess()
71 assertFalse(mLoadHelper.startCollecting()); in testMetricAfterTimeout()
85 assertFalse(mLoadHelper.startCollecting()); in testWaitForTimeout()
96 assertFalse(mLoadHelper.startCollecting()); in testDefaults()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DCpuUsageHelperTest.java73 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuUsageConfig()
82 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuUsageMetrics()
107 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuUsageMetricsKey()
162 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuDisabledPerPkgPerFreq()
182 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuUsageOnlyPerPkg()
203 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuUsageOnlyPerFreq()
220 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuEnableCpuUtilization()
DCrashHelperTest.java87 assertTrue(mCrashHelper.startCollecting()); in testCrashConfig()
96 assertTrue(mCrashHelper.startCollecting()); in testEmptyCrashMetric()
112 assertTrue(mCrashHelper.startCollecting()); in testCrashMetric()
131 assertTrue(mCrashHelper.startCollecting()); in testNativeCrashMetric()
150 assertTrue(mCrashHelper.startCollecting()); in testAnrMetric()
168 assertTrue(mCrashHelper.startCollecting()); in testMultipleCrashMetric()
DThermalHelperTest.java74 assertTrue(mThermalHelper.startCollecting()); in testThermalConfigRegistration()
82 assertFalse(mThermalHelper.startCollecting()); in testThermalConfigRegistration_noInitialValue()
89 assertTrue(mThermalHelper.startCollecting()); in testInitialMetricsWithoutEvents()
106 assertTrue(mThermalHelper.startCollecting()); in testSingleEvent()
136 assertTrue(mThermalHelper.startCollecting()); in testMultipleDifferentEvents()
DAppStartupHelperTest.java96 assertTrue(mAppStartupHelper.startCollecting()); in testAppLaunchConfig()
105 assertTrue(mAppStartupHelper.startCollecting()); in testEmptyAppLaunchMetric()
115 assertTrue(mAppStartupHelper.startCollecting()); in testSingleColdLaunchMetric()
160 assertTrue(mAppStartupHelper.startCollecting()); in testMultipleColdLaunchMetric()
205 assertTrue(mAppStartupHelper.startCollecting()); in testDifferentAppColdLaunchMetric()
300 assertTrue(mAppStartupHelper.startCollecting()); in testWarmLaunchMetric()
330 assertTrue(mAppStartupHelper.startCollecting()); in testHotLaunchMetric()
363 assertTrue(mAppStartupHelper.startCollecting()); in testSingleLaunchStartupFullyDrawnMetric()
392 assertTrue(mAppStartupHelper.startCollecting()); in testMultipleLaunchStartupFullyDrawnMetric()
428 assertTrue(mAppStartupHelper.startCollecting()); in testDisableDetailedProcStartMetrics()
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DICollectorHelper.java10 boolean startCollecting(); in startCollecting() method
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/
DJankCollectionHelperTest.java105 mHelper.startCollecting(); in testCollect_valuesMatch()
142 mHelper.startCollecting(); in testCollect_singlePackage()
163 mHelper.startCollecting(); in testCollect_multiPackage()
198 mHelper.startCollecting(); in testCollect_allPackages()
243 mHelper.startCollecting(); in testCollect_ignoreMissingFields()
271 mHelper.startCollecting(); in testCollect_ignoreUnknownField()
302 mHelper.startCollecting(); in testCollect_delayExceptions_onReset()
330 mHelper.startCollecting(); in testCollect_delayExceptions_onGet()
357 mHelper.startCollecting(); in testFailures_cannotClear()
370 mHelper.startCollecting(); in testFailures_ioFailure()
[all …]
DSfStatsCollectionHelperTest.java146 mHelper.startCollecting(); in testCollect_valuesMatch()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaseCollectionListener.java74 mHelper.startCollecting(); in onTestRunStart()
83 mHelper.startCollecting(); in onTestStart()
/platform_testing/libraries/collectors-helper/power/test/src/com/android/helpers/
DPwrStatsUtilHelperTest.java65 assertTrue(mHelper.startCollecting()); in successfulRun()
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DProcLoadHelper.java51 public boolean startCollecting() { in startCollecting() method in ProcLoadHelper
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DCrashHelper.java50 public boolean startCollecting() { in startCollecting() method in CrashHelper
DThermalHelper.java53 public boolean startCollecting() { in startCollecting() method in ThermalHelper
/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/
DPwrStatsUtilHelper.java47 public boolean startCollecting() { in startCollecting() method in PwrStatsUtilHelper
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/
DPerfettoHelper.java70 public boolean startCollecting(String configFileName, boolean isTextProtoConfig) { in startCollecting() method in PerfettoHelper
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DTotalPssHelper.java71 public boolean startCollecting() { in startCollecting() method in TotalPssHelper
DDumpsysMeminfoHelper.java93 public boolean startCollecting() { in startCollecting() method in DumpsysMeminfoHelper
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DBinderCollectionHelper.java71 public boolean startCollecting() { in startCollecting() method in BinderCollectionHelper

12