Home
last modified time | relevance | path

Searched refs:constructKey (Results 1 – 18 of 18) sorted by relevance

/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/
DSfStatsCollectionHelperTest.java18 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 …]
DJankCollectionHelperTest.java18 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/
DTotalPssHelperTest.java19 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()
DProcessShowmapHelperTest.java19 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()
DShowmapSnapshotHelperTest.java19 import static com.android.helpers.MetricUtility.constructKey;
191 metrics.containsKey(constructKey(String.format( in testProcessList()
194 metrics.containsKey(constructKey(String.format( in testProcessList()
DDumpsysMeminfoHelperTest.java115 MetricUtility.constructKey( in verifyKeysForProcess()
121 MetricUtility.constructKey( in verifyKeysForProcess()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DAppStartupHelper.java119 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()
DCrashHelper.java83 String detailKey = MetricUtility.constructKey(eventType, pkgName, in getMetrics()
98 MetricUtility.constructKey( in getMetrics()
DCpuUsageHelper.java120 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()
DThermalHelper.java91 String severityKey = MetricUtility.constructKey("thermal", "throttling", "severity"); in getMetrics()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DProcessShowmapHelper.java19 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()
DTotalPssHelper.java19 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()
DDumpsysMeminfoHelper.java147 MetricUtility.constructKey( in parseMetrics()
158 MetricUtility.constructKey( in parseMetrics()
DShowmapSnapshotHelper.java19 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/
DSfStatsCollectionHelper.java18 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()
DJankCollectionHelper.java19 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/
DThermalHelperTest.java52 MetricUtility.constructKey("thermal", "throttling", "severity");
176 return MetricUtility.constructKey( in getMetricKey()
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DMetricUtility.java29 public static String constructKey(String... keys) { in constructKey() method in MetricUtility