/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | InstallPreVerifiedDomainsTest.kt | 31 import org.junit.function.ThrowingRunnable 58 ThrowingRunnable { in testSetPreVerifiedDomainsWithoutPermission() 72 ThrowingRunnable { in testSetPreVerifiedDomainsAfterSessionCommit() 88 ThrowingRunnable { in testSetPreVerifiedDomainsNotInstantAppInstaller() 97 ThrowingRunnable { in testSetPreVerifiedDomainsNotInstantAppInstaller()
|
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/ |
D | ShellPermissionUtils.java | 30 import com.android.compatibility.common.util.ThrowingRunnable; 51 public static void runWithShellPermissionIdentity(ThrowingRunnable throwingRunnable) { in runWithShellPermissionIdentity() 97 public static void runWithShellPermissionIdentity(ThrowingRunnable throwingRunnable, in runWithShellPermissionIdentity() 109 public static void runWithShellPermissionIdentity(ThrowingRunnable throwingRunnable, in runWithShellPermissionIdentity()
|
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/ |
D | SystemUtil.java | 35 @NonNull ThrowingRunnable runnable, String... permissions) { in runWithShellPermissionIdentity() 51 @NonNull ThrowingRunnable runnable, in runWithShellPermissionIdentity()
|
D | ThrowingRunnable.java | 20 public interface ThrowingRunnable { interface
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | DeviceStateUtils.java | 30 import com.android.compatibility.common.util.ThrowingRunnable; 40 public static void runWithControlDeviceStatePermission(@NonNull ThrowingRunnable runnable) in runWithControlDeviceStatePermission()
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/wifi/ |
D | CarWifiManagerPermissionTest.java | 33 import org.junit.function.ThrowingRunnable; 57 private void expectPermissionException(String permission, ThrowingRunnable runnable) { in expectPermissionException()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/ |
D | WindowManagerReflectionTests.java | 25 import org.junit.function.ThrowingRunnable; 69 private void runAndUnwrapTargetException(ThrowingRunnable r) throws Throwable { in runAndUnwrapTargetException()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 251 public static void runWithShellPermissionIdentity(@NonNull ThrowingRunnable runnable) { in runWithShellPermissionIdentity() 259 public static void runWithShellPermissionIdentity(@NonNull ThrowingRunnable runnable, in runWithShellPermissionIdentity() 270 @NonNull UiAutomation automan, @NonNull ThrowingRunnable runnable) { in runWithShellPermissionIdentity() 283 @NonNull ThrowingRunnable runnable, String... permissions) { in runWithShellPermissionIdentity() 331 public static void eventually(@NonNull ThrowingRunnable r) { in eventually() 342 public static void eventually(@NonNull ThrowingRunnable r, long timeoutMillis) { in eventually()
|
D | ThrowingRunnable.java | 21 public interface ThrowingRunnable { interface
|
D | SafeCleanerRule.java | 43 private final List<ThrowingRunnable> mCleaners = new ArrayList<>(); 51 public SafeCleanerRule run(@NonNull ThrowingRunnable cleaner) { in run() 99 for (ThrowingRunnable runner : mCleaners) { in apply()
|
D | CarrierPrivilegeUtils.java | 302 public static void withCarrierPrivileges(Context c, int subId, ThrowingRunnable action) in withCarrierPrivileges() 328 public static void withCarrierPrivilegesForShell(Context c, int subId, ThrowingRunnable action) in withCarrierPrivilegesForShell() 375 public static void asCarrierService(Context c, int subId, ThrowingRunnable action) in asCarrierService() 404 public static void asCarrierServiceForShell(Context c, int subId, ThrowingRunnable action) in asCarrierServiceForShell()
|
D | ExceptionUtils.java | 96 Function<Throwable, Throwable> exceptionTransformer, ThrowingRunnable action) { in wrappingExceptions()
|
D | MatcherUtils.java | 117 Matcher<? super Throwable> exceptionCond, ThrowingRunnable action) {
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ThrowingRunnable.java | 21 public interface ThrowingRunnable { interface
|
D | MatcherUtils.java | 99 Matcher<? super Throwable> exceptionCond, ThrowingRunnable action) {
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | RenouncedPermissionsTest.kt | 40 import org.junit.function.ThrowingRunnable 65 ThrowingRunnable { in testRenouncePermissionsChain() 72 ThrowingRunnable { in testRenouncePermissionsChain()
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/watchdog/ |
D | CarWatchdogManagerPermissionTest.java | 38 import org.junit.function.ThrowingRunnable; 200 private void expectPermissionException(String permission, ThrowingRunnable runnable) { in expectPermissionException() 205 private void expectPermissionException(List<String> permissions, ThrowingRunnable runnable) { in expectPermissionException()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/ |
D | VoiceInteractionSessionControl.java | 30 import com.android.compatibility.common.util.ThrowingRunnable; 77 @Nullable Bundle arguments, @Nullable ThrowingRunnable postActionCommand) in executeCommand()
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | BaseHostTestCase.java | 61 protected static void eventually(ThrowingRunnable r, long timeoutMillis) { in eventually() 125 protected interface ThrowingRunnable { interface in BaseHostTestCase
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | UserActionCallback.java | 150 public void runAndUnregisterSelf(ThrowingRunnable runnable) throws Exception { in runAndUnregisterSelf() 169 interface ThrowingRunnable { interface in UserActionCallback
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | DirectActionsTest.java | 38 import com.android.compatibility.common.util.ThrowingRunnable; 215 boolean detectDirectActionsInvalidated(@NonNull ThrowingRunnable postActionCommand) in detectDirectActionsInvalidated() 265 private boolean detectInteractorDestroyed(ThrowingRunnable destroyTrigger) in detectInteractorDestroyed() 299 @Nullable ThrowingRunnable postActionCommand) throws Exception { in executeRemoteCommand()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/ |
D | BaseHostTestCase.java | 101 protected static void eventually(ThrowingRunnable r, long timeoutMillis) { in eventually() 156 protected interface ThrowingRunnable { interface in BaseHostTestCase
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | ChannelSoundingParamsTest.java | 54 import org.junit.function.ThrowingRunnable; 160 private void enforceConnectAndPrivileged(ThrowingRunnable runnable) { in enforceConnectAndPrivileged()
|
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | EncryptionAppTest.java | 484 public interface ThrowingRunnable { interface in EncryptionAppTest 489 Class<? extends Violation> expected, ThrowingRunnable r) throws Exception { in assertViolation() 494 private static void assertNoViolation(StrictMode.VmPolicy policy, ThrowingRunnable r) in assertNoViolation() 500 private static void inspectViolation(StrictMode.VmPolicy policy, ThrowingRunnable violating, in inspectViolation()
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperManagerTestUtils.java | 32 import com.android.compatibility.common.util.ThrowingRunnable; 72 ThrowingRunnable runnable) { in runAndAwaitChanges() 105 ThrowingRunnable runnable) { in runAndAwaitColorChanges()
|