Home
last modified time | relevance | path

Searched refs:uncheckExceptions (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/
DFunctionUtilsTest.java50 Consumer<Boolean> c = FunctionalUtils.uncheckExceptions(tc); in testUncheckedExceptionsThrowningConsumer()
66 Function<Boolean, Integer> f = FunctionalUtils.uncheckExceptions(tf); in testUncheckedExceptionsThrowningFunction()
79 Runnable r = FunctionalUtils.uncheckExceptions(tr); in testUncheckedExceptionsThrowningRunnable()
93 BiConsumer<Boolean, Boolean> bc = FunctionalUtils.uncheckExceptions(tbc); in testUncheckedExceptionsThrowningBiConsumer()
106 Supplier<Integer> s = FunctionalUtils.uncheckExceptions(ts); in testUncheckedExceptionsThrowingSupplier()
115 Supplier<Integer> s2 = FunctionalUtils.uncheckExceptions(ts); in testUncheckedExceptionsThrowingSupplier()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DFunctionalUtils.java41 public static <T> Consumer<T> uncheckExceptions(ThrowingConsumer<T> action) { in uncheckExceptions() method in FunctionalUtils
48 public static <I, O> Function<I, O> uncheckExceptions(ThrowingFunction<I, O> action) { in uncheckExceptions() method in FunctionalUtils
55 public static Runnable uncheckExceptions(ThrowingRunnable action) { in uncheckExceptions() method in FunctionalUtils
62 public static <A, B> BiConsumer<A, B> uncheckExceptions(ThrowingBiConsumer<A, B> action) { in uncheckExceptions() method in FunctionalUtils
69 public static <T> Supplier<T> uncheckExceptions(ThrowingSupplier<T> action) { in uncheckExceptions() method in FunctionalUtils