Home
last modified time | relevance | path

Searched refs:keySet (Results 1 – 25 of 46) sorted by relevance

12

/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DAppStartupHelperTest.java133 assertTrue(appLaunchMetrics.keySet().contains(coldLaunchMetricKey)); in testSingleColdLaunchMetric()
143 assertTrue(appLaunchMetrics.keySet().contains(coldLaunchTransitionMetricKey)); in testSingleColdLaunchMetric()
152 assertTrue(appLaunchMetrics.keySet().contains(coldLaunchProcessMetricKey)); in testSingleColdLaunchMetric()
166 assertTrue(appLaunchMetrics.keySet().contains(sourceEventDelayMetricKey)); in testSingleColdLaunchMetric()
190 assertTrue(appLaunchMetrics.keySet().contains(coldLaunchMetricKey)); in testMultipleColdLaunchMetric()
201 assertTrue(appLaunchMetrics.keySet().contains(coldLaunchProcessMetricKey)); in testMultipleColdLaunchMetric()
247 assertTrue(appLaunchMetrics.keySet().contains(coldLaunchCalculatorMetricKey)); in testDifferentAppColdLaunchMetric()
248 assertTrue(appLaunchMetrics.keySet().contains(coldLaunchClockMetricKey)); in testDifferentAppColdLaunchMetric()
267 assertTrue(appLaunchMetrics.keySet().contains(coldLaunchTransCalMetricKey)); in testDifferentAppColdLaunchMetric()
268 assertTrue(appLaunchMetrics.keySet().contains(coldLaunchTransSetMetricKey)); in testDifferentAppColdLaunchMetric()
[all …]
DUiActionLatencyHelperTest.java91 "testQuickSwitchMetric: got metrics: " + String.join(",", latencyMetrics.keySet())); in testQuickSwitchMetric()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/
DMultiResourceFile.java69 mResourceTypeList = Collections.unmodifiableCollection(mResourceItems.keySet()); in load()
94 mResourceTypeList = Collections.unmodifiableCollection(mResourceItems.keySet()); in update()
98 if (oldResourceItems.keySet().equals(mResourceItems.keySet())) { in update()
102 … if (!mResourceItems.get(type).keySet().equals(oldResourceItems.get(type).keySet())) { in update()
DIdGeneratingResourceFile.java83 Set<String> oldIdNames = new HashSet<>(mIdResources.keySet()); in update()
97 Set<String> keySet = mIdResources.keySet(); in update() local
98 assert keySet != oldIdNames; in update()
99 if (!oldIdNames.equals(keySet)) { in update()
151 for (String idName : mIdResources.keySet()) { in updateResourceItems()
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DDumpsysMeminfoHelperTest.java176 assertTrue(results.keySet().contains(SYSTEMUI_VIEW_KEY)); in testCollectMeminfo_oneProcessObjectMap()
177 assertTrue(results.keySet().contains(SYSTEMUI_VIEW_ROOT_KEY)); in testCollectMeminfo_oneProcessObjectMap()
191 assertTrue(results.keySet().contains(SYSTEMUI_VIEW_KEY)); in testCollectMeminfo_twoProcessObjectMap()
192 assertTrue(results.keySet().contains(SYSTEMUI_VIEW_ROOT_KEY)); in testCollectMeminfo_twoProcessObjectMap()
193 assertTrue(results.keySet().contains(LAUNCHER_VIEW_KEY)); in testCollectMeminfo_twoProcessObjectMap()
194 assertTrue(results.keySet().contains(LAUNCHER_VIEW_ROOT_KEY)); in testCollectMeminfo_twoProcessObjectMap()
209 assertTrue(results.keySet().contains(SYSTEMUI_VIEW_KEY)); in testCollectMeminfo_oneProcessAndProcessObjectMap()
210 assertTrue(results.keySet().contains(SYSTEMUI_VIEW_ROOT_KEY)); in testCollectMeminfo_oneProcessAndProcessObjectMap()
DShowmapSnapshotHelperTest.java317 Set<String> parentWithChildProcessSet = metrics.keySet() in testGetMetrics_verify_child_processes_metrics()
352 metrics.keySet().stream() in testGetMetrics_parent_process_child_processes_metrics()
364 for (String key : metrics.keySet()) { in verifyDefaultMetrics()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DDataRecord.java93 for (String key : map.keySet()) { in createBundleFromMetrics()
96 for (String key : mCurrentBinaryMetrics.keySet()) { in createBundleFromMetrics()
DBaseMetricListener.java458 Set<String> keySet = new HashSet<>(bundle.keySet()); in filterAlias() local
462 for (String key : keySet) { in filterAlias()
471 for (String key : keySet) { in filterAlias()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DGcaEventLogCollectorTest.java113 for (String key : check.keySet()) { in testGcaEventLogCollectionOnTestEnd_includeFailure()
123 for (String key : checkFail.keySet()) { in testGcaEventLogCollectionOnTestEnd_includeFailure()
169 for (String key : check1.keySet()) { in testGcaEventLogCollectOnTestEnd_skipFailure()
179 for (String key : check2.keySet()) { in testGcaEventLogCollectOnTestEnd_skipFailure()
211 for (String key : resultBundle.keySet()) { in testGcaEventLogCollectionOnTestRunEnd_runEndOnly()
DLogcatCollectorTest.java134 for (String key : check1.keySet()) { in testLogcatCollectionOnEveryTestEnd()
150 for (String key : check2.keySet()) { in testLogcatCollectionOnEveryTestEnd()
240 for (String key : resultBundle.keySet()) { in testLogcatCollectionWithDirectoryOption()
289 for (String key: check.keySet()) { in testLogcatOnlyOnTestFailureOption()
336 for (String key : check.keySet()) { in testRetrievingLogcat()
406 for (String key : check.keySet()) { in testLogcatTimespan()
500 for (String key : check1.keySet()) { in testMultipleIterations()
515 for (String key : check2.keySet()) { in testMultipleIterations()
530 for (String key : check3.keySet()) { in testMultipleIterations()
DBatteryStatsListenerTest.java121 for(String key : resultBundle.keySet()) { in testTestRunCollector()
179 for(String key : bundle.keySet()) { in testTestRunToBytesCollector()
225 for(String key : bundle.keySet()) { in testTestCaseCollector()
DScreenshotOnFailureCollectorTest.java141 for (String key : bundle.keySet()) { in testSavePngAsFile()
179 for (String key : bundle.keySet()) { in testSaveUixAsFile()
216 for(String key : bundle.keySet()) { in testNoUixWithoutOption()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DBusinessLogic.java135 Set<String> keySet = exceptions.keySet(); in throwAggregatedException() local
136 String[] descriptions = keySet.toArray(new String[keySet.size()]); in throwAggregatedException()
DDynamicConfig.java79 public Set<String> keySet() { in keySet() method in DynamicConfig
81 return mDynamicConfigMap.keySet(); in keySet()
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/
DSpectatioConfig.java96 Sets.difference(newConfigMap.keySet(), currentConfigMap.keySet()); in updateConfigValues()
/platform_testing/libraries/timeresult-helper/src/android/support/test/timeresulthelper/
DTimeResultLogger.java55 for (String key : result.keySet()) { in writeResultToFile()
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DAnnotationsRetriever.java122 Sets.intersection(requiresFlagValues.keySet(), setsFlagValues.keySet()); in getFlagAnnotations()
151 Sets.intersection(classFlagValues.keySet(), methodFlagValues.keySet()); in getMergedFlagValues()
DSetFlagsRule.java123 mLockedFlagNames.addAll(flagsParameterization.mOverrides.keySet()); in SetFlagsRule()
142 mLockedFlagNames.addAll(flagsParameterization.mOverrides.keySet()); in setFlagsParameterization()
218 mLockedFlagNames.addAll(flagAnnotations.mRequiredFlagValues.keySet()); in apply()
219 mLockedFlagNames.addAll(flagAnnotations.mSetFlagValues.keySet()); in apply()
254 Set<String> parameterizedFlags = parameterization.mOverrides.keySet();
255 Set<String> requiredFlags = flagAnnotations.mRequiredFlagValues.keySet();
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DMemLeaksHelper.java84 for (String processName : current.keySet()) { in getMetrics()
112 for (Integer pid : pids.keySet()) { in getMeminfo()
DDumpsysMeminfoHelper.java86 if (mProcessObjNamesMap.keySet().contains(processName)) { in getMetrics()
93 for (String processName : mProcessObjNamesMap.keySet()) { in getMetrics()
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/
DJankCollectionHelperTest.java160 for (String key : metrics.keySet()) { in testCollect_singlePackage()
186 for (String key : metrics.keySet()) { in testCollect_multiPackage()
226 for (String key : metrics.keySet()) { in testCollect_allPackages()
275 assertThat(metrics.keySet()) in testCollect_ignoreMissingFields()
389 assertThat(metrics.keySet()) in testCollect_ignoreUnknownField()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DUiInteractionFrameInfoListener.java85 for (String key : bundle.keySet()) {
DStatsdListener.java142 for (String configName : configReports.keySet()) { in onTestRunEnd()
176 for (String configName : configReports.keySet()) { in onTestEnd()
191 for (String configName : configs.keySet()) { in registerConfigsWithStatsManager()
232 for (String configName : configIds.keySet()) { in pullReportsAndRemoveConfigs()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DProcessStatusTracker.java86 Set<String> deadProcesses = new HashSet<String>(mPidTracker.keySet()); in getProcessDetails()
186 Set<String> procSet = mPidTracker.keySet(); in getRunningAppProcesses()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DProcessUtil.java113 return Optional.of(pids.get().keySet().iterator().next()); in pidOf()
300 for (int pid : pids.get().keySet()) { in killAll()
440 for (Integer pid : pids.get().keySet()) {

12