/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | TimeoutTest.java | 68 final Timeout timeout = new Timeout(NAME, 1, 2, 5); in testGetters() local 77 final Timeout timeout = new Timeout(NAME, 1, 2, 5); in testIncrease() local 92 final Timeout timeout = new Timeout(NAME, 1, 2, 5); in testRun_invalidArgs() local 105 final Timeout timeout = new Timeout(mSleeper, NAME, 100, 2, 500); in testRun_successOnFirstAttempt() local 114 final Timeout timeout = new Timeout(mSleeper, NAME, 100, 2, 500); in testRun_successOnSecondAttempt() local 123 final Timeout timeout = new Timeout(mSleeper, NAME, 100, 2, 500); in testRun_allAttemptsFailed() local
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PollingCheck.java | 42 public PollingCheck(long timeout) { in PollingCheck() 46 public PollingCheck(long timeout, String errorMessage) { in PollingCheck() 62 long timeout = mTimeout; in run() local 85 long timeout = mTimeout; in runWaitAndReturnResult() local 104 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check() 136 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor() 137 new PollingCheck(timeout) { in waitFor() argument 145 public static void waitFor(long timeout, BooleanSupplier condition, String errorMessage) { in waitFor() 146 new PollingCheck(timeout, errorMessage) { in waitFor() argument 154 public static <E> E waitFor(long timeout, Supplier<E> supplier, in waitFor()
|
D | Within.java | 38 public Within(long timeout) { in Within() 44 long timeout = mTimeout; in verify() local
|
D | RetryableException.java | 41 public RetryableException(@Nullable Timeout timeout, String msg) { in RetryableException() 46 public RetryableException(@Nullable Timeout timeout, String format, Object...args) { in RetryableException() 51 public RetryableException(@Nullable Timeout timeout, Throwable cause, String format, in RetryableException()
|
D | CtsMockitoUtils.java | 23 public static VerificationMode within(long timeout) { in within()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodVisibilityVerifier.java | 47 private static boolean waitUntilWatermarkBecomesVisible(long timeout, in waitUntilWatermarkBecomesVisible() 91 static void assertIme1Visible(long timeout) { in assertIme1Visible() 101 static void assumeIme1Visible(String message, long timeout) { in assumeIme1Visible() 110 static void assertIme2Visible(long timeout) { in assertIme2Visible()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | InputMethodVisibilityVerifier.java | 58 private static boolean waitUntil(long timeout, @NonNull Predicate<UiAutomation> condition) { in waitUntil() 96 public static void expectImeVisible(long timeout) { in expectImeVisible() 109 public static void expectImeInvisible(long timeout) { in expectImeInvisible()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | InputMethodVisibilityVerifier.java | 58 private static boolean waitUntil(long timeout, @NonNull Predicate<UiAutomation> condition) { in waitUntil() 96 public static void expectImeVisible(long timeout) { in expectImeVisible() 109 public static void expectImeInvisible(long timeout) { in expectImeInvisible()
|
D | WindowFocusStealer.java | 53 public void waitResult(long timeout) throws TimeoutException { in waitResult() 79 public void stealWindowFocus(IBinder parentAppWindowToken, long timeout) in stealWindowFocus() 102 public static WindowFocusStealer connect(Context context, long timeout) in connect()
|
D | MockTestActivityUtil.java | 98 public static AutoCloseable launchSync(boolean instant, long timeout) { in launchSync() 110 public static AutoCloseable launchSync(boolean instant, long timeout, in launchSync() 135 uiDevice.wait(Until.hasObject(activitySelector), timeout); in launchSync() local
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | ServiceConnectionHandler.java | 78 public void waitForConnect(long timeout) { in waitForConnect() 103 public void waitForDisconnect(long timeout) { in waitForDisconnect() 142 public void bind(long timeout) { in bind() 163 public void unbind(long timeout) { in unbind() 185 public void cleanup(long timeout) { in cleanup()
|
/cts/hostsidetests/theme/ |
D | android_device.py | 34 def run_adb_command(self, cmd, timeout=None): argument 45 def wait_for_device(self, timeout=30): argument 48 def wait_for_prop(self, key, value, timeout=30): argument 63 def wait_for_service(self, name, timeout=30): argument 78 def wait_for_boot_complete(self, timeout=60): argument
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/ |
D | EventLogs.java | 75 public E poll(Duration timeout) { in poll() 97 public E waitForEvent(Duration timeout) { in waitForEvent()
|
D | LocalEventQuerier.java | 44 public E poll(Instant earliestLogTime, Duration timeout) { in poll() 53 public E poll(Instant earliestLogTime, Duration timeout, int skip) { in poll()
|
D | EventQuerier.java | 31 E poll(Instant earliestLogTime, Duration timeout); in poll()
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | BusyWaitUtils.java | 56 public static void pollingCheck(PollingCondition condition, long timeout, String message) in pollingCheck() 71 static boolean waitFor(PollingCondition condition, long timeout) throws Exception { in waitFor()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | VoidRetry.java | 39 public VoidRetry timeout(Duration timeout) { in timeout() method in VoidRetry
|
D | Retry.java | 60 public Retry<E> timeout(Duration timeout) { in timeout() method in Retry
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/ |
D | TimeoutResetActivity.java | 59 private static void setUserActivityTimeout(WindowManager.LayoutParams params, long timeout) { in setUserActivityTimeout() 101 long timeout = getIntent().getLongExtra(EXTRA_OLD_TIMEOUT, FALLBACK_TIMEOUT); in onCreate() local
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BluetoothRestrictionTest.java | 168 final long timeout = SystemClock.elapsedRealtime() + DISABLE_TIMEOUT_MS; in assertDisabledAfterTimeout() local 188 final long timeout = SystemClock.elapsedRealtime() + COMPONENT_STATE_TIMEOUT_MS; in assertComponentStateAfterTimeout() local 229 final long timeout = SystemClock.elapsedRealtime() + ENABLE_TIMEOUT_MS; in assertEnabledAfterTimeout() local
|
/cts/tests/tests/database/src/android/database/cts/ |
D | ContentObserverTest.java | 54 final long timeout = 1000L; in testContentObserver() local 98 final long timeout = 1000L; in testContentObserverWithUri() local 196 protected synchronized boolean hasChanged(long timeout) throws InterruptedException { in hasChanged() 246 protected synchronized boolean hasChanged(long timeout) throws InterruptedException { in hasChanged()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeEventStreamTestUtils.java | 82 @NonNull Predicate<ImeEvent> condition, long timeout) throws TimeoutException { in expectEvent() 103 @NonNull Predicate<ImeEvent> condition, EventFilterMode filterMode, long timeout) in expectEvent()
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsSyncAdapter.java | 80 final long timeout = SystemClock.elapsedRealtime() + (TIMEOUT_SECONDS * 1000); in waitUntilSyncCount() local 118 final long timeout = SystemClock.elapsedRealtime() + (TIMEOUT_SECONDS * 1000); in cancelPendingSyncs() local
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | UiBot.java | 437 public UiObject2 assertShownByText(String text, Timeout timeout) throws Exception { in assertShownByText() 510 public UiObject2 assertShownByRelativeId(String id, Timeout timeout) throws Exception { in assertShownByRelativeId() 522 public void assertGoneByRelativeId(@NonNull String id, @NonNull Timeout timeout) { in assertGoneByRelativeId() 526 public void assertGoneByRelativeId(int resId, @NonNull Timeout timeout) { in assertGoneByRelativeId() 541 @NonNull Timeout timeout) { in assertGoneByRelativeId() 558 public void assertNeverShownByRelativeId(@NonNull String description, int resId, long timeout) in assertNeverShownByRelativeId() 567 protected void assertNeverShown(String description, BySelector selector, long timeout) in assertNeverShown() 609 public UiObject2 assertSaveShowing(Timeout timeout, int type) throws Exception { in assertSaveShowing() 686 public UiObject2 assertSaveShowing(String description, Timeout timeout, int... types) in assertSaveShowing() 704 String description, Timeout timeout, int... types) throws Exception { in assertSaveOrUpdateShowing() [all …]
|
/cts/tests/app/app/src/android/app/stubs/ |
D | MockService.java | 88 public static boolean waitForStart(long timeout) { in waitForStart() 110 public static boolean waitForDestroy(long timeout) { in waitForDestroy()
|