Searched refs:ThrowingConsumer (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/core/java/com/android/internal/infra/ |
D | RemoteStream.java | 24 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/ |
D | DataStoreUtils.java | 28 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/ |
D | FastDataTest.java | 441 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/ |
D | FunctionalUtils.java | 39 public static <T> Consumer<T> uncheckExceptions(ThrowingConsumer<T> action) { in uncheckExceptions() 141 public interface ThrowingConsumer<T> extends Consumer<T> {
|
D | CollectionUtils.java | 27 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/ |
D | FakeSoundTriggerHal.java | 674 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/ |
D | GameServiceProviderInstanceImplTest.java | 80 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/ |
D | TextClassificationManagerService.java | 66 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/ |
D | UdfpsControllerTest.java | 24 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/ |
D | SensorPrivacyService.java | 1837 private void forAllUsers(FunctionalUtils.ThrowingConsumer<Integer> c) { in forAllUsers()
|
/frameworks/base/services/ |
D | art-wear-profile | 22813 …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/ |
D | preloaded-classes | 13040 com.android.internal.util.FunctionalUtils$ThrowingConsumer
|
D | boot-image-profile.txt | 35482 Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;
|
/frameworks/base/config/ |
D | preloaded-classes | 13071 com.android.internal.util.FunctionalUtils$ThrowingConsumer
|
D | boot-image-profile.txt | 45643 Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 84562 Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;->acceptOrThrow(Ljava/lang/Object;)V 84568 …tils;->uncheckExceptions(Lcom/android/internal/util/FunctionalUtils$ThrowingConsumer;)Ljava/util/f…
|