Home
last modified time | relevance | path

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

/frameworks/base/tests/testables/src/android/testing/
DDexmakerShareClassLoaderRule.java65 private static <T extends Throwable> ThrowingRunnable<T> apply(ThrowingRunnable<T> r) { in apply()
69 private static <T extends Throwable> ThrowingRunnable<T> wrapInSetAndClearProperty( in wrapInSetAndClearProperty()
70 ThrowingRunnable<T> r) { in wrapInSetAndClearProperty()
89 private static <T extends Throwable> ThrowingRunnable<T> wrapInMutex(ThrowingRunnable<T> r) { in wrapInMutex()
117 private interface ThrowingRunnable<T extends Throwable> {
124 ThrowingRunnable.this.run();
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledRunnable.java19 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
27 public interface PooledRunnable extends PooledLambda, Runnable, ThrowingRunnable {
DOmniFunction.java19 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
55 PooledSupplier<R>, PooledRunnable, ThrowingRunnable, ThrowingSupplier<R>,
/frameworks/base/core/java/com/android/internal/util/
DFunctionalUtils.java50 public static Runnable handleExceptions(ThrowingRunnable r, Consumer<Throwable> handler) { in handleExceptions()
68 public interface ThrowingRunnable extends Runnable {
/frameworks/base/services/net/java/android/net/
DIpMemoryStoreClient.java54 private interface ThrowingRunnable { interface in IpMemoryStoreClient
58 private void ignoringRemoteException(ThrowingRunnable r) { in ignoringRemoteException()
62 private void ignoringRemoteException(String message, ThrowingRunnable r) { in ignoringRemoteException()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTestUtils.java158 public static void uncheck(ThrowingRunnable runnable) { in uncheck()
195 public interface ThrowingRunnable { interface in TestUtils
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java49 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
380 @NonNull ThrowingRunnable request, @Nullable ThrowingRunnable onServiceFailure, in PendingRequest()
417 private static Runnable logOnFailure(@Nullable ThrowingRunnable r, String opDesc) { in logOnFailure()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/
DRemoteCallTest.java34 import com.android.server.backup.testing.TestUtils.ThrowingRunnable;
263 private static void postDelayed(Handler handler, ThrowingRunnable runnable, long delayMillis) { in postDelayed()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java48 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
260 void binderWithCleanCallingIdentity(@NonNull ThrowingRunnable action) { in binderWithCleanCallingIdentity()
DDpmMockContext.java115 public void withCleanCallingIdentity(@NonNull FunctionalUtils.ThrowingRunnable action) { in withCleanCallingIdentity()
/frameworks/base/core/java/android/os/
DBinder.java30 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
353 public static final void withCleanCallingIdentity(@NonNull ThrowingRunnable action) { in withCleanCallingIdentity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DRcsMessageStoreController.java149 interface ThrowingRunnable { interface in RcsMessageStoreController
153 private void performWriteOperation(String callingPackage, ThrowingRunnable fn) { in performWriteOperation()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java115 import com.android.server.backup.testing.TestUtils.ThrowingRunnable;
2354 private static ConditionVariable runInWorkerThreadAsync(ThrowingRunnable runnable) { in runInWorkerThreadAsync()
2366 private static void runInWorkerThread(ThrowingRunnable runnable) { in runInWorkerThread()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java244 import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
2048 void binderWithCleanCallingIdentity(@NonNull ThrowingRunnable action) { in binderWithCleanCallingIdentity()
/frameworks/base/config/
Dpreloaded-classes5125 com.android.internal.util.FunctionalUtils$ThrowingRunnable
/frameworks/base/services/
Dart-profile13320 …android/internal/util/FunctionalUtils$ThrowingRunnable;Lcom/android/internal/util/FunctionalUtils$