/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/ |
D | DeviceCollectorsTest.java | 98 assertTrue(res.getMetrics().containsKey("test_start")); in testBaseListenerRuns() 99 assertTrue(res.getMetrics().containsKey("test_end")); in testBaseListenerRuns() 128 assertFalse(testCaseResult.getMetrics().containsKey("test_start")); in testBaseListenerRuns_withExcludeFilters() 129 assertFalse(testCaseResult.getMetrics().containsKey("test_fail")); in testBaseListenerRuns_withExcludeFilters() 130 assertFalse(testCaseResult.getMetrics().containsKey("test_end")); in testBaseListenerRuns_withExcludeFilters() 158 assertFalse(testCaseResult.getMetrics().containsKey("test_start")); in testBaseListenerRuns_withIncludeAndExcludeFilters() 159 assertFalse(testCaseResult.getMetrics().containsKey("test_fail")); in testBaseListenerRuns_withIncludeAndExcludeFilters() 160 assertFalse(testCaseResult.getMetrics().containsKey("test_end")); in testBaseListenerRuns_withIncludeAndExcludeFilters() 191 assertTrue(testResult.getValue().getMetrics().containsKey("test_start")); in testBaseListenerRuns_withIncludeFilters() 192 assertTrue(testResult.getValue().getMetrics().containsKey("test_end")); in testBaseListenerRuns_withIncludeFilters() [all …]
|
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/ |
D | TotalPssHelperTest.java | 63 Map<String, Long> pssMetrics = mTotalPssHelper.getMetrics(); in testEmptyProcessName() 71 Map<String, Long> pssMetrics = mTotalPssHelper.getMetrics(); in testNullProcessName() 79 Map<String, Long> pssMetrics = mTotalPssHelper.getMetrics(); in testGetMetrics_OneProcess() 89 Map<String, Long> pssMetrics = mTotalPssHelper.getMetrics(); in testGetMetrics_MultipleProcesses() 101 Map<String, Long> pssMetrics = mTotalPssHelper.getMetrics(); in testGetMetrics_InvalidProcess()
|
D | DumpsysMeminfoHelperTest.java | 68 Map<String, Long> results = mDumpsysMeminfoHelper.getMetrics(); in testCollectMeminfo_noProcess() 77 Map<String, Long> results = mDumpsysMeminfoHelper.getMetrics(); in testCollectMeminfo_nullProcess() 85 Map<String, Long> results = mDumpsysMeminfoHelper.getMetrics(); in testCollectMeminfo_wrongProcesses() 93 Map<String, Long> results = mDumpsysMeminfoHelper.getMetrics(); in testCollectMeminfo_oneProcess() 103 Map<String, Long> results = mDumpsysMeminfoHelper.getMetrics(); in testCollectMeminfo_multipleProcesses()
|
D | ShowmapSnapshotHelperTest.java | 100 Map<String, String> metrics = mShowmapSnapshotHelper.getMetrics(); in testEmptyProcessName() 147 Map<String, String> metrics = mShowmapSnapshotHelper.getMetrics(); in testGetMetrics_AllProcess() 165 Map<String, String> metrics = mShowmapSnapshotHelper.getMetrics(); in testGetMetrics_Invalid_Metric_Pattern() 177 Map<String, String> metrics = mShowmapSnapshotHelper.getMetrics(); in testGetMetrics_Empty_Metric_Pattern() 187 Map<String, String> metrics = mShowmapSnapshotHelper.getMetrics(); in testProcessList()
|
D | ProcessShowmapHelperTest.java | 72 Map<String, Long> showmapMetrics = mShowmapHelper.getMetrics(); in testEmptyProcessName() 90 Map<String, Long> showmapMetrics = mShowmapHelper.getMetrics(); in testGetMetrics_OneProcess() 100 Map<String, Long> showmapMetrics = mShowmapHelper.getMetrics(); in testGetMetrics_MultipleProcesses()
|
D | FreeMemHelperTest.java | 50 Map<String, Long> freeMemMetrics = mFreeMemHelper.getMetrics(); in testGetMetrics()
|
/platform_testing/libraries/collectors-helper/system/test/src/com/android/helpers/tests/ |
D | ProcLoadHelperTest.java | 58 Map<String, Double> procLoadMetric = mLoadHelper.getMetrics(); in testThresholdSuccess() 72 Map<String, Double> procLoadMetric = mLoadHelper.getMetrics(); in testMetricAfterTimeout() 88 Map<String, Double> procLoadMetric = mLoadHelper.getMetrics(); in testWaitForTimeout() 97 Map<String, Double> procLoadMetric = mLoadHelper.getMetrics(); in testDefaults()
|
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/ |
D | CpuUsageHelperTest.java | 84 Map<String, Long> cpuUsage = mCpuUsageHelper.getMetrics(); in testCpuUsageMetrics() 114 for (Map.Entry<String, Long> cpuUsageEntry : mCpuUsageHelper.getMetrics().entrySet()) { in testCpuUsageMetricsKey() 164 Map<String, Long> cpuUsage = mCpuUsageHelper.getMetrics(); in testCpuDisabledPerPkgPerFreq() 184 Map<String, Long> cpuUsage = mCpuUsageHelper.getMetrics(); in testCpuUsageOnlyPerPkg() 186 for (Map.Entry<String, Long> cpuUsageEntry : mCpuUsageHelper.getMetrics().entrySet()) { in testCpuUsageOnlyPerPkg() 205 Map<String, Long> cpuUsage = mCpuUsageHelper.getMetrics(); in testCpuUsageOnlyPerFreq() 207 for (Map.Entry<String, Long> cpuUsageEntry : mCpuUsageHelper.getMetrics().entrySet()) { in testCpuUsageOnlyPerFreq() 222 Map<String, Long> cpuUsage = mCpuUsageHelper.getMetrics(); in testCpuEnableCpuUtilization()
|
D | CrashHelperTest.java | 97 Map<String, Integer> crashMap = mCrashHelper.getMetrics(); in testEmptyCrashMetric() 115 Map<String, Integer> crashMap = mCrashHelper.getMetrics(); in testCrashMetric() 134 Map<String, Integer> crashMap = mCrashHelper.getMetrics(); in testNativeCrashMetric() 153 Map<String, Integer> crashMap = mCrashHelper.getMetrics(); in testAnrMetric() 182 Map<String, Integer> crashMap = mCrashHelper.getMetrics(); in testMultipleCrashMetric()
|
D | AppStartupHelperTest.java | 106 assertTrue(mAppStartupHelper.getMetrics().isEmpty()); in testEmptyAppLaunchMetric() 117 Map<String, StringBuilder> appLaunchMetrics = mAppStartupHelper.getMetrics(); in testSingleColdLaunchMetric() 166 Map<String, StringBuilder> appLaunchMetrics = mAppStartupHelper.getMetrics(); in testMultipleColdLaunchMetric() 219 Map<String, StringBuilder> appLaunchMetrics = mAppStartupHelper.getMetrics(); in testDifferentAppColdLaunchMetric() 304 Map<String, StringBuilder> appLaunchMetrics = mAppStartupHelper.getMetrics(); in testWarmLaunchMetric() 335 Map<String, StringBuilder> appLaunchMetrics = mAppStartupHelper.getMetrics(); in testHotLaunchMetric() 368 Map<String, StringBuilder> appLaunchMetrics = mAppStartupHelper.getMetrics(); in testSingleLaunchStartupFullyDrawnMetric() 406 Map<String, StringBuilder> appLaunchMetrics = mAppStartupHelper.getMetrics(); in testMultipleLaunchStartupFullyDrawnMetric() 430 Map<String, StringBuilder> appLaunchMetrics = mAppStartupHelper.getMetrics(); in testDisableDetailedProcStartMetrics()
|
D | ThermalHelperTest.java | 91 mThermalHelper.getMetrics().get(THROTTLING_KEY).toString(), in testInitialMetricsWithoutEvents() 107 Map<String, StringBuilder> metrics = mThermalHelper.getMetrics(); in testSingleEvent() 137 Map<String, StringBuilder> metrics = mThermalHelper.getMetrics(); in testMultipleDifferentEvents()
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | BaseCollectionListenerTest.java | 65 doReturn(new HashMap<String, String>()).when(helper).getMetrics(); in initListener() 106 verify(helper, times(1)).getMetrics(); in testPerTestFlow() 112 verify(helper, times(2)).getMetrics(); in testPerTestFlow() 159 verify(helper, times(1)).getMetrics(); in testPerTestFailureFlowNotCollectMetrics() 181 verify(helper, times(1)).getMetrics(); in testPerTestFailureFlowDefault() 205 verify(helper, times(0)).getMetrics(); in testPerTestFailureSkipMetrics() 225 verify(helper, times(1)).getMetrics(); in testInterleavingTestFailureMetricsSkip() 235 verify(helper, times(1)).getMetrics(); in testInterleavingTestFailureMetricsSkip() 241 verify(helper, times(2)).getMetrics(); in testInterleavingTestFailureMetricsSkip()
|
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/ |
D | ICollectorHelper.java | 15 Map<String, T> getMetrics(); in getMetrics() method
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BaseCollectionListener.java | 102 Map<String, T> metrics = mHelper.getMetrics(); in onTestEnd() 114 Map<String, T> metrics = mHelper.getMetrics(); in onTestRunEnd()
|
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/ |
D | JankCollectionHelperTest.java | 106 Map<String, Double> metrics = mHelper.getMetrics(); in testCollect_valuesMatch() 143 Map<String, Double> metrics = mHelper.getMetrics(); in testCollect_singlePackage() 164 Map<String, Double> metrics = mHelper.getMetrics(); in testCollect_multiPackage() 199 Map<String, Double> metrics = mHelper.getMetrics(); in testCollect_allPackages() 244 Map<String, Double> metrics = mHelper.getMetrics(); in testCollect_ignoreMissingFields() 272 Map<String, Double> metrics = mHelper.getMetrics(); in testCollect_ignoreUnknownField() 331 mHelper.getMetrics(); in testCollect_delayExceptions_onGet() 400 mHelper.getMetrics(); in testFailures_noPackageOnGet()
|
D | SfStatsCollectionHelperTest.java | 147 Map<String, Double> metrics = mHelper.getMetrics(); in testCollect_valuesMatch()
|
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/loggers/ |
D | DeviceFileLoggerHostTest.java | 84 assertTrue(res.getMetrics().containsKey("fake_file")); in testFileIsLogged() 85 assertEquals("/fake/path", res.getMetrics().get("fake_file")); in testFileIsLogged()
|
/platform_testing/libraries/collectors-helper/power/test/src/com/android/helpers/ |
D | PwrStatsUtilHelperTest.java | 72 Map<String, Long> metrics = mHelper.getMetrics(); in successfulRun()
|
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/ |
D | DeviceHelper.java | 60 wm.getDefaultDisplay().getMetrics(metrics); in isTablet()
|
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/ |
D | ProcLoadHelper.java | 76 public Map<String, Double> getMetrics() { in getMetrics() method in ProcLoadHelper
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | CrashHelper.java | 62 public Map<String, Integer> getMetrics() { in getMetrics() method in CrashHelper
|
D | ThermalHelper.java | 87 public Map<String, StringBuilder> getMetrics() { in getMetrics() method in ThermalHelper
|
/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/ |
D | PwrStatsUtilHelper.java | 93 public Map<String, Long> getMetrics() { in getMetrics() method in PwrStatsUtilHelper
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | TotalPssHelper.java | 76 public Map<String, Long> getMetrics() { in getMetrics() method in TotalPssHelper
|
D | DumpsysMeminfoHelper.java | 99 public Map<String, Long> getMetrics() { in getMetrics() method in DumpsysMeminfoHelper
|