/platform_testing/libraries/collectors-helper/perfetto/test/src/com/android/helpers/tests/ |
D | PerfettoHelperTest.java | 68 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/ |
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 | PerfettoListenerTest.java | 122 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/ |
D | ShowmapSnapshotHelperTest.java | 71 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()
|
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 | 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 | FreeMemHelperTest.java | 49 assertTrue(mFreeMemHelper.startCollecting()); in testGetMetrics()
|
/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()
|
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/ |
D | CpuUsageHelperTest.java | 73 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()
|
D | CrashHelperTest.java | 87 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()
|
D | ThermalHelperTest.java | 74 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()
|
D | AppStartupHelperTest.java | 96 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/ |
D | ICollectorHelper.java | 10 boolean startCollecting(); in startCollecting() method
|
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/ |
D | JankCollectionHelperTest.java | 105 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 …]
|
D | SfStatsCollectionHelperTest.java | 146 mHelper.startCollecting(); in testCollect_valuesMatch()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BaseCollectionListener.java | 74 mHelper.startCollecting(); in onTestRunStart() 83 mHelper.startCollecting(); in onTestStart()
|
/platform_testing/libraries/collectors-helper/power/test/src/com/android/helpers/ |
D | PwrStatsUtilHelperTest.java | 65 assertTrue(mHelper.startCollecting()); in successfulRun()
|
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/ |
D | ProcLoadHelper.java | 51 public boolean startCollecting() { in startCollecting() method in ProcLoadHelper
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | CrashHelper.java | 50 public boolean startCollecting() { in startCollecting() method in CrashHelper
|
D | ThermalHelper.java | 53 public boolean startCollecting() { in startCollecting() method in ThermalHelper
|
/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/ |
D | PwrStatsUtilHelper.java | 47 public boolean startCollecting() { in startCollecting() method in PwrStatsUtilHelper
|
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/ |
D | PerfettoHelper.java | 70 public boolean startCollecting(String configFileName, boolean isTextProtoConfig) { in startCollecting() method in PerfettoHelper
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | TotalPssHelper.java | 71 public boolean startCollecting() { in startCollecting() method in TotalPssHelper
|
D | DumpsysMeminfoHelper.java | 93 public boolean startCollecting() { in startCollecting() method in DumpsysMeminfoHelper
|
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/ |
D | BinderCollectionHelper.java | 71 public boolean startCollecting() { in startCollecting() method in BinderCollectionHelper
|