/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodServiceDeviceTest.java | 79 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(20); field in InputMethodServiceDeviceTest 96 TIMEOUT, "CtsInputMethod1.onCreate is called"); in testCreateIme1() local 100 TIMEOUT, "CtsInputMethod1.onStartInput is called"); in testCreateIme1() local 115 TIMEOUT, "CtsInputMethod1.onStartInput is called"); in testSwitchToNextInputMethod() local 120 TIMEOUT, "CtsInputMethod1 is current IME"); in testSwitchToNextInputMethod() local 126 TIMEOUT, "CtsInputMethod1 shouldn't be current IME"); in testSwitchToNextInputMethod() local 145 TIMEOUT, "CtsInputMethod2.onStartInput is called"); in switchToPreviousInputMethod() local 151 TIMEOUT, initialIme + " is current IME"); in switchToPreviousInputMethod() local 169 TIMEOUT, "CtsInputMethod1.onStartInput is called"); in testSwitchToHandwritingInputMethod() local 198 TIMEOUT, "CtsInputMethod2 is current IME"); in testSwitchToHandwritingInputMethod() local [all …]
|
D | InputMethodManagerDeviceTest.java | 51 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodManagerDeviceTest 93 TIMEOUT, "Ime1 must be the current IME. Found " in testIme1InCurrentInputMethodInfo() local 120 TIMEOUT, "Ime2 must be the current IME. Found " in testIme2InCurrentInputMethodInfo() local 227 TIMEOUT, "Implicitly enabled Subtype must exist for IME1."); in testIme1ImplicitlyEnabledSubtypeExists() local 257 pollingCheck(() -> mImm.isStylusHandwritingAvailable(), TIMEOUT, in testIsStylusHandwritingAvailableForProfile() local
|
D | ShellCommandDeviceTest.java | 36 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in ShellCommandDeviceTest
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodPickerTest.java | 62 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodPickerTest 99 waitOnMainUntil(() -> isInputMethodPickerShown(mImManager), TIMEOUT, in testInputMethodPicker_hidesUntrustedOverlays() local 122 waitOnMainUntil(() -> isInputMethodPickerShown(mImManager), TIMEOUT, in testShowInputMethodPicker_noDismissWhenOverlayPopup() local 158 waitOnMainUntil(() -> isInputMethodPickerShown(im), TIMEOUT, in testShowImePickerOnExternalDisplay() local 168 waitOnMainUntil(() -> !isInputMethodPickerShown(mImManager), TIMEOUT, in closeSystemDialogsAndWait() local
|
D | InputMethodManagerTest.java | 91 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodManagerTest 171 waitOnMainUntil(() -> mImManager.hasActiveInputConnection(focusedEditText), TIMEOUT); in testIsActive() local 275 waitOnMainUntil(() -> !isInputMethodPickerShown(mImManager), TIMEOUT, in testShowInputMethodPicker() local 280 waitOnMainUntil(() -> isInputMethodPickerShown(mImManager), TIMEOUT, in testShowInputMethodPicker() local 303 waitOnMainUntil(() -> !isInputMethodPickerShown(mImManager), TIMEOUT, in testShowInputMethodPicker() local
|
D | FocusHandlingTest.java | 129 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in FocusHandlingTest 367 TestUtils.waitOnMainUntil(() -> layoutRef.get().hasWindowFocus(), TIMEOUT); in testDelayedAddEditorStartsInput() local 501 () -> TextUtils.equals(editText.getText(), "test commit"), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() local 521 TestUtils.waitOnMainUntil(() -> !editText.hasWindowFocus(), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() local 527 () -> TextUtils.equals(editText.getText(), "Hello!"), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() local 549 () -> TextUtils.equals(editText.getText(), "World!"), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() local 562 () -> TextUtils.equals(editText.getText(), "Done!"), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() local 651 WindowFocusStealer.connect(instrumentation.getTargetContext(), TIMEOUT)) { in testRestartInputWhileOtherProcessHasWindowFocus() argument 656 TestUtils.waitOnMainUntil(() -> !editText.hasWindowFocus(), TIMEOUT); in testRestartInputWhileOtherProcessHasWindowFocus() local 674 () -> TextUtils.equals(editText.getText(), "test commit"), TIMEOUT); in testRestartInputWhileOtherProcessHasWindowFocus() local [all …]
|
D | ExtractViewTest.java | 59 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in ExtractViewTest 108 () -> assertThat(editText.getText().toString()).isEqualTo(text), TIMEOUT); in testOnCreateExtractTextView() local 144 () -> assertThat(editText.getText().toString()).isEqualTo(text), TIMEOUT); in testOnCreateExtractTextViewWithCustomView() local 182 () -> assertThat(editText.getText().toString()).isEqualTo(text), TIMEOUT); in testSetExtractView() local
|
D | ImeInsetsVisibilityTest.java | 85 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in ImeInsetsVisibilityTest 134 TIMEOUT, "Ime insets should be visible"); in testImeVisibilityWhenImeFocusableChildPopup() local 183 TIMEOUT, "Ime insets should be visible"); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() local 232 TIMEOUT, "Ime insets should be visible"); in testImeVisibilityWhenImeFocusableChildPopupOverlaps() local 298 TIMEOUT, "InputMethod picker should be shown"); in testEditTextPositionAndPersistWhenAboveImeWindowShown() local 309 TestUtils.waitOnMainUntil(() -> !isInputMethodPickerShown(imm), TIMEOUT, in testEditTextPositionAndPersistWhenAboveImeWindowShown() local 384 WindowInsets.Type.ime()), TIMEOUT, "The panel should receive IME insets"); in testEditorWontCoveredByImeWhenInputWindowBehindPanel() local 387 TIMEOUT, "The editor should be shown and visible"); in testEditorWontCoveredByImeWhenInputWindowBehindPanel() local
|
D | InputMethodStartInputLifecycleTest.java | 107 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodStartInputLifecycleTest 156 && editText.getWindowVisibility() != VISIBLE, TIMEOUT); in testInputConnectionStateWhenScreenStateChanges() local 169 TestUtils.waitOnMainUntil(() -> !TextUtils.equals(editText.getText(), "Hi!"), TIMEOUT, in testInputConnectionStateWhenScreenStateChanges() local 176 && editText.getWindowVisibility() == VISIBLE, TIMEOUT); in testInputConnectionStateWhenScreenStateChanges() local 187 TestUtils.waitOnMainUntil(() -> TextUtils.equals(editText.getText(), "Hello!"), TIMEOUT, in testInputConnectionStateWhenScreenStateChanges() local 223 WindowFocusStealer.connect(instrumentation.getTargetContext(), TIMEOUT)) { in testNoStartNewInputWhileOtherProcessHasWindowFocus() argument 228 TestUtils.waitOnMainUntil(() -> !editText.hasWindowFocus(), TIMEOUT); in testNoStartNewInputWhileOtherProcessHasWindowFocus() local 231 TestUtils.waitOnMainUntil(() -> editText.hasWindowFocus(), TIMEOUT); in testNoStartNewInputWhileOtherProcessHasWindowFocus() local 349 TIMEOUT, Map.of(MockTestActivityUtil.EXTRA_KEY_PRIVATE_IME_OPTIONS, marker1))) { in testInvalidateInputBeforeInputMethodSessionBecomesAvailable() argument
|
D | PackageVisibilityTest.java | 56 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in PackageVisibilityTest 82 TIMEOUT, Map.of(MockTestActivityUtil.EXTRA_KEY_PRIVATE_IME_OPTIONS, marker))) { in testTargetPackageIsVisibleFromIme() argument
|
D | OnScreenPositionTest.java | 51 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in OnScreenPositionTest
|
D | KeyboardVisibilityControlTest.java | 155 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(6); field in KeyboardVisibilityControlTest 494 expectEvent(stream.copy(), showSoftInputMatcher(InputMethod.SHOW_EXPLICIT), TIMEOUT); in testToggleSoftInput() local 526 expectEvent(stream.copy(), showSoftInputMatcher(InputMethod.SHOW_EXPLICIT), TIMEOUT); in testShowHideKeyboardOnWebView() local 777 && editTextRef.get().hasFocus(), TIMEOUT); in testImeVisibilityWhenDismissingDialogWithImeFocused() local 886 && editTextRef.get().hasFocus(), TIMEOUT); in runImeDoesntReshowAfterKeyguardTest() local 893 View.VISIBLE, TIMEOUT); in runImeDoesntReshowAfterKeyguardTest() local 901 TIMEOUT); in runImeDoesntReshowAfterKeyguardTest() local 929 && !editTextRef.get().hasFocus(), TIMEOUT); in runImeDoesntReshowAfterKeyguardTest() local 1213 assertNotNull(uiDevice.wait(Until.hasObject(dialogSelector), TIMEOUT)); in runImeVisibilityWhenImeTransitionBetweenActivities() local 1232 && testActivity.getWindow().getDecorView().hasWindowFocus(), TIMEOUT); in runImeVisibilityWhenImeTransitionBetweenActivities() local [all …]
|
D | DumpTest.java | 50 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in DumpTest
|
D | InputConnectionLifecycleTest.java | 68 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputConnectionLifecycleTest 311 try (AutoCloseable unused = MockTestActivityUtil.launchSync(instant, TIMEOUT)) { in testCloseConnectionWithLosingWindowFocus() argument
|
D | InputMethodServiceTest.java | 139 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(20); field in InputMethodServiceTest
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | LockTest.java | 59 private static final long TIMEOUT = 10000; field in LockTest 159 .setMaximumTimeToLock(sDeviceState.dpc().componentName(), TIMEOUT); in setMaximumTimeToLock_maximumTimeToLockIsSet() local 177 .setMaximumTimeToLock(sDeviceState.dpc().componentName(), TIMEOUT); in setMaximumTimeToLock_doesNotApply_maximumTimeToLockIsNotSet() local
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | TaskRootActivity.java | 32 private static final long TIMEOUT = 5000; field in TaskRootActivity 48 mUiDevice.wait(Until.hasObject(By.clazz(TEST_APP_PKG, TEST_APP_CLASS)), TIMEOUT); in onResume() local
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39626/src/android/security/cts/CVE_2021_39626/ |
D | PocActivity.java | 35 private static final int TIMEOUT = 5000; field in PocActivity 65 TIMEOUT); in onCreate() local
|
D | DeviceTest.java | 47 static final int TIMEOUT = 10000; field in DeviceTest 143 assumeTrue(mDevice.wait(Until.hasObject(By.pkg(settingsPkg)), TIMEOUT)); in testBtDiscoverable() local
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39706/src/android/security/cts/CVE_2021_39706/ |
D | DeviceTest.java | 47 private static final int TIMEOUT = 10000; field in DeviceTest 84 mDevice.wait(Until.hasObject(By.pkg(applicationName)), TIMEOUT)); in openApplication() local
|
/cts/tests/tests/telecom/NonUiInCallServiceWoExport/src/android/telecom/cts/nonuiincallservicewoexport/ |
D | CtsNonUiInCallServiceWoExport.java | 30 protected static final int TIMEOUT = 10000; field in CtsNonUiInCallServiceWoExport
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | WindowFocusHandleService.java | 61 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in WindowFocusHandleService 170 TIMEOUT, "PopupTextView should be created"); in getPopupTextView() local
|
/cts/tests/inputmethod/tests32/src/android/view/inputmethod/cts/sdk32/ |
D | InputMethodManagerTest.kt | 79 val TIMEOUT = TimeUnit.SECONDS.toMillis(5) in <lambda>() constant
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | ShortcutManagerBackupTest.java | 172 final long TIMEOUT = System.nanoTime() + in waitUntilBroadcastsDrain() local 211 final long TIMEOUT = System.nanoTime() + in waitUntilPackagesGone() local
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockedNumberUtil.java | 45 private static final int TIMEOUT = 2; field in BlockedNumberUtil
|