/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | BusinessLogicMapStore.java | 33 Map<String, String> map = maps.get(mapName); in putMap() local 34 if (map == null) { in putMap() 35 map = new HashMap<>(); in putMap() 36 maps.put(mapName, map); in putMap() 47 map.put(key, value); in putMap() 52 Map<String, String> map = maps.get(mapName); in getMap() local 53 if (map == null) { in getMap() 56 return Collections.unmodifiableMap(map); in getMap()
|
D | KeyValueArgsParser.java | 31 final HashMap<String, String> map = new HashMap<String, String>(); in parse() local 40 map.put(key, s); in parse() 47 return map; in parse()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/ |
D | ResourceRepository.java | 185 Map<String, ResourceItem> map = mResourceMap.get(type); in getResourceItem() local 187 if (map == null) { in getResourceItem() 225 map = new HashMap<>(size, 1.0f); in getResourceItem() 227 map = new HashMap<>(); in getResourceItem() 229 mResourceMap.put(type, map); in getResourceItem() 232 map.put(item.getName(), item); in getResourceItem() 299 Map<ResourceType, ResourceValueMap> map = in doGetConfiguredResources() local 304 map.put(key, getConfiguredResource(key, referenceConfig)); in doGetConfiguredResources() 307 return map; in doGetConfiguredResources() 328 Map<String, ResourceItem> map = mResourceMap.get(type); in removeFile() local [all …]
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/ |
D | LayerTraceEntrySubject.kt | 71 val subjects by lazy { entry.flattenedLayers.map { LayerSubject(reader, timestamp, it) } } in <lambda>() 130 val visibleAreas = visibleLayers.map { Region(it.layer.screenBounds.toRect()) } in <lambda>() 151 val layers = subjects.map { it.layer } in <lambda>() 162 .setActual(foundElements.map { Fact("Found", it) }) in <lambda>() 170 val layers = subjects.map { it.layer } in <lambda>() 178 .map { Fact(it.name, it.visibilityReason.joinToString()) } in <lambda>() 193 val layers = subjects.map { it.layer } in <lambda>() 209 .map { Fact("Is visible", it.name) } in <lambda>() 245 .map { Fact(it.name, it.visibilityReason.joinToString()) } in <lambda>() 257 val targets = componentMatcher.filterLayers(subjects.map { it.layer }) in <lambda>() [all …]
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/ |
D | TraceParserTest.kt | 94 mockTraceForSliceTests.entries.map { it.timestamp } in canSliceFromBeforeToAfterLastEntry() 103 mockTraceForSliceTests.entries.map { it.timestamp } in canSliceFromExactStartToAfterLastEntry() 112 mockTraceForSliceTests.entries.map { it.timestamp } in canSliceFromExactStartToExactEnd() 139 mockTraceForSliceTests.entries.map { it.timestamp } in canSliceFromBeforeToExactEnd() 150 return testSliceUsingElapsedTimestamp(from, to, expected.map { it.elapsedNanos }) in testSliceUsingElapsedTimestamp() 159 return testSliceUsingElapsedTimestamp(from, to, expected.map { it.elapsedNanos }) in testSliceUsingElapsedTimestamp() 167 return testSliceUsingElapsedTimestamp(from, to, expected.map { it.elapsedNanos }) in testSliceUsingElapsedTimestamp() 188 expected.map { it.elapsedNanos } in testSliceUsingElapsedTimestamp() 211 mockTraceForSliceTests.entries.map { it.timestamp.elapsedNanos }.contains(from) in testSliceUsingElapsedTimestamp() 218 mockTraceForSliceTests.entries.map { it.timestamp.elapsedNanos }.contains(to) in testSliceUsingElapsedTimestamp() [all …]
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
D | LayoutPullParser.java | 93 Map<String, String> map = null; in getViewCookie() local 102 if (map == null) { in getViewCookie() 103 map = new HashMap<>(4); in getViewCookie() 105 map.put(attribute, getAttributeValue(i)); in getViewCookie() 109 return map; in getViewCookie()
|
D | ConfigGenerator.java | 203 Map<String, String> map = Maps.newHashMap(); in loadProperties() local 207 map.put(key, p.getProperty(key)); in loadProperties() 212 return map; in loadProperties() 216 Map<String, Map<String, Integer>> map = Maps.newHashMap(); in getEnumMap() local 233 Map<String, Integer> attributeMap = map.get(attr); in getEnumMap() 236 map.put(attr, attributeMap); in getEnumMap() 252 return map; in getEnumMap()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/splitscreen/ |
D | Components.kt | 103 val layerIds = associatedTransition.changes.map { it.layerId } in <lambda>() 105 associatedTransition.changes.map { change -> in <lambda>() 109 val appIds = layers.filter { layerIds.contains(it.parent?.parent?.id) }.map { it.id } in <lambda>() 114 .map { FullComponentIdMatcher(it.windowId, it.layerId) } in <lambda>()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | DataRecord.java | 91 Map<String, String> map = getStringMetrics(); in createBundleFromMetrics() local 93 for (String key : map.keySet()) { in createBundleFromMetrics() 94 b.putString(key, map.get(key)); in createBundleFromMetrics()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/ |
D | ScenarioAssertionImpl.kt | 42 val assertionExceptions = assertionData.map { assertionRunner.runAssertion(it) } in <lambda>() 79 result.assumptionViolations.map { it.message } in <lambda>() 85 "${result.name} FAILED :: " + result.assertionErrors.map { it.message } in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/ |
D | LegacyFlickerTestFactory.kt | 43 supportedRotations.map { rotation -> in <lambda>() 63 .flatMap { start -> supportedRotations.map { end -> start to end } } in <lambda>() 65 .map { (start, end) -> createFlickerTest(navBarMode, start, end, extraArgs) } in <lambda>()
|
/platform_testing/libraries/motion/src/platform/test/motion/truth/ |
D | TimeSeriesSubject.kt | 49 add(fact("| expected", expected.frameIds.map { it.label })) in <lambda>() 50 add(fact("| but got", actual.frameIds.map { it.label })) in <lambda>() 58 add(fact("| unexpected (${ unexpected.size})", unexpected.map { it.label })) in <lambda>() 63 add(fact("| missing (${ missing.size})", missing.map { it.label })) in <lambda>() 66 framesToCompare.map { in <lambda>()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/ |
D | ScenarioInstanceTest.kt | 93 val results = assertions.map { it.execute() } in willReportFlickerAssertions() 94 Truth.assertThat(results.map { it.name }).contains("MY_CUSTOM_SCENARIO::myAssertionSingle") in willReportFlickerAssertions() 95 Truth.assertThat(results.map { it.name }) in willReportFlickerAssertions() 167 val results = assertions.map { it.execute() } in willReportMainBlockAssertions() 168 Truth.assertThat(results.map { it.name }).contains("MY_CUSTOM_SCENARIO::myAssertion1") in willReportMainBlockAssertions() 169 Truth.assertThat(results.map { it.name }).contains("MY_CUSTOM_SCENARIO::myAssertion2") in willReportMainBlockAssertions()
|
/platform_testing/libraries/sts-common-util/util/src/com/android/sts/common/util/ |
D | StsLogic.java | 154 Map<String, String> map = BusinessLogicMapStore.getMap("security_bulletins"); in getMinTestSpl() local 155 if (map == null) { in getMinTestSpl() 160 String splString = map.get(Long.toString(cveBugId)); in getMinTestSpl() 181 Map<String, String> map = BusinessLogicMapStore.getMap("sts_modification_times"); in getMinModificationDate() local 182 if (map == null) { in getMinModificationDate() 187 String modificationMillisString = map.get(Long.toString(cveBugId)); in getMinModificationDate()
|
/platform_testing/libraries/motion/src/platform/test/motion/golden/ |
D | JsonGoldenSerializer.kt | 59 JSONArray().apply { golden.frameIds.map(::frameIdToJson).forEach(this::put) } in toJson() 63 JSONArray().apply { golden.features.values.map(::featureToJson).forEach(this::put) } in toJson() 100 .map { it.type.typeName } in featureToJson() 113 JSONArray().apply { feature.dataPoints.map { it.asJson() }.forEach(this::put) } in featureToJson()
|
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/ |
D | MaterialYouColorsRuleTest.kt | 26 val expectedColors = resourceIds.map { colors.colors[it] }.toTypedArray() in testApplyMaterialYouColors() 27 val actualColors = resourceIds.map { resources.getColor(it) }.toTypedArray() in testApplyMaterialYouColors()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | EnsureDeviceSettingsRule.kt | 72 val message = setupErrors.map { it.description }.joinToString("\n") in throwSetupErrors() 73 val command = setupErrors.map { it.adbCommandToFixIt }.joinToString("; \\\n") in throwSetupErrors()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/ |
D | UnfoldAnimationTestingUtils.kt | 59 .map { name -> in <lambda>() 68 return setA.map { it.name }.intersect(setB.map { it.name }.toSet()) in <lambda>()
|
/platform_testing/libraries/sts-common-util/device-side/src/com/android/sts/common/ |
D | DumpsysUtils.java | 66 .map(arg -> String.format("%s %s", arg.getKey(), arg.getValue())) in getParsedDumpsys() 77 .map(e -> e.trim()) in getParsedDumpsys()
|
/platform_testing/libraries/flicker/utils/src/android/tools/parsers/events/ |
D | EventLogParser.kt | 46 .map { log -> in <lambda>() 47 val (metaData, eventData) = log.split(":", limit = 2).map { it.trim() } in <lambda>() 105 val (metaData, _) = entry.split(":", limit = 2).map { it.trim() } in <lambda>()
|
/platform_testing/libraries/rdroidtest/src/ |
D | lib.rs | 93 $param_gen.into_iter().map(|(name, val)| { 106 $param_gen.into_iter().map(|(name, val)| {
|
/platform_testing/libraries/flicker/src/android/tools/flicker/ |
D | FlickerServiceImpl.kt | 28 configEntry.extractor.extract(reader).map { traceSlice -> in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/events/ |
D | EventLogSubject.kt | 56 val actual = focusChanges.map { Fact("Focus change", it) } in <lambda>() 74 val actual = _focusChanges.map { Fact("Focus change", it) } in <lambda>()
|
/platform_testing/host_runners/power/tests/src/com/android/power/ |
D | PowerRunnerTests.java | 99 HashMap<String, String> map = new HashMap<>(); in setUp() 100 map.put("k1", "v1"); in setUp() 101 map.put("k2", "v2"); in setUp() 102 return map; in setUp()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | MockWindowManagerTraceBuilder.kt | 37 val entries = entries.map { it.build() } in <lambda>()
|