Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/
DFunctionUtilsTest.java28 import com.android.car.internal.util.FunctionalUtils.ThrowingConsumer;
45 ThrowingConsumer<Boolean> tc = (Boolean error) -> { in testUncheckedExceptionsThrowningConsumer()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DFunctionalUtils.java41 public static <T> Consumer<T> uncheckExceptions(ThrowingConsumer<T> action) { in uncheckExceptions()
149 public interface ThrowingConsumer<T> extends Consumer<T> {
/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/testutils/
DFunctionalUtils.java30 public interface ThrowingConsumer<T> { interface in FunctionalUtils
/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java49 import com.android.car.internal.util.FunctionalUtils.ThrowingConsumer;
241 int packetLength, ThrowingConsumer<IVmsClientCallback> callbackConsumer) { in deliverToSubscribers()
/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
DNsdManagerTest.java50 import com.android.testutils.FunctionalUtils.ThrowingConsumer;
765 int getRequestKey(ThrowingConsumer<ArgumentCaptor<Integer>> verifier) in getRequestKey()
773 ThrowingConsumer<ArgumentCaptor<AdvertisingRequest>> verifier) throws Exception { in getAdvertisingRequest()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java945 ThrowingConsumer<Record> inserter, String packageName, int dataCategory) in setupAggregation()
1409 public interface ThrowingConsumer<T> extends Consumer<T> { interface
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java3382 private interface ThrowingConsumer<S, T extends Throwable> {
3387 @NonNull ThrowingConsumer<NetworkStatsProviderCallbackImpl, RemoteException> task) {
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java437 import com.android.testutils.FunctionalUtils.ThrowingConsumer;
7097 private void runTestWithSerialExecutors(ThrowingConsumer<Executor> functor)