Home
last modified time | relevance | path

Searched refs:FunctionalUtils (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserSwitchWaiter.java26 import com.android.internal.util.FunctionalUtils;
82 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) throws RemoteException { in runThenWaitUntilSwitchCompleted()
90 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) throws RemoteException { in runThenWaitUntilBootCompleted()
DBroadcastWaiter.java30 import com.android.internal.util.FunctionalUtils;
123 public String runThenWaitForBroadcasts(int userId, FunctionalUtils.ThrowingRunnable runnable, in runThenWaitForBroadcasts()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSwitchWaiter.java26 import com.android.internal.util.FunctionalUtils;
82 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) { in runThenWaitUntilSwitchCompleted()
90 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) { in runThenWaitUntilBootCompleted()
DUserLifecycleStressTest.java43 import com.android.internal.util.FunctionalUtils;
296 FunctionalUtils.ThrowingRunnable runnable) { in runWithBlockingBroadcastReceiver()
314 FunctionalUtils.RemoteExceptionIgnoringConsumer<CountDownLatch> consumer) in runWithLatch()
DCrossProfileAppsServiceImplTest.java52 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
53 import com.android.internal.util.FunctionalUtils.ThrowingSupplier;
/frameworks/base/apex/jobscheduler/service/
Djarjar-rules.txt13 rule com.android.internal.util.FunctionalUtils* com.android.internal.util.jobs.FunctionalUtils@1
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledRunnable.java21 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
DPooledSupplier.java19 import com.android.internal.util.FunctionalUtils.ThrowingSupplier;
DOmniFunction.java19 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
20 import com.android.internal.util.FunctionalUtils.ThrowingSupplier;
DPooledLambdaImpl.java27 import com.android.internal.util.FunctionalUtils;
652 return FunctionalUtils.getLambdaName(mFunc); in getTraceName()
/frameworks/base/core/java/com/android/internal/infra/
DRemoteStream.java24 import com.android.internal.util.FunctionalUtils.ThrowingConsumer;
25 import com.android.internal.util.FunctionalUtils.ThrowingFunction;
/frameworks/base/core/java/com/android/internal/util/
DFunctionalUtils.java32 public class FunctionalUtils { class
33 private FunctionalUtils() {} in FunctionalUtils() method in FunctionalUtils
/frameworks/base/core/java/android/accessibilityservice/
DBrailleDisplayControllerImpl.java33 import com.android.internal.util.FunctionalUtils;
136 FunctionalUtils.RemoteExceptionIgnoringConsumer<IAccessibilityServiceConnection> in connect()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DFakeSoundTriggerHal.java49 import com.android.internal.util.FunctionalUtils;
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/companion/java/com/android/server/companion/utils/
DDataStoreUtils.java28 import com.android.internal.util.FunctionalUtils.ThrowingConsumer;
/frameworks/base/telephony/java/android/telephony/data/
DQualifiedNetworksService.java45 import com.android.internal.util.FunctionalUtils;
334 FunctionalUtils.ignoreRemoteException(data.mCallback::accept) in onRequestNetworkValidation()
DDataService.java44 import com.android.internal.util.FunctionalUtils;
747 FunctionalUtils in handleMessage()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java65 import com.android.internal.util.FunctionalUtils;
66 import com.android.internal.util.FunctionalUtils.ThrowingConsumer;
67 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
638 return FunctionalUtils.handleExceptions(r, in logOnFailure()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java42 import com.android.internal.util.FunctionalUtils;
118 public void withCleanCallingIdentity(@NonNull FunctionalUtils.ThrowingRunnable action) { in withCleanCallingIdentity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteController.java130 import com.android.internal.util.FunctionalUtils;
1508 Consumer<Integer> result = FunctionalUtils.ignoreRemoteException(callback::accept); in requestSatelliteEnabled()
1742 Consumer<Integer> result = FunctionalUtils.ignoreRemoteException(errorCallback::accept); in startSatelliteTransmissionUpdates()
1766 Consumer<Integer> result = FunctionalUtils.ignoreRemoteException(errorCallback::accept); in stopSatelliteTransmissionUpdates()
1799 Consumer<Integer> result = FunctionalUtils.ignoreRemoteException(callback::accept); in provisionSatelliteService()
1845 Consumer<Integer> result = FunctionalUtils.ignoreRemoteException(callback::accept); in deprovisionSatelliteService()
2033 Consumer<Integer> result = FunctionalUtils.ignoreRemoteException(callback::accept); in pollPendingDatagrams()
2066 Consumer<Integer> result = FunctionalUtils.ignoreRemoteException(callback::accept); in sendDatagram()
2134 Consumer<Integer> result = FunctionalUtils.ignoreRemoteException(callback::accept); in addAttachRestrictionForCarrier()
2173 Consumer<Integer> result = FunctionalUtils.ignoreRemoteException(callback::accept); in removeAttachRestrictionForCarrier()
[all …]
DDatagramReceiver.java59 import com.android.internal.util.FunctionalUtils;
389 Consumer<Integer> callback = FunctionalUtils.ignoreRemoteException( in handleMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DAccessNetworksManager.java59 import com.android.internal.util.FunctionalUtils;
328 FunctionalUtils.ignoreRemoteException(resultCodeCallback::accept) in onNetworkValidationRequested()
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java59 import com.android.internal.util.FunctionalUtils;
571 FunctionalUtils.RemoteExceptionIgnoringConsumer<RemoteViews> action, in tryAdapterConversion()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java52 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
53 import com.android.internal.util.FunctionalUtils.ThrowingSupplier;
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java62 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
63 import com.android.internal.util.FunctionalUtils.ThrowingSupplier;

123