/frameworks/base/tests/testables/src/android/testing/ |
D | DexmakerShareClassLoaderRule.java | 71 private static <T extends Throwable> ThrowingRunnable<T> apply(ThrowingRunnable<T> r) { in apply() 75 private static <T extends Throwable> ThrowingRunnable<T> wrapInSetAndClearProperty( in wrapInSetAndClearProperty() 76 ThrowingRunnable<T> r) { in wrapInSetAndClearProperty() 95 private static <T extends Throwable> ThrowingRunnable<T> wrapInMutex(ThrowingRunnable<T> r) { in wrapInMutex() 123 private interface ThrowingRunnable<T extends Throwable> { 130 ThrowingRunnable.this.run();
|
/frameworks/base/tests/net/java/com/android/server/ |
D | NetIdManagerTest.kt | 22 import com.android.testutils.ExceptionUtils.ThrowingRunnable 45 assertThrows(IllegalStateException::class.java, ThrowingRunnable { manager.reserveNetId() }) in testReserveReleaseNetId() 48 assertThrows(IllegalStateException::class.java, ThrowingRunnable { manager.reserveNetId() }) in testReserveReleaseNetId()
|
/frameworks/base/core/java/com/android/internal/util/function/pooled/ |
D | PooledRunnable.java | 21 import com.android.internal.util.FunctionalUtils.ThrowingRunnable; 30 extends PooledLambda, Runnable, ThrowingRunnable, TraceNameSupplier {
|
D | OmniFunction.java | 19 import com.android.internal.util.FunctionalUtils.ThrowingRunnable; 66 QuintPredicate<A, B, C, D, E>, PooledSupplier<R>, PooledRunnable, ThrowingRunnable,
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FunctionalUtils.java | 53 public static Runnable uncheckExceptions(ThrowingRunnable action) { in uncheckExceptions() 82 public static Runnable handleExceptions(ThrowingRunnable r, Consumer<Throwable> handler) { in handleExceptions() 100 public interface ThrowingRunnable extends Runnable {
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | TestUtils.java | 158 public static void uncheck(ThrowingRunnable runnable) { in uncheck() 195 public interface ThrowingRunnable { interface in TestUtils
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/ |
D | RemoteCallTest.java | 34 import com.android.server.backup.testing.TestUtils.ThrowingRunnable; 263 private static void postDelayed(Handler handler, ThrowingRunnable runnable, long delayMillis) { in postDelayed()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | AtomicFileTest.java | 280 @NonNull ThrowingRunnable runnable) { in assertThrows() 299 private interface ThrowingRunnable { interface in AtomicFileTest
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceTestable.java | 49 import com.android.internal.util.FunctionalUtils.ThrowingRunnable; 280 void binderWithCleanCallingIdentity(@NonNull ThrowingRunnable action) { in binderWithCleanCallingIdentity()
|
D | DpmMockContext.java | 115 public void withCleanCallingIdentity(@NonNull FunctionalUtils.ThrowingRunnable action) { in withCleanCallingIdentity()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 65 import com.android.internal.util.FunctionalUtils.ThrowingRunnable; 516 @NonNull ThrowingRunnable request, @Nullable ThrowingRunnable onServiceFailure, in PendingRequest() 555 private static Runnable logOnFailure(@Nullable ThrowingRunnable r, String opDesc) { in logOnFailure()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 61 import com.android.internal.util.FunctionalUtils.ThrowingRunnable; 768 public void withCleanCallingIdentity(ThrowingRunnable action) { 851 void withCleanCallingIdentity(ThrowingRunnable action);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 41 import com.android.internal.util.FunctionalUtils.ThrowingRunnable; 638 public void withCleanCallingIdentity(ThrowingRunnable action) { in withCleanCallingIdentity()
|
/frameworks/base/core/java/android/os/ |
D | Binder.java | 31 import com.android.internal.util.FunctionalUtils.ThrowingRunnable; 377 public static final void withCleanCallingIdentity(@NonNull ThrowingRunnable action) { in withCleanCallingIdentity()
|
/frameworks/base/services/robotests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplRoboTest.java | 60 import com.android.internal.util.FunctionalUtils.ThrowingRunnable; 679 public void withCleanCallingIdentity(ThrowingRunnable action) { in withCleanCallingIdentity()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 114 import com.android.server.backup.testing.TestUtils.ThrowingRunnable; 2434 private static ConditionVariable runInWorkerThreadAsync(ThrowingRunnable runnable) { in runInWorkerThreadAsync() 2446 private static void runInWorkerThread(ThrowingRunnable runnable) { in runInWorkerThread()
|
/frameworks/base/config/ |
D | preloaded-classes | 9318 com.android.internal.util.FunctionalUtils$ThrowingRunnable
|
D | boot-image-profile.txt | 15045 …os/Binder;->withCleanCallingIdentity(Lcom/android/internal/util/FunctionalUtils$ThrowingRunnable;)V 29963 HPLcom/android/internal/util/FunctionalUtils$ThrowingRunnable;->run()V 29965 …ambda$handleExceptions$0(Lcom/android/internal/util/FunctionalUtils$ThrowingRunnable;Ljava/util/fu… 50433 Lcom/android/internal/util/FunctionalUtils$ThrowingRunnable;
|
/frameworks/base/services/ |
D | art-profile | 477 …/IpMemoryStoreClient;->ignoringRemoteException(Landroid/net/IpMemoryStoreClient$ThrowingRunnable;)V 478 …nt;->ignoringRemoteException(Ljava/lang/String;Landroid/net/IpMemoryStoreClient$ThrowingRunnable;)V 13976 …tor;->binderWithCleanCallingIdentity(Lcom/android/internal/util/FunctionalUtils$ThrowingRunnable;)V 23838 …ectorImpl;->withCleanCallingIdentity(Lcom/android/internal/util/FunctionalUtils$ThrowingRunnable;)V 31226 …android/internal/util/FunctionalUtils$ThrowingRunnable;Lcom/android/internal/util/FunctionalUtils$… 31288 …agerService;->access$700(Lcom/android/internal/util/FunctionalUtils$ThrowingRunnable;Ljava/lang/St… 31304 …erService;->logOnFailure(Lcom/android/internal/util/FunctionalUtils$ThrowingRunnable;Ljava/lang/St… 40514 Landroid/net/IpMemoryStoreClient$ThrowingRunnable;
|