/platform_testing/libraries/health/composers/host/src/android/host/test/composer/ |
D | IterateBase.java | 22 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/ |
D | IterateTestBase.java | 24 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()
|
D | ShuffleTestBase.java | 23 import java.util.stream.Collectors; 24 import java.util.stream.IntStream;
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/ |
D | Assertions.java | 24 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()
|
D | AssertionsChecker.java | 26 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()
|
D | WmTraceSubject.java | 33 import java.util.stream.Collectors; 131 failures.stream().map(Result::toString).collect(Collectors.joining("\n")); in test()
|
D | LayersTraceSubject.java | 37 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/ |
D | MappedMultiException.java | 23 import java.util.stream.Collectors; 65 .stream() in getMessage()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | ProcessStatusTracker.java | 190 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/ |
D | CompilationFilterRule.java | 24 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/ |
D | LayersTraceSubjectTest.java | 37 import java.util.stream.Collectors; 115 .stream() in detectRootLayer() 126 .that(rootLayers.stream().allMatch(p -> p.getParentId() == firstParentId)) in detectRootLayer()
|
D | LayersTraceTest.java | 40 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/ |
D | Profile.java | 45 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/ |
D | ScheduledRunCollectionListenerTest.java | 84 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/ |
D | JankListener.java | 57 Arrays.stream(pkgs.split(PACKAGE_SEPARATOR)) in setupAdditionalArgs()
|
D | BinderListener.java | 57 Arrays.stream(processes.split(PROCESS_SEPARATOR)) in setupAdditionalArgs()
|
/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/ |
D | LongevitySuite.java | 33 import java.util.stream.Collectors; 61 .stream() in LongevitySuite()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | VolvoLauncherStrategy.java | 27 import java.util.stream.Collectors; 28 import java.util.stream.Stream;
|
D | AutoLauncherStrategy.java | 32 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/ |
D | SfStatsCollectionHelper.java | 28 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/ |
D | ProfileTest.java | 40 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/ |
D | DumpsysMeminfoHelper.java | 27 import java.util.stream.Collectors; 28 import java.util.stream.Stream;
|
/platform_testing/libraries/junitxml/src/com/android/junitxml/ |
D | JUnitXmlRunner.java | 29 import java.util.stream.Stream;
|
/platform_testing/libraries/car-helpers/multiuser-helper/src/android/platform/helpers/ |
D | MultiUserHelper.java | 155 .stream() in getUserByName()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | AppStartupHelper.java | 32 import java.util.stream.Collectors; 227 .stream() in getMetrics()
|