Searched refs:findFirst (Results 1 – 6 of 6) sorted by relevance
244 if (stream.findFirst(combinedCondition).isPresent()) {
102 public Optional<ImeEvent> findFirst(Predicate<ImeEvent> condition) { in findFirst() method in ImeEventStream
265 return createDisplays(1).stream().findFirst().orElse(null); in createDisplay()
398 .findFirst(); in waitForAndGetConnection()
363 .findFirst() in getWindowStateForAppToken()
601 .findFirst() in findWindow()