/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/ |
D | DumpsysMeminfoHelperTest.java | 68 Map<String, Long> results = mDumpsysMeminfoHelper.getMetrics(); in testCollectMeminfo_noProcess() local 70 assertTrue(results.isEmpty()); in testCollectMeminfo_noProcess() 77 Map<String, Long> results = mDumpsysMeminfoHelper.getMetrics(); in testCollectMeminfo_nullProcess() local 78 assertTrue(results.isEmpty()); in testCollectMeminfo_nullProcess() 85 Map<String, Long> results = mDumpsysMeminfoHelper.getMetrics(); in testCollectMeminfo_wrongProcesses() local 86 assertTrue(results.isEmpty()); in testCollectMeminfo_wrongProcesses() 93 Map<String, Long> results = mDumpsysMeminfoHelper.getMetrics(); in testCollectMeminfo_oneProcess() local 95 assertFalse(results.isEmpty()); in testCollectMeminfo_oneProcess() 96 verifyKeysForProcess(results, TEST_PROCESS_NAME); in testCollectMeminfo_oneProcess() 103 Map<String, Long> results = mDumpsysMeminfoHelper.getMetrics(); in testCollectMeminfo_multipleProcesses() local [all …]
|
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/ |
D | DeviceCollectorsTest.java | 88 Collection<TestRunResult> results = listener.getRunResults(); in testBaseListenerRuns() local 89 assertEquals(1, results.size()); in testBaseListenerRuns() 90 TestRunResult result = results.iterator().next(); in testBaseListenerRuns() 115 Collection<TestRunResult> results = listener.getRunResults(); in testBaseListenerRuns_withExcludeFilters() local 116 assertEquals(1, results.size()); in testBaseListenerRuns_withExcludeFilters() 117 TestRunResult result = results.iterator().next(); in testBaseListenerRuns_withExcludeFilters() 145 Collection<TestRunResult> results = listener.getRunResults(); in testBaseListenerRuns_withIncludeAndExcludeFilters() local 146 assertEquals(1, results.size()); in testBaseListenerRuns_withIncludeAndExcludeFilters() 147 TestRunResult result = results.iterator().next(); in testBaseListenerRuns_withIncludeAndExcludeFilters() 175 Collection<TestRunResult> results = listener.getRunResults(); in testBaseListenerRuns_withIncludeFilters() local [all …]
|
D | BatterystatsCollectorHostTest.java | 122 Collection<TestRunResult> results = listener.getRunResults(); in testBatteryStatsListener_perRun() local 123 assertEquals(1, results.size()); in testBatteryStatsListener_perRun() 124 TestRunResult result = results.iterator().next(); in testBatteryStatsListener_perRun()
|
D | LogcatOnFailureCollectorHostTest.java | 89 TestRunResult results = getLastDeviceRunResults(); in testCollect() local 90 assertFalse(results.isRunFailure()); in testCollect()
|
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/ |
D | SfStatsCollectionHelper.java | 84 Map<String, Double> results = new HashMap<>(); in getMetrics() local 99 results.put(metricKey, parseStatsValue(globalPairs.get(key))); in getMetrics() 103 results.put( in getMetrics() 109 results.put( in getMetrics() 120 results.put( in getMetrics() 123 results.put( in getMetrics() 126 results.put( in getMetrics() 131 return results; in getMetrics()
|
D | JankCollectionHelper.java | 309 Map<String, Double> results = new HashMap<String, Double>(); in parseGfxInfoMetrics() local 318 results.put(metricKey, value); in parseGfxInfoMetrics() 321 return results; in parseGfxInfoMetrics()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | ThermalHelper.java | 88 Map<String, StringBuilder> results = new HashMap<>(); in getMetrics() local 92 MetricUtility.addMetric(severityKey, mInitialSeverity, results); in getMetrics() 107 MetricUtility.addMetric(severityKey, severity, results); in getMetrics() 113 return results; in getMetrics()
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | FreeMemHelper.java | 104 Map<String, Long> results = new HashMap<>(); in getMetrics() local 106 results.put(PROC_MEMINFO_MEM_AVAILABLE, (memAvailableProc * 1024)); in getMetrics() 109 results.put(PROC_MEMINFO_MEM_FREE, (memFreeProc * 1024)); in getMetrics() 152 results.put(DUMPSYS_CACHED_PROC_MEMORY, (cachedProcMemory * 1024)); in getMetrics() 155 results.put(MEM_AVAILABLE_CACHE_PROC_DIRTY, (cacheProcDirty * 1024)); in getMetrics() 156 return results; in getMetrics()
|
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/loggers/ |
D | DeviceFileLoggerHostTest.java | 77 Collection<TestRunResult> results = listener.getRunResults(); in testFileIsLogged() local 78 assertEquals(1, results.size()); in testFileIsLogged() 79 TestRunResult result = results.iterator().next(); in testFileIsLogged()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/ |
D | TransitionRunnerTest.java | 116 List<TransitionResult> results = in emptyTransitionPasses() local 123 assertThat(results).hasSize(1); in emptyTransitionPasses() 124 assertThat(results.get(0).layersTraceExists()).isFalse(); in emptyTransitionPasses() 125 assertThat(results.get(0).windowManagerTraceExists()).isFalse(); in emptyTransitionPasses() 126 assertThat(results.get(0).screenCaptureVideoExists()).isFalse(); in emptyTransitionPasses() 246 List<TransitionResult> results = in canSkipJankyRuns() local 255 assertThat(results).hasSize(2); in canSkipJankyRuns()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | ProcessStatusTracker.java | 184 List<RunningAppProcessInfo> results = new ArrayList<RunningAppProcessInfo>(); in getRunningAppProcesses() local 198 results.add(new RunningAppProcessInfo(proc, pid, null)); in getRunningAppProcesses() 215 return results; in getRunningAppProcesses()
|