/platform_testing/libraries/collectors-helper/perfetto/test/src/com/android/helpers/tests/ |
D | PerfettoHelperTest.java | 70 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/ |
D | BaseCollectionListenerTest.java | 64 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 …]
|
D | SimpleperfListenerTest.java | 91 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 …]
|
D | PerfettoListenerTest.java | 124 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/ |
D | DumpsysMeminfoHelperTest.java | 67 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()
|
D | ShowmapSnapshotHelperTest.java | 80 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()
|
D | ProcessShowmapHelperTest.java | 65 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()
|
D | PinnerHelperTest.java | 78 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()
|
D | FreeMemHelperTest.java | 49 assertTrue(mFreeMemHelper.startCollecting()); in testGetMetrics()
|
/platform_testing/libraries/collectors-helper/simpleperf/test/src/com/android/helpers/tests/ |
D | SimpleperfHelperTest.java | 64 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/ |
D | ProcLoadHelperTest.java | 57 assertTrue(mLoadHelper.startCollecting()); in testThresholdSuccess() 71 assertFalse(mLoadHelper.startCollecting()); in testMetricAfterTimeout() 85 assertFalse(mLoadHelper.startCollecting()); in testWaitForTimeout() 96 assertFalse(mLoadHelper.startCollecting()); in testDefaults()
|
D | DumpsysServiceHelperTest.java | 69 mDumpsysServiceHelper.startCollecting(); in testCollectDumpsys_noService() 80 mDumpsysServiceHelper.startCollecting(); in testCollectDumpsys_oneService() 98 mDumpsysServiceHelper.startCollecting(); in testCollectDumpsys_multipleServices()
|
D | TimeInStateHelperTest.java | 77 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/ |
D | CpuUsageHelperTest.java | 69 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()
|
D | CrashHelperTest.java | 90 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()
|
D | UiInteractionFrameInfoHelperTest.java | 59 assertTrue(mInteractionFrameHelper.startCollecting()); in testConfig() 66 assertTrue(mInteractionFrameHelper.startCollecting()); in testEmptyMetric() 74 assertTrue(mInteractionFrameHelper.startCollecting()); in testShadeFlingMetric()
|
D | UiActionLatencyHelperTest.java | 59 assertTrue(mActionLatencyHelper.startCollecting()); in testConfig() 66 assertTrue(mActionLatencyHelper.startCollecting()); in testEmptyMetric() 82 assertTrue(mActionLatencyHelper.startCollecting()); in testQuickSwitchMetric()
|
D | ThermalHelperTest.java | 99 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/ |
D | ICollectorHelper.java | 10 boolean startCollecting(); in startCollecting() method
|
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/ |
D | JankCollectionHelperTest.java | 114 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/ |
D | BaseCollectionListener.java | 71 mHelper.startCollecting(); in onTestRunStart() 80 mHelper.startCollecting(); in onTestStart()
|
/platform_testing/libraries/collectors-helper/power/test/src/com/android/helpers/ |
D | PwrStatsUtilHelperTest.java | 64 assertTrue(mHelper.startCollecting()); in successfulRun()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | UiActionLatencyHelper.java | 42 public boolean startCollecting() { in startCollecting() method in UiActionLatencyHelper
|
/platform_testing/libraries/collectors-helper/app/src/com/android/helpers/ |
D | AppVersionHelper.java | 52 public boolean startCollecting() { in startCollecting() method in AppVersionHelper
|
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/ |
D | DumpsysServiceHelper.java | 62 public boolean startCollecting() { in startCollecting() method in DumpsysServiceHelper
|