Searched refs:SparseArrayStream (Results 1 – 3 of 3) sorted by relevance
26 import com.android.car.util.SparseArrayStream;43 IntStream actual = SparseArrayStream.keyStream(array); in testKeyStream()51 SparseArrayStream.keyStream(new SparseArray<String>()).boxed(), ImmutableList.of()); in testKeyStream_empty()59 Stream<String> actual = SparseArrayStream.valueStream(array); in testValueStream()67 SparseArrayStream.valueStream(new SparseArray<String>()), ImmutableList.of()); in testValueStream_empty()76 Stream<Pair<Integer, String>> actual = SparseArrayStream.pairStream(array); in testPairStream()84 SparseArrayStream.pairStream(new SparseArray<String>()), ImmutableList.of()); in testPairStream_empty()
31 public final class SparseArrayStream { class50 private SparseArrayStream() { in SparseArrayStream() method in SparseArrayStream
56 import com.android.car.util.SparseArrayStream;285 SparseArrayStream.valueStream(currentSample).collect(Collectors.toList()), in collectNewIoMetrics()297 SparseArrayStream.valueStream(currentSample).forEach( in collectNewIoMetrics()383 mBootIoStats = SparseArrayStream.valueStream(loadNewIoStats()) in doInitServiceIfNeededLocked()531 + SparseArrayStream.valueStream(mIoStatsTracker.getTotal()) in dump()635 return Collections.unmodifiableList(SparseArrayStream.valueStream( in getAggregateIoStats()