/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/ |
D | SfStatsCollectionHelperTest.java | 18 import static com.android.helpers.MetricUtility.constructKey; 150 constructKey( in testCollect_valuesMatch() 157 constructKey( in testCollect_valuesMatch() 164 constructKey( in testCollect_valuesMatch() 171 constructKey( in testCollect_valuesMatch() 178 constructKey( in testCollect_valuesMatch() 185 constructKey( in testCollect_valuesMatch() 192 constructKey( in testCollect_valuesMatch() 199 constructKey( in testCollect_valuesMatch() 206 constructKey( in testCollect_valuesMatch() [all …]
|
D | JankCollectionHelperTest.java | 18 import static com.android.helpers.MetricUtility.constructKey; 408 return constructKey(JankCollectionHelper.GFXINFO_METRICS_PREFIX, pkg, id); in buildMetricKey()
|
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/ |
D | TotalPssHelperTest.java | 19 import static com.android.helpers.MetricUtility.constructKey; 81 assertTrue(pssMetrics.containsKey(constructKey(PSS_METRIC_PREFIX, TEST_PROCESS_NAME))); in testGetMetrics_OneProcess() 82 assertTrue(pssMetrics.get(constructKey(PSS_METRIC_PREFIX, TEST_PROCESS_NAME)) > 0); in testGetMetrics_OneProcess() 91 assertTrue(pssMetrics.containsKey(constructKey(PSS_METRIC_PREFIX, TEST_PROCESS_NAME))); in testGetMetrics_MultipleProcesses() 92 assertTrue(pssMetrics.containsKey(constructKey(PSS_METRIC_PREFIX, TEST_PROCESS_NAME_2))); in testGetMetrics_MultipleProcesses() 93 assertTrue(pssMetrics.get(constructKey(PSS_METRIC_PREFIX, TEST_PROCESS_NAME)) > 0); in testGetMetrics_MultipleProcesses() 94 assertTrue(pssMetrics.get(constructKey(PSS_METRIC_PREFIX, TEST_PROCESS_NAME_2)) > 0); in testGetMetrics_MultipleProcesses() 102 assertTrue(pssMetrics.containsKey(constructKey(PSS_METRIC_PREFIX, INVALID_PROCESS_NAME))); in testGetMetrics_InvalidProcess() 103 assertTrue(pssMetrics.get(constructKey(PSS_METRIC_PREFIX, INVALID_PROCESS_NAME)) == 0); in testGetMetrics_InvalidProcess()
|
D | ProcessShowmapHelperTest.java | 19 import static com.android.helpers.MetricUtility.constructKey; 92 assertTrue(showmapMetrics.containsKey(constructKey(TEST_PROCESS_NAME, PSS))); in testGetMetrics_OneProcess() 93 assertTrue(showmapMetrics.containsKey(constructKey(TEST_PROCESS_NAME, PSS, DELTA))); in testGetMetrics_OneProcess() 102 assertTrue(showmapMetrics.containsKey(constructKey(TEST_PROCESS_NAME, PSS))); in testGetMetrics_MultipleProcesses() 103 assertTrue(showmapMetrics.containsKey(constructKey(TEST_PROCESS_NAME, PSS, DELTA))); in testGetMetrics_MultipleProcesses() 104 assertTrue(showmapMetrics.containsKey(constructKey(TEST_PROCESS_NAME_2, PSS))); in testGetMetrics_MultipleProcesses() 105 assertTrue(showmapMetrics.containsKey(constructKey(TEST_PROCESS_NAME_2, PSS, DELTA))); in testGetMetrics_MultipleProcesses()
|
D | ShowmapSnapshotHelperTest.java | 19 import static com.android.helpers.MetricUtility.constructKey; 191 metrics.containsKey(constructKey(String.format( in testProcessList() 194 metrics.containsKey(constructKey(String.format( in testProcessList()
|
D | DumpsysMeminfoHelperTest.java | 115 MetricUtility.constructKey( in verifyKeysForProcess() 121 MetricUtility.constructKey( in verifyKeysForProcess()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | AppStartupHelper.java | 119 metricTypeKey = MetricUtility.constructKey(typeKey, pkgName); in getMetrics() 120 metricCountKey = MetricUtility.constructKey(typeKey, COUNT, pkgName); in getMetrics() 121 totalCountKey = MetricUtility.constructKey(typeKey, TOTAL_COUNT); in getMetrics() 129 metricTransitionKey = MetricUtility.constructKey(typeKey, in getMetrics() 146 metricKey = MetricUtility.constructKey( in getMetrics() 150 metricKey = MetricUtility.constructKey( in getMetrics() 154 metricKey = MetricUtility.constructKey( in getMetrics() 196 metricKey = MetricUtility.constructKey(typeKey, in getMetrics() 198 metricCountKey = MetricUtility.constructKey(typeKey, PROCESS_START, in getMetrics() 200 totalCountKey = MetricUtility.constructKey(typeKey, PROCESS_START, in getMetrics()
|
D | CrashHelper.java | 83 String detailKey = MetricUtility.constructKey(eventType, pkgName, in getMetrics() 98 MetricUtility.constructKey( in getMetrics()
|
D | CpuUsageHelper.java | 120 String UserTimeKey = MetricUtility.constructKey(CPU_USAGE_PKG_UID, in getMetrics() 123 String SystemTimeKey = MetricUtility.constructKey(CPU_USAGE_PKG_UID, in getMetrics() 137 String finalFreqIndexKey = MetricUtility.constructKey( in getMetrics()
|
D | ThermalHelper.java | 91 String severityKey = MetricUtility.constructKey("thermal", "throttling", "severity"); in getMetrics()
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | ProcessShowmapHelper.java | 19 import static com.android.helpers.MetricUtility.constructKey; 106 showmapFinalMap.put(constructKey(processName, PSS), endMetrics.pss); in getMetrics() 107 showmapFinalMap.put(constructKey(processName, RSS), endMetrics.rss); in getMetrics() 108 showmapFinalMap.put(constructKey(processName, VSS), endMetrics.vss); in getMetrics() 116 constructKey(processName, PSS, DELTA), endMetrics.pss - startMetrics.pss); in getMetrics() 118 constructKey(processName, RSS, DELTA), endMetrics.rss - startMetrics.rss); in getMetrics() 120 constructKey(processName, VSS, DELTA), endMetrics.vss - startMetrics.vss); in getMetrics()
|
D | TotalPssHelper.java | 19 import static com.android.helpers.MetricUtility.constructKey; 114 mPssFinalMap.put(constructKey(PSS_METRIC_PREFIX, processName), pss * 1024); in measureMemory() 123 mPssFinalMap.put(constructKey(PSS_METRIC_PREFIX, processName), average(pssData) * 1024); in measureMemory()
|
D | DumpsysMeminfoHelper.java | 147 MetricUtility.constructKey( in parseMetrics() 158 MetricUtility.constructKey( in parseMetrics()
|
D | ShowmapSnapshotHelper.java | 19 import static com.android.helpers.MetricUtility.constructKey; 260 String metricKey = constructKey(String.format(OUTPUT_METRIC_PATTERN, entry.getValue()), in parseAndUpdateMemoryInfo()
|
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/ |
D | SfStatsCollectionHelper.java | 18 import static com.android.helpers.MetricUtility.constructKey; 98 String metricKey = constructKey(SFSTATS_METRICS_PREFIX, "GLOBAL", key.toUpperCase()); in getMetrics() 104 constructKey(SFSTATS_METRICS_PREFIX, "GLOBAL", "FRAME_CPU_DURATION_AVG"), in getMetrics() 110 constructKey(SFSTATS_METRICS_PREFIX, "GLOBAL", "RENDER_ENGINE_DURATION_AVG"), in getMetrics() 121 constructKey(SFSTATS_METRICS_PREFIX, layerName, "TOTAL_FRAMES"), in getMetrics() 124 constructKey(SFSTATS_METRICS_PREFIX, layerName, "DROPPED_FRAMES"), in getMetrics() 127 constructKey(SFSTATS_METRICS_PREFIX, layerName, "AVERAGE_FPS"), in getMetrics()
|
D | JankCollectionHelper.java | 19 import static com.android.helpers.MetricUtility.constructKey; 312 constructKey(GFXINFO_METRICS_PREFIX, packageName, metric.getMetricId()); in parseGfxInfoMetrics()
|
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/ |
D | ThermalHelperTest.java | 52 MetricUtility.constructKey("thermal", "throttling", "severity"); 176 return MetricUtility.constructKey( in getMetricKey()
|
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/ |
D | MetricUtility.java | 29 public static String constructKey(String... keys) { in constructKey() method in MetricUtility
|