Home
last modified time | relevance | path

Searched defs:supplier (Results 1 – 21 of 21) sorted by relevance

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DRetry.java49 public static <E> Retry<E> logic(Poll.ValueSupplier<E> supplier) { in logic()
60 private Retry(Poll.ValueSupplier<E> supplier) { in Retry()
DPoll.java77 private Poll(String valueName, ValueSupplier<E> supplier) { in Poll()
89 public static <E> Poll<E> forValue(ValueSupplier<E> supplier) { in forValue()
98 public static <E> Poll<E> forValue(String valueName, ValueSupplier<E> supplier) { in forValue()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/settings/
DAutoCloseableRule.java17 public AutoCloseableRule(Supplier<AutoCloseable> supplier) { in AutoCloseableRule()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMultiUserUtils.java59 @NonNull ThrowingSupplier<T> supplier, String... permissions) { in runWithShellPermissionIdentity()
79 @NonNull ThrowingSupplier<T> supplier) { in runWithShellPermissionIdentity()
DImeEventStream.java50 ImeEventStream(@NonNull Supplier<ImeEventArray> supplier) { in ImeEventStream()
54 private ImeEventStream(@NonNull Supplier<ImeEventArray> supplier, int position) { in ImeEventStream()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPollingCheck.java84 public <E> E runWaitAndReturnResult(Supplier<E> supplier, Function<E, Boolean> condition) { in runWaitAndReturnResult()
173 public static <E> E waitFor(long timeout, Supplier<E> supplier, in waitFor()
182 }.runWaitAndReturnResult(supplier, condition); in waitFor() argument
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()
DShellIdentityUtils.java362 public static <T> T invokeWithShellPermissions(Supplier<T> supplier) { in invokeWithShellPermissions()
/cts/tests/inputmethod/mocka11yime/client/src/com/android/cts/mocka11yime/
DMockA11yImeEventStream.java44 MockA11yImeEventStream(@NonNull Supplier<EventArray> supplier) { in MockA11yImeEventStream()
48 private MockA11yImeEventStream(@NonNull Supplier<EventArray> supplier, int position) { in MockA11yImeEventStream()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackUtils.java202 Supplier<List<RollbackInfo>> supplier, String packageName) throws InterruptedException { in waitForRollbackGone()
207 private static <T> T retry(Supplier<T> supplier, Predicate<T> predicate, String message) in retry()
/cts/tests/inputmethod/mocka11yime/service/src/com/android/cts/mocka11yime/
DMockA11yIme.java383 @NonNull Supplier<T> supplier) { in recordEventInternal()
388 @NonNull Supplier<T> supplier, @NonNull Bundle arguments) { in recordEventInternal()
472 InputMethod onCreateInputMethod(@NonNull Supplier<InputMethod> supplier) { in onCreateInputMethod()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/
DUtils.java96 public static void waitForIdleService(@NonNull SensorStatesSupplier supplier) throws Exception { in waitForIdleService()
117 public static void waitForBusySensor(int sensorId, @NonNull SensorStatesSupplier supplier) in waitForBusySensor()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DCondition.java95 public Condition<T> setResultSupplier(Supplier<T> supplier) { in setResultSupplier()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCondition.java95 public Condition<T> setResultSupplier(Supplier<T> supplier) { in setResultSupplier()
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
DMultiUserMockImeTest.java141 @NonNull ThrowingSupplier<T> supplier, String... permissions) { in runWithShellPermissionIdentity()
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/
DVirtualDeviceRule.java322 public <T> T runWithTemporaryPermission(Supplier<T> supplier, String... permissions) { in runWithTemporaryPermission()
339 public <T> T runWithoutPermissions(Supplier<T> supplier) { in runWithoutPermissions()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java102 private static <T> T retry(Supplier<T> supplier, Predicate<T> predicate, String message) in retry()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecBlockModelHelper.java69 public static Result runThread(Supplier<Result> supplier) throws InterruptedException { in runThread()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeOnlyTest.java449 private void sleepUntil(Supplier<Boolean> supplier, Duration maxWait) throws Exception { in sleepUntil()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java120 public static <T> T getOnMainSync(@NonNull Supplier<T> supplier) { in getOnMainSync()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerTest.java2374 private <T> T uncheck(ThrowingSupplier<T> supplier) { in uncheck()