Home
last modified time | relevance | path

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

123

/platform_testing/libraries/collectors-helper/perfetto/test/src/com/android/helpers/tests/
DPerfettoHelperTest.java70 assertFalse(mPerfettoHelper.startCollecting(null, false)); in testNullConfigName()
78 assertFalse(mPerfettoHelper.startCollecting("", false)); in testEmptyConfigName()
84 assertFalse(mPerfettoHelper.startCollecting("trace_config.textproto", false)); in testNullRootDirName()
93 assertFalse(mPerfettoHelper.startCollecting("trace_config.textproto", false)); in testEmptyRootDirName()
101 assertFalse(mPerfettoHelper.startCollecting("no_config.pb", false)); in testNoConfigFile()
109 assertTrue(mPerfettoHelper.startCollecting("trace_config.textproto", true)); in testPerfettoStartSuccess()
117 assertTrue(mPerfettoHelper.startCollecting("trace_config.textproto", true)); in testPerfettoValidOutputPath()
126 assertTrue(mPerfettoHelper.startCollecting("trace_config.textproto", true)); in testPerfettoInvalidOutputPath()
137 assertTrue(mPerfettoHelper.startCollecting("trace_config.textproto", true)); in testPerfettoSuccess()
153 assertFalse(mPerfettoHelper.startCollecting("trace_config.textproto", true)); in testPerfettoFailureInvalidConfigRoot()
/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 …]
DSimpleperfListenerTest.java91 doReturn(true).when(mSimpleperfHelper).startCollecting(anyString(), anyString()); in testSimpleperfPerTestSuccessFlow()
98 verify(mSimpleperfHelper, times(1)).startCollecting(anyString(), anyString()); in testSimpleperfPerTestSuccessFlow()
113 doReturn(true).when(mSimpleperfHelper).startCollecting(anyString(), anyString()); in testSimpleperfPerTestFailureFlowDefault()
120 verify(mSimpleperfHelper, times(1)).startCollecting(anyString(), anyString()); in testSimpleperfPerTestFailureFlowDefault()
139 doReturn(true).when(mSimpleperfHelper).startCollecting(anyString(), anyString()); in testSimpleperfPerTestFailureFlowWithSkipMmetrics()
146 verify(mSimpleperfHelper, times(1)).startCollecting(anyString(), anyString()); in testSimpleperfPerTestFailureFlowWithSkipMmetrics()
164 doReturn(true).when(mSimpleperfHelper).startCollecting(anyString(), anyString()); in testSimpleperfPerRunSuccessFlow()
169 verify(mSimpleperfHelper, times(1)).startCollecting(anyString(), anyString()); in testSimpleperfPerRunSuccessFlow()
171 verify(mSimpleperfHelper, times(1)).startCollecting(anyString(), anyString()); in testSimpleperfPerRunSuccessFlow()
186 doReturn(false).when(mSimpleperfHelper).startCollecting(anyString(), anyString()); in testSimpleperfPerRunFailureFlow()
[all …]
DPerfettoListenerTest.java124 doReturn(true).when(mPerfettoHelper).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestSuccessFlow()
131 verify(mPerfettoHelper, times(1)).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestSuccessFlow()
149 doReturn(true).when(mPerfettoHelper).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestFailureFlowDefault()
156 verify(mPerfettoHelper, times(1)).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestFailureFlowDefault()
177 doReturn(true).when(mPerfettoHelper).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestFailureFlowWithSkipMmetrics()
184 verify(mPerfettoHelper, times(1)).startCollecting(anyString(), anyBoolean()); in testPerfettoPerTestFailureFlowWithSkipMmetrics()
202 doReturn(true).when(mPerfettoHelper).startCollecting(anyString(), anyBoolean()); in testPerfettoDefaultStartWaitTime()
211 verify(mPerfettoHelper, times(1)).startCollecting(anyString(), anyBoolean()); in testPerfettoDefaultStartWaitTime()
228 doReturn(true).when(mPerfettoHelper).startCollecting(anyString(), anyBoolean()); in testPerfettoCustomStartWaitTime()
237 verify(mPerfettoHelper, times(1)).startCollecting(anyString(), anyBoolean()); in testPerfettoCustomStartWaitTime()
[all …]
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
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()
DShowmapSnapshotHelperTest.java80 assertFalse(mShowmapSnapshotHelper.startCollecting()); in testSetUpNotCalled()
119 assertTrue(mShowmapSnapshotHelper.startCollecting()); in testValidFile()
128 assertFalse(mShowmapSnapshotHelper.startCollecting()); in testInvalidFile()
155 assertTrue(mShowmapSnapshotHelper.startCollecting()); in testGetMetrics_AllProcess()
173 assertTrue(mShowmapSnapshotHelper.startCollecting()); in testGetMetrics_Invalid_Metric_Pattern()
186 assertTrue(mShowmapSnapshotHelper.startCollecting()); in testGetMetrics_Empty_Metric_Pattern()
199 assertTrue(mShowmapSnapshotHelper.startCollecting()); in testGetMetrics_verify_child_processes_metrics()
236 assertTrue(mShowmapSnapshotHelper.startCollecting()); in testProcessList()
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()
DPinnerHelperTest.java78 assertFalse(mPinnerHelper.startCollecting()); in testSetUpNotCalled()
87 assertTrue(mPinnerHelper.startCollecting()); in testValidFile()
96 assertFalse(mPinnerHelper.startCollecting()); in testInvalidFile()
105 assertTrue(mPinnerHelper.startCollecting()); in testPinnerSnapshotDumpFile()
117 assertTrue(mPinnerHelper.startCollecting()); in testPinnerTotalFileSizeMetric()
129 assertTrue(mPinnerHelper.startCollecting()); in testSystemFileSizeMetrics()
144 assertTrue(mPinnerHelper.startCollecting()); in testIndividualAppFileSizeMetrics()
159 assertTrue(mPinnerHelper.startCollecting()); in testValidateTotalFileSizeCount()
DFreeMemHelperTest.java49 assertTrue(mFreeMemHelper.startCollecting()); in testGetMetrics()
/platform_testing/libraries/collectors-helper/simpleperf/test/src/com/android/helpers/tests/
DSimpleperfHelperTest.java64 assertTrue(simpleperfHelper.startCollecting(DEFAULT_SUBCOMMAND, DEFAULT_ARGUMENTS)); in testSimpleperfStartSuccess()
70 assertTrue(simpleperfHelper.startCollecting(DEFAULT_SUBCOMMAND, DEFAULT_ARGUMENTS)); in testSimpleperfValidOutputPath()
77 assertTrue(simpleperfHelper.startCollecting(DEFAULT_SUBCOMMAND, DEFAULT_ARGUMENTS)); in testSimpleperfInvalidOutputPath()
85 assertTrue(simpleperfHelper.startCollecting(DEFAULT_SUBCOMMAND, DEFAULT_ARGUMENTS)); in testSimpleperfSuccess()
/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()
DDumpsysServiceHelperTest.java69 mDumpsysServiceHelper.startCollecting(); in testCollectDumpsys_noService()
80 mDumpsysServiceHelper.startCollecting(); in testCollectDumpsys_oneService()
98 mDumpsysServiceHelper.startCollecting(); in testCollectDumpsys_multipleServices()
DTimeInStateHelperTest.java77 mTimeInStateHelper.startCollecting(); in testCollectTimeInState_noSource()
92 mTimeInStateHelper.startCollecting(); in testCollectTimeInState_oneSource()
115 mTimeInStateHelper.startCollecting(); in testCollectTimeInState_multipleSources()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DCpuUsageHelperTest.java69 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuUsageConfig()
78 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuUsageMetrics()
99 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuUsageMetricsKey()
134 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuDisabledPerPkg()
151 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuUsageOnlyPerPkg()
168 assertTrue(mCpuUsageHelper.startCollecting()); in testCpuEnableCpuUtilization()
DCrashHelperTest.java90 assertTrue(mCrashHelper.startCollecting()); in testCrashConfig()
99 assertTrue(mCrashHelper.startCollecting()); in testEmptyCrashMetric()
115 assertTrue(mCrashHelper.startCollecting()); in testCrashMetric()
134 assertTrue(mCrashHelper.startCollecting()); in testNativeCrashMetric()
153 assertTrue(mCrashHelper.startCollecting()); in testAnrMetric()
171 assertTrue(mCrashHelper.startCollecting()); in testMultipleCrashMetric()
DUiInteractionFrameInfoHelperTest.java59 assertTrue(mInteractionFrameHelper.startCollecting()); in testConfig()
66 assertTrue(mInteractionFrameHelper.startCollecting()); in testEmptyMetric()
74 assertTrue(mInteractionFrameHelper.startCollecting()); in testShadeFlingMetric()
DUiActionLatencyHelperTest.java59 assertTrue(mActionLatencyHelper.startCollecting()); in testConfig()
66 assertTrue(mActionLatencyHelper.startCollecting()); in testEmptyMetric()
82 assertTrue(mActionLatencyHelper.startCollecting()); in testQuickSwitchMetric()
DThermalHelperTest.java99 assertTrue(mThermalHelper.startCollecting()); in testThermalConfigRegistration()
107 assertFalse(mThermalHelper.startCollecting()); in testThermalConfigRegistration_noInitialValue()
114 assertTrue(mThermalHelper.startCollecting()); in testInitialMetricsWithoutEvents()
132 assertTrue(mThermalHelper.startCollecting()); in testSingleEvent()
162 assertTrue(mThermalHelper.startCollecting()); in testMultipleDifferentEvents()
182 assertTrue(mThermalHelper.startCollecting()); in testParseTemperature()
/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.java114 mHelper.startCollecting(); in testCollect_valuesMatch()
158 mHelper.startCollecting(); in testCollect_singlePackage()
179 mHelper.startCollecting(); in testCollect_multiPackage()
214 mHelper.startCollecting(); in testCollect_allPackages()
259 mHelper.startCollecting(); in testCollect_ignoreMissingFields()
287 mHelper.startCollecting(); in testCollect_ignoreUnknownField()
321 mHelper.startCollecting(); in testCollect_delayExceptions_onReset()
349 mHelper.startCollecting(); in testCollect_delayExceptions_onGet()
376 mHelper.startCollecting(); in testFailures_cannotClear()
389 mHelper.startCollecting(); in testFailures_ioFailure()
[all …]
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaseCollectionListener.java71 mHelper.startCollecting(); in onTestRunStart()
80 mHelper.startCollecting(); in onTestStart()
/platform_testing/libraries/collectors-helper/power/test/src/com/android/helpers/
DPwrStatsUtilHelperTest.java64 assertTrue(mHelper.startCollecting()); in successfulRun()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DUiActionLatencyHelper.java42 public boolean startCollecting() { in startCollecting() method in UiActionLatencyHelper
/platform_testing/libraries/collectors-helper/app/src/com/android/helpers/
DAppVersionHelper.java52 public boolean startCollecting() { in startCollecting() method in AppVersionHelper
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DDumpsysServiceHelper.java62 public boolean startCollecting() { in startCollecting() method in DumpsysServiceHelper

123