Searched refs:ThrowingSupplier (Results 1 – 9 of 9) sorted by relevance
25 public interface ThrowingSupplier<T> { interface
77 Function<Throwable, Throwable> exceptionTransformer, ThrowingSupplier<R> action) { in wrappingExceptions()
229 public static <T> T runWithShellPermissionIdentity(@NonNull ThrowingSupplier<T> supplier) { in runWithShellPermissionIdentity()240 public static <T> T runWithShellPermissionIdentity(@NonNull ThrowingSupplier<T> supplier, in runWithShellPermissionIdentity()
33 import com.android.compatibility.common.util.ThrowingSupplier123 runWithShellPermissionIdentity(ThrowingSupplier { in isRoleVisible()
37 import com.android.compatibility.common.util.ThrowingSupplier in <lambda>()125 return SystemUtil.runWithShellPermissionIdentity(ThrowingSupplier { in <lambda>()
21 import static com.android.internal.util.FunctionalUtils.ThrowingSupplier;196 public static <R> R withCarrierPrivileges(Context c, int subId, ThrowingSupplier<R> action) in withCarrierPrivileges()
41 import com.android.compatibility.common.util.ThrowingSupplier in <lambda>()126 val oldValue = runWithShellPermissionIdentity(ThrowingSupplier { in withDeviceConfig()
47 import com.android.compatibility.common.util.ThrowingSupplier in <lambda>()97 return runWithShellPermissionIdentity(ThrowingSupplier { in <lambda>()
147 import com.android.compatibility.common.util.ThrowingSupplier;3116 private <T> T uncheck(ThrowingSupplier<T> supplier) { in uncheck()