/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 164 public static void runWithShellPermissionIdentity(@NonNull ThrowingRunnable runnable) { in runWithShellPermissionIdentity() 172 public static void runWithShellPermissionIdentity(@NonNull ThrowingRunnable runnable, in runWithShellPermissionIdentity() 183 @NonNull UiAutomation automan, @NonNull ThrowingRunnable runnable) { in runWithShellPermissionIdentity() 196 @NonNull ThrowingRunnable runnable, String... permissions) { in runWithShellPermissionIdentity()
|
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 | ThrowingRunnable.java | 21 public interface ThrowingRunnable { interface
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 150 public static void runWithShellPermissionIdentity(@NonNull ThrowingRunnable runnable) { in runWithShellPermissionIdentity() 158 public static void runWithShellPermissionIdentity(@NonNull ThrowingRunnable runnable, in runWithShellPermissionIdentity() 169 @NonNull UiAutomation automan, @NonNull ThrowingRunnable runnable) { in runWithShellPermissionIdentity() 182 @NonNull ThrowingRunnable runnable, String... permissions) { in runWithShellPermissionIdentity()
|
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 | ThrowingRunnable.java | 21 public interface ThrowingRunnable { interface
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | DirectActionsTest.java | 31 import com.android.compatibility.common.util.ThrowingRunnable; 192 boolean detectDirectActionsInvalidated(@NonNull ThrowingRunnable postActionCommand) in detectDirectActionsInvalidated() 201 @Nullable Bundle arguments, @Nullable ThrowingRunnable postActionCommand) in executeCommand() 272 private boolean detectInteractorDestroyed(ThrowingRunnable destroyTrigger) in detectInteractorDestroyed() 293 @Nullable ThrowingRunnable postActionCommand) throws Exception { in executeRemoteCommand()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsUtils.kt | 26 import com.android.compatibility.common.util.ThrowingRunnable 104 fun runWithShellPermissionIdentity(runnable: ThrowingRunnable) { in runWithShellPermissionIdentity()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | PermissionGroupChange.java | 77 private void eventually(ThrowingRunnable runnable, long timeoutSec) throws Throwable { in eventually() 184 private interface ThrowingRunnable { interface in PermissionGroupChange
|
D | LocationAccessCheckTest.java | 164 private interface ThrowingRunnable { interface in LocationAccessCheckTest 175 public static void eventually(@NonNull ThrowingRunnable r, long timeout) throws Throwable { in eventually()
|
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | EncryptionAppTest.java | 395 public interface ThrowingRunnable { interface in EncryptionAppTest 400 Class<? extends Violation> expected, ThrowingRunnable r) throws Exception { in assertViolation() 405 private static void assertNoViolation(StrictMode.VmPolicy policy, ThrowingRunnable r) in assertNoViolation() 411 private static void inspectViolation(StrictMode.VmPolicy policy, ThrowingRunnable violating, in inspectViolation()
|
/cts/tests/tests/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | PermissionUtils.java | 312 public interface ThrowingRunnable extends Runnable { interface in PermissionUtils 331 public static void eventually(@NonNull ThrowingRunnable r) { in eventually()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | StrictModeTest.java | 107 public interface ThrowingRunnable { interface in StrictModeTest 642 private static void assertViolation(String expected, ThrowingRunnable r) throws Exception { in assertViolation() 646 private static void assertNoViolation(ThrowingRunnable r) throws Exception { in assertNoViolation() 652 ThrowingRunnable violating, Consumer<ViolationInfo> consume) throws Exception { in inspectViolation()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | CaptivePortalApiTest.kt | 44 import com.android.compatibility.common.util.ThrowingRunnable 268 runWithShellPermissionIdentity(ThrowingRunnable { ret = task() }, *permissions) in runAsShell()
|
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
D | SafeCleanerRuleTest.java | 61 @Mock private ThrowingRunnable mGoodGuyRunner1; 62 @Mock private ThrowingRunnable mGoodGuyRunner2;
|
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | SafeCleanerRuleTest.java | 61 @Mock private ThrowingRunnable mGoodGuyRunner1; 62 @Mock private ThrowingRunnable mGoodGuyRunner2;
|
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/ |
D | AppBindingHostTest.java | 55 private interface ThrowingRunnable { interface in AppBindingHostTest 178 private void runWithRetries(int timeoutSeconds, ThrowingRunnable r) throws Throwable { in runWithRetries()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistTestBase.java | 50 import com.android.compatibility.common.util.ThrowingRunnable; 603 protected void eventuallyWithSessionClose(@NonNull ThrowingRunnable runnable) throws Throwable { in eventuallyWithSessionClose()
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 57 import com.android.compatibility.common.util.ThrowingRunnable; 548 private void assertOnRoleHoldersChangedListenerIsNotified(@NonNull ThrowingRunnable runnable) in assertOnRoleHoldersChangedListenerIsNotified()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | WindowInsetsBehaviorTests.java | 65 import com.android.compatibility.common.util.ThrowingRunnable; 871 private static void doInExclusionLimitSession(ThrowingRunnable task) throws Throwable { in doInExclusionLimitSession()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | RestrictedPermissionsTest.java | 45 import android.permission.cts.PermissionUtils.ThrowingRunnable; 1153 private static void runWithShellPermissionIdentity(@NonNull ThrowingRunnable command) in runWithShellPermissionIdentity()
|