/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | BaseCollectionListenerTest.java | 66 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 …]
|
D | PerfettoListenerTest.java | 123 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/ |
D | PerfettoHelperTest.java | 101 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/ |
D | CpuUsageHelperTest.java | 74 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()
|
D | CrashHelperTest.java | 88 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()
|
D | ThermalHelperTest.java | 75 assertTrue(mThermalHelper.stopCollecting()); in testThermalConfigRegistration() 93 assertTrue(mThermalHelper.stopCollecting()); in testInitialMetricsWithoutEvents() 114 assertTrue(mThermalHelper.stopCollecting()); in testSingleEvent() 146 assertTrue(mThermalHelper.stopCollecting()); in testMultipleDifferentEvents()
|
D | AppStartupHelperTest.java | 97 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/ |
D | ICollectorHelper.java | 20 boolean stopCollecting(); in stopCollecting() method
|
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/ |
D | DumpsysMeminfoHelperTest.java | 69 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/ |
D | BaseCollectionListener.java | 107 mHelper.stopCollecting(); in onTestEnd() 118 mHelper.stopCollecting(); in onTestRunEnd()
|
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/ |
D | JankCollectionHelperTest.java | 132 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()
|
D | SfStatsCollectionHelperTest.java | 281 mHelper.stopCollecting(); in testCollect_valuesMatch()
|
/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/ |
D | PwrStatsUtilHelper.java | 76 public boolean stopCollecting() { in stopCollecting() method in PwrStatsUtilHelper 94 stopCollecting(); in getMetrics()
|
/platform_testing/libraries/collectors-helper/power/test/src/com/android/helpers/ |
D | PwrStatsUtilHelperTest.java | 76 assertTrue(mHelper.stopCollecting()); in successfulRun()
|
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/ |
D | ProcLoadHelper.java | 87 public boolean stopCollecting() { in stopCollecting() method in ProcLoadHelper
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | CrashHelper.java | 110 public boolean stopCollecting() { in stopCollecting() method in CrashHelper
|
D | ThermalHelper.java | 118 public boolean stopCollecting() { in stopCollecting() method in ThermalHelper
|
D | CpuUsageHelper.java | 211 public boolean stopCollecting() { in stopCollecting() method in CpuUsageHelper
|
D | AppStartupHelper.java | 240 public boolean stopCollecting() { in stopCollecting() method in AppStartupHelper
|
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/ |
D | PerfettoHelper.java | 123 public boolean stopCollecting(long waitTimeInMsecs, String destinationFile) { in stopCollecting() method in PerfettoHelper
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | TotalPssHelper.java | 92 public boolean stopCollecting() { in stopCollecting() method in TotalPssHelper
|
D | DumpsysMeminfoHelper.java | 109 public boolean stopCollecting() { in stopCollecting() method in DumpsysMeminfoHelper
|
D | ProcessShowmapHelper.java | 126 public boolean stopCollecting() { in stopCollecting() method in ProcessShowmapHelper
|
D | FreeMemHelper.java | 73 public boolean stopCollecting() { in stopCollecting() method in FreeMemHelper
|
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/ |
D | BinderCollectionHelper.java | 115 public boolean stopCollecting() { in stopCollecting() method in BinderCollectionHelper
|