Home
last modified time | relevance | path

Searched refs:ThrowingSupplier (Results 1 – 9 of 9) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DThrowingSupplier.java25 public interface ThrowingSupplier<T> { interface
DExceptionUtils.java77 Function<Throwable, Throwable> exceptionTransformer, ThrowingSupplier<R> action) { in wrappingExceptions()
DSystemUtil.java229 public static <T> T runWithShellPermissionIdentity(@NonNull ThrowingSupplier<T> supplier) { in runWithShellPermissionIdentity()
240 public static <T> T runWithShellPermissionIdentity(@NonNull ThrowingSupplier<T> supplier, in runWithShellPermissionIdentity()
/cts/tests/tests/role/src/android/app/role/cts/
DRoleControllerManagerTest.kt33 import com.android.compatibility.common.util.ThrowingSupplier
123 runWithShellPermissionIdentity(ThrowingSupplier { in isRoleVisible()
/cts/tests/tests/systemui/src/android/systemui/cts/tv/
DBasicPipTests.kt37 import com.android.compatibility.common.util.ThrowingSupplier in <lambda>()
125 return SystemUtil.runWithShellPermissionIdentity(ThrowingSupplier { in <lambda>()
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DCarrierPrivilegeUtils.java21 import static com.android.internal.util.FunctionalUtils.ThrowingSupplier;
196 public static <R> R withCarrierPrivileges(Context c, int subId, ThrowingSupplier<R> action) in withCarrierPrivileges()
/cts/tests/tests/os/src/android/os/cts/
DAppHibernationUtils.kt41 import com.android.compatibility.common.util.ThrowingSupplier in <lambda>()
126 val oldValue = runWithShellPermissionIdentity(ThrowingSupplier { in withDeviceConfig()
DCompanionDeviceManagerTest.kt47 import com.android.compatibility.common.util.ThrowingSupplier in <lambda>()
97 return runWithShellPermissionIdentity(ThrowingSupplier { in <lambda>()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java147 import com.android.compatibility.common.util.ThrowingSupplier;
3116 private <T> T uncheck(ThrowingSupplier<T> supplier) { in uncheck()