Home
last modified time | relevance | path

Searched defs:TIMEOUT (Results 1 – 25 of 109) sorted by relevance

12345

/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodServiceDeviceTest.java79 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 …]
DInputMethodManagerDeviceTest.java51 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
DShellCommandDeviceTest.java36 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in ShellCommandDeviceTest
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodPickerTest.java62 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
DInputMethodManagerTest.java91 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
DFocusHandlingTest.java129 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 …]
DExtractViewTest.java59 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
DImeInsetsVisibilityTest.java85 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
DInputMethodStartInputLifecycleTest.java107 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
DPackageVisibilityTest.java56 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
DOnScreenPositionTest.java51 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in OnScreenPositionTest
DKeyboardVisibilityControlTest.java155 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 …]
DDumpTest.java50 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in DumpTest
DInputConnectionLifecycleTest.java68 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputConnectionLifecycleTest
311 try (AutoCloseable unused = MockTestActivityUtil.launchSync(instant, TIMEOUT)) { in testCloseConnectionWithLosingWindowFocus() argument
DInputMethodServiceTest.java139 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(20); field in InputMethodServiceTest
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DLockTest.java59 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/
DTaskRootActivity.java32 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/
DPocActivity.java35 private static final int TIMEOUT = 5000; field in PocActivity
65 TIMEOUT); in onCreate() local
DDeviceTest.java47 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/
DDeviceTest.java47 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/
DCtsNonUiInCallServiceWoExport.java30 protected static final int TIMEOUT = 10000; field in CtsNonUiInCallServiceWoExport
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DWindowFocusHandleService.java61 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/
DInputMethodManagerTest.kt79 val TIMEOUT = TimeUnit.SECONDS.toMillis(5) in <lambda>() constant
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DShortcutManagerBackupTest.java172 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/
DBlockedNumberUtil.java45 private static final int TIMEOUT = 2; field in BlockedNumberUtil

12345