Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/infra/
DRemoteStream.java24 import com.android.internal.util.FunctionalUtils.ThrowingConsumer;
97 ThrowingConsumer<ParcelFileDescriptor> ipc, ThrowingFunction<InputStream, R> read) { in receiveBytes()
114 public static AndroidFuture<byte[]> receiveBytes(ThrowingConsumer<ParcelFileDescriptor> ipc) {
148 ThrowingConsumer<ParcelFileDescriptor> ipc, ThrowingFunction<OutputStream, R> write) {
163 ThrowingConsumer<ParcelFileDescriptor> ipc, ThrowingConsumer<OutputStream> write) {
175 ThrowingConsumer<ParcelFileDescriptor> ipc, byte[] data) {
183 ThrowingConsumer<ParcelFileDescriptor> ipc,
/frameworks/base/services/companion/java/com/android/server/companion/utils/
DDataStoreUtils.java28 import com.android.internal.util.FunctionalUtils.ThrowingConsumer;
86 @NonNull AtomicFile file, @NonNull ThrowingConsumer<FileOutputStream> consumer) { in writeToFileSafely()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DFastDataTest.java441 private void doBounce(@NonNull ThrowingConsumer<FastDataOutput> out, in doBounce()
442 @NonNull ThrowingConsumer<FastDataInput> in) throws Exception { in doBounce()
446 private void doBounce(@NonNull ThrowingConsumer<FastDataOutput> out, in doBounce()
447 @NonNull ThrowingConsumer<FastDataInput> in, int count) throws Exception { in doBounce()
478 public interface ThrowingConsumer<T> extends Consumer<T> { interface in FastDataTest
/frameworks/base/core/java/com/android/internal/util/
DFunctionalUtils.java39 public static <T> Consumer<T> uncheckExceptions(ThrowingConsumer<T> action) { in uncheckExceptions()
141 public interface ThrowingConsumer<T> extends Consumer<T> {
DCollectionUtils.java27 import com.android.internal.util.FunctionalUtils.ThrowingConsumer;
426 public static <T> void forEach(@Nullable Set<T> cur, @Nullable ThrowingConsumer<T> action) { in forEach()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DFakeSoundTriggerHal.java674 private void wrap(FunctionalUtils.ThrowingConsumer<ISoundTriggerHwCallback> command) { in wrap()
693 private void wrap(FunctionalUtils.ThrowingConsumer<ISoundTriggerHwGlobalCallback> command) { in wrap()
714 private void wrap(FunctionalUtils.ThrowingConsumer<ISoundTriggerInjection> command) { in wrap()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderInstanceImplTest.java80 import com.android.internal.util.FunctionalUtils.ThrowingConsumer;
1165 ThrowingConsumer<ITaskStackListener> taskStackListenerConsumer) { in dispatchTaskChangeEvent()
1196 ThrowingConsumer<IProcessObserver> processObserverConsumer) { in dispatchProcessChangedEvent()
1203 ThrowingConsumer<TaskSystemBarsListener> taskSystemBarsListenerConsumer) { in dispatchTaskSystemBarsEvent()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java66 import com.android.internal.util.FunctionalUtils.ThrowingConsumer;
481 @NonNull ThrowingConsumer<ITextClassifierService> textClassifierServiceConsumer, in handleRequest()
545 @NonNull ThrowingConsumer<ITextClassifierService> textClassifierServiceConsumer, in consumeServiceNoExceptLocked()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsControllerTest.java24 import static com.android.internal.util.FunctionalUtils.ThrowingConsumer;
624 private void runWithAllParams(ThrowingConsumer<TestParams> testParamsConsumer) { in runWithAllParams()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java1837 private void forAllUsers(FunctionalUtils.ThrowingConsumer<Integer> c) { in forAllUsers()
/frameworks/base/services/
Dart-wear-profile22813 …eSoundTriggerHal$InjectionDispatcher;Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;)V
22815 …eSoundTriggerHal$InjectionDispatcher;Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;)V
22816 …eSoundTriggerHal$InjectionDispatcher;Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;)V
22819 …$InjectionDispatcher;->lambda$wrap$0(Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;)V
22820 …riggerHal$InjectionDispatcher;->wrap(Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;)V
/frameworks/base/boot/
Dpreloaded-classes13040 com.android.internal.util.FunctionalUtils$ThrowingConsumer
Dboot-image-profile.txt35482 Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;
/frameworks/base/config/
Dpreloaded-classes13071 com.android.internal.util.FunctionalUtils$ThrowingConsumer
Dboot-image-profile.txt45643 Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt84562 Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;->acceptOrThrow(Ljava/lang/Object;)V
84568 …tils;->uncheckExceptions(Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;)Ljava/util/f…