Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 38) sorted by relevance

12

/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DRegion.kt20 rects.map { it.left }.minOrNull() ?: 0, in <lambda>()
21 rects.map { it.top }.minOrNull() ?: 0, in <lambda>()
22 rects.map { it.right }.maxOrNull() ?: 0, in <lambda>()
23 rects.map { it.bottom }.maxOrNull() ?: 0 in <lambda>()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DKeyValueArgsParser.java31 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/flicker/src/com/android/server/wm/flicker/
DFlickerTestParameterFactory.kt42 supportedRotations.map { rotation -> in <lambda>()
63 .flatMap { start -> supportedRotations.map { end -> start to end } } in <lambda>()
65 .map { (start, end) -> in <lambda>()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DDataRecord.java91 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()
DBinderListener.java58 .map(String::trim) in setupAdditionalArgs()
DJankListener.java58 .map(String::trim) in setupAdditionalArgs()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DLayersTraceEntryTest.kt134 .that(entry.visibleLayers.map { it.name }) in testCanParseNonCroppedLayerWithHWC()
147 .that(entry.visibleLayers.map { it.name }) in testCanParseNonCroppedLayerWithoutHWC()
153 .that(entry.visibleLayers.map { it.name }) in testCanParseNonCroppedLayerWithoutHWC()
157 .that(entry.flattenedLayers.map { it.name }) in testCanParseNonCroppedLayerWithoutHWC()
DWindowManagerTraceTest.kt74 .map { kotlin.runCatching { Pair(it.name, it.get(obj)) } } in <lambda>()
88 .map { kotlin.runCatching { Pair(it.name, it.invoke(obj)) } } in <lambda>()
DAssertionsCheckerTest.kt167 data.indices.map { SimpleEntrySubject in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/eventlog/
DEventLogSubject.kt45 trace.map { FocusEventSubject.assertThat(it, this) } in <lambda>()
52 focusList + trace.filter { it.hasFocus() }.map { it.window } in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/
DWindowManagerState.kt92 .map { it.title } in <lambda>()
144 val frontWindow: String? get() = windowStates.map { it.title }.firstOrNull() in <lambda>()
252 return displays.map { display -> in <lambda>()
270 return displays.firstOrNull { it.id == displayId }?.rootTasks?.map { stack -> in <lambda>()
280 .map { it.rootTasks.indexOfFirst { p -> p.activityType == activityType } } in <lambda>()
329 rootTasks.map { it.getActivity(activityName)?.isVisible ?: false }.firstOrNull() in <lambda>()
333 rootTasks.map { it.getActivity(activityName)?.isTranslucent ?: false }.firstOrNull() in <lambda>()
352 fun containsStartedActivities(): Boolean = rootTasks.map { in <lambda>()
443 windowStates.filter { it.title === windowName }.map { it.token } in <lambda>()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfile.java157 .map(Configuration.Scenario::getJourney) in getTestSequenceFromConfiguration()
158 .map( in getTestSequenceFromConfiguration()
177 .map(Runner::getDescription) in getTestSequenceFromConfiguration()
178 .map(Description::getDisplayName) in getTestSequenceFromConfiguration()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/layers/
DLayersTraceSubject.kt72 trace.entries.map { LayerTraceEntrySubject.assertThat(it, this) } in <lambda>()
114 .map { it.layer(name, frameNumber) } in <lambda>()
250 .map { it.name } in <lambda>()
331 .map { it.getLayerWithBuffer(name) } in <lambda>()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/exceptions/
DMappedMultiException.java66 .map(entry -> entryToString(entry)) in getMessage()
/platform_testing/libraries/health/composers/host/src/android/host/test/composer/
DIterateBase.java58 .map(u -> Collections.nCopies(iterations, u)) in apply()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/
DDisplayContent.kt71 tasks.addAll(task.children.reversed().map { it as ActivityTask }) in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/
DEventLogMonitor.kt77 val log = (event.data as Array<*>).map { it as String } in <lambda>()
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DJUnitXmlRunner.java77 .map( in main()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/layers/
DLayersTraceParser.kt142 val layers = protos.map { newLayer(it) } in newEntry()
235 val rects = this.rect.map { it.toRect() }.toTypedArray() in RegionProto()
/platform_testing/libraries/tradefed-python-lib/tradefed_py/
Dtf_runner.py201 results = map(len, (result.expectedFailures,
210 failed, errored = map(len, (result.failures, result.errors))
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/windowmanager/
DWindowManagerTraceSubject.kt69 trace.entries.map { WindowManagerStateSubject.assertThat(it, this) } in <lambda>()
456 .map { it.name } in <lambda>()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DProfileTest.java125 List<String> outputDescriptions = output.stream().map(r -> in testProfileOrderingRespected()
/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/
DIterateTestBase.java105 testRuns.stream().map(l -> l.get(0)).collect(Collectors.toList())); in testSequentialOrderRespected()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DDex2oatPressureRule.java157 .map(line -> line.replace("package:", "").trim()) in getInstalledPackages()
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationMockingHelperImpl.java176 return objects.stream().map(o -> o.getParent().getParent()).collect(Collectors.toList()); in getNotificationStack()

12