Home
last modified time | relevance | path

Searched refs:ThrowingConsumer (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DFunctionalUtils.java35 public static <T> Consumer<T> uncheckExceptions(ThrowingConsumer<T> action) { in uncheckExceptions()
100 public interface ThrowingConsumer<T> extends Consumer<T> {
DCollectionUtils.java24 import com.android.internal.util.FunctionalUtils.ThrowingConsumer;
310 public static <T> void forEach(@Nullable Set<T> cur, @Nullable ThrowingConsumer<T> action) { in forEach()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java4282 private interface ThrowingConsumer<T> { interface in ConnectivityServiceTest
4287 private void runTestWithSerialExecutors(ThrowingConsumer<Executor> functor) throws Exception { in runTestWithSerialExecutors()