Home
last modified time | relevance | path

Searched refs:getMetrics (Results 1 – 25 of 35) sorted by relevance

12

/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/
DDeviceCollectorsTest.java98 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/
DTotalPssHelperTest.java63 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()
DDumpsysMeminfoHelperTest.java68 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()
DShowmapSnapshotHelperTest.java100 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()
DProcessShowmapHelperTest.java72 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()
DFreeMemHelperTest.java50 Map<String, Long> freeMemMetrics = mFreeMemHelper.getMetrics(); in testGetMetrics()
/platform_testing/libraries/collectors-helper/system/test/src/com/android/helpers/tests/
DProcLoadHelperTest.java58 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/
DCpuUsageHelperTest.java84 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()
DCrashHelperTest.java97 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()
DAppStartupHelperTest.java106 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()
DThermalHelperTest.java91 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/
DBaseCollectionListenerTest.java65 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/
DICollectorHelper.java15 Map<String, T> getMetrics(); in getMetrics() method
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaseCollectionListener.java102 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/
DJankCollectionHelperTest.java106 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()
DSfStatsCollectionHelperTest.java147 Map<String, Double> metrics = mHelper.getMetrics(); in testCollect_valuesMatch()
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/loggers/
DDeviceFileLoggerHostTest.java84 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/
DPwrStatsUtilHelperTest.java72 Map<String, Long> metrics = mHelper.getMetrics(); in successfulRun()
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/
DDeviceHelper.java60 wm.getDefaultDisplay().getMetrics(metrics); in isTablet()
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DProcLoadHelper.java76 public Map<String, Double> getMetrics() { in getMetrics() method in ProcLoadHelper
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DCrashHelper.java62 public Map<String, Integer> getMetrics() { in getMetrics() method in CrashHelper
DThermalHelper.java87 public Map<String, StringBuilder> getMetrics() { in getMetrics() method in ThermalHelper
/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/
DPwrStatsUtilHelper.java93 public Map<String, Long> getMetrics() { in getMetrics() method in PwrStatsUtilHelper
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DTotalPssHelper.java76 public Map<String, Long> getMetrics() { in getMetrics() method in TotalPssHelper
DDumpsysMeminfoHelper.java99 public Map<String, Long> getMetrics() { in getMetrics() method in DumpsysMeminfoHelper

12