Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 39) sorted by relevance

12

/platform_testing/libraries/health/composers/host/src/android/host/test/composer/
DIterateBase.java22 import java.util.stream.Collectors;
53 .stream() in apply()
54 .flatMap(Collection::stream) in apply()
57 return input.stream() in apply()
59 .flatMap(Collection::stream) in apply()
/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/
DIterateTestBase.java24 import java.util.stream.Collectors;
25 import java.util.stream.IntStream;
60 Map<Integer, Long> countMap = output.stream() in testIterationsRespected()
65 .stream() in testIterationsRespected()
83 boolean cyclesSameAsInput = cycles.stream().allMatch(SIMPLE_INPUT::equals); in testCyclicOrderRespected()
102 testRuns.stream().allMatch(l -> l.stream().distinct().count() == 1); in testSequentialOrderRespected()
105 testRuns.stream().map(l -> l.get(0)).collect(Collectors.toList())); in testSequentialOrderRespected()
124 output.stream() in testOverrideOptionName()
129 .stream() in testOverrideOptionName()
DShuffleTestBase.java23 import java.util.stream.Collectors;
24 import java.util.stream.IntStream;
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DAssertions.java24 import java.util.stream.Collectors;
96 return this.assertions.stream().map(p -> p.name).collect(Collectors.joining(" and ")); in getName()
102 this.assertions.stream().map(p -> p.apply(t)).collect(Collectors.toList()); in apply()
104 boolean passed = assertionResults.stream().allMatch(Result::passed); in apply()
107 .stream() in apply()
112 Optional<Long> timestamp = assertionResults.stream().map(p -> p.timestamp).findFirst(); in apply()
DAssertionsChecker.java26 import java.util.stream.Collectors;
99 entries.stream() in test()
183 .stream() in assertChanges()
190 .stream() in assertChanges()
220 .stream() in assertAll()
221 .flatMap(assertion -> entries.stream().map(assertion).filter(Result::failed)) in assertAll()
DWmTraceSubject.java33 import java.util.stream.Collectors;
131 failures.stream().map(Result::toString).collect(Collectors.joining("\n")); in test()
DLayersTraceSubject.java37 import java.util.stream.Collectors;
149 failures.stream().map(Result::toString).collect(Collectors.joining("\n")); in test()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/exceptions/
DMappedMultiException.java23 import java.util.stream.Collectors;
65 .stream() in getMessage()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DProcessStatusTracker.java190 BufferedReader stream = executeShellCommand("ps"); in getRunningAppProcesses() local
193 while ((line = stream.readLine()) != null) { in getRunningAppProcesses()
206 if (stream != null) { in getRunningAppProcesses()
207 stream.close(); in getRunningAppProcesses()
234 BufferedReader stream = new BufferedReader(new InputStreamReader( in executeShellCommand() local
236 return stream; in executeShellCommand()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DCompilationFilterRule.java24 import java.util.stream.Collectors;
59 String filterOptions = COMPILE_FILTER_LIST.stream().collect(Collectors.joining(", ")); in starting()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DLayersTraceSubjectTest.java37 import java.util.stream.Collectors;
115 .stream() in detectRootLayer()
126 .that(rootLayers.stream().allMatch(p -> p.getParentId() == firstParentId)) in detectRootLayer()
DLayersTraceTest.java40 import java.util.stream.Collectors;
78 .stream() in canParseAllLayers()
94 .stream() in canParseVisibleLayers()
101 .stream() in canParseVisibleLayers()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfile.java45 import java.util.stream.Collectors;
137 input.stream().collect( in getTestSequenceFromConfiguration()
142 nameToRunner.keySet().stream().collect(Collectors.joining(", ")))); in getTestSequenceFromConfiguration()
144 .stream() in getTestSequenceFromConfiguration()
161 result.stream() in getTestSequenceFromConfiguration()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DScheduledRunCollectionListenerTest.java84 Arrays.stream(TEST_METRIC_VALUES) in initListener()
144 int expectedMin = Arrays.stream(TEST_METRIC_VALUES).min(Integer::compare).get(); in testInstrumentationResult()
150 int expectedMax = Arrays.stream(TEST_METRIC_VALUES).max(Integer::compare).get(); in testInstrumentationResult()
157 Arrays.stream(TEST_METRIC_VALUES).mapToDouble(i -> i.doubleValue()).sum() in testInstrumentationResult()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DJankListener.java57 Arrays.stream(pkgs.split(PACKAGE_SEPARATOR)) in setupAdditionalArgs()
DBinderListener.java57 Arrays.stream(processes.split(PROCESS_SEPARATOR)) in setupAdditionalArgs()
/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/
DLongevitySuite.java33 import java.util.stream.Collectors;
61 .stream() in LongevitySuite()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DVolvoLauncherStrategy.java27 import java.util.stream.Collectors;
28 import java.util.stream.Stream;
DAutoLauncherStrategy.java32 import java.util.stream.Collectors;
33 import java.util.stream.Stream;
276 appNames.stream() in waitUntilOneOfTheAppOpen()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java28 import java.util.stream.Stream;
231 long count = internalMap.values().stream().mapToLong(v -> v).sum(); in mean()
238 .stream() in mean()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DProfileTest.java40 import java.util.stream.Collectors;
125 List<String> outputDescriptions = output.stream().map(r -> in testProfileOrderingRespected()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DDumpsysMeminfoHelper.java27 import java.util.stream.Collectors;
28 import java.util.stream.Stream;
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DJUnitXmlRunner.java29 import java.util.stream.Stream;
/platform_testing/libraries/car-helpers/multiuser-helper/src/android/platform/helpers/
DMultiUserHelper.java155 .stream() in getUserByName()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DAppStartupHelper.java32 import java.util.stream.Collectors;
227 .stream() in getMetrics()

12