Home
last modified time | relevance | path

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

12345678910>>...39

/aosp_15_r20/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
H A DInputMethodServiceDeviceTest.java80 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(20); field in InputMethodServiceDeviceTest
97 TIMEOUT, "CtsInputMethod1.onCreate is called"); in testCreateIme1() local
101 TIMEOUT, "CtsInputMethod1.onStartInput is called"); in testCreateIme1() local
117 TIMEOUT, "CtsInputMethod1.onStartInput is called"); in testSwitchToNextInputMethod() local
122 TIMEOUT, "CtsInputMethod1 is current IME"); in testSwitchToNextInputMethod() local
128 TIMEOUT, "CtsInputMethod1 shouldn't be current IME"); in testSwitchToNextInputMethod() local
148 TIMEOUT, "CtsInputMethod2.onStartInput is called"); in switchToPreviousInputMethod() local
154 TIMEOUT, initialIme + " is current IME"); in switchToPreviousInputMethod() local
172 TIMEOUT, "CtsInputMethod1.onStartInput is called"); in testSwitchToHandwritingInputMethod() local
201 TIMEOUT, "CtsInputMethod2 is current IME"); in testSwitchToHandwritingInputMethod() local
[all …]
H A 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
/aosp_15_r20/cts/tests/inputmethod/src/android/view/inputmethod/cts/
H A DFocusHandlingTest.java128 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in FocusHandlingTest
362 TestUtils.waitOnMainUntil(() -> layoutRef.get().hasWindowFocus(), TIMEOUT); in testDelayedAddEditorStartsInput() local
496 () -> TextUtils.equals(editText.getText(), "test commit"), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() local
516 TestUtils.waitOnMainUntil(() -> !editText.hasWindowFocus(), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() local
522 () -> TextUtils.equals(editText.getText(), "Hello!"), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() local
544 () -> TextUtils.equals(editText.getText(), "World!"), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() local
557 () -> TextUtils.equals(editText.getText(), "Done!"), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() local
646 WindowFocusStealer.connect(instrumentation.getTargetContext(), TIMEOUT)) { in testRestartInputWhileOtherProcessHasWindowFocus() argument
651 TestUtils.waitOnMainUntil(() -> !editText.hasWindowFocus(), TIMEOUT); in testRestartInputWhileOtherProcessHasWindowFocus() local
669 () -> TextUtils.equals(editText.getText(), "test commit"), TIMEOUT); in testRestartInputWhileOtherProcessHasWindowFocus() local
[all …]
H A DInputMethodManagerTest.java104 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodManagerTest
192 waitOnMainUntil(() -> mImManager.hasActiveInputConnection(focusedEditText), TIMEOUT); in testIsActive() local
327 waitOnMainUntil(() -> !isInputMethodPickerShown(mImManager), TIMEOUT, in testInputMethodPickerShownItems() local
369 waitOnMainUntil(() -> !isInputMethodPickerShown(mImManager), TIMEOUT, in testInputMethodPickerSwitchIme() local
420 waitOnMainUntil(() -> !isInputMethodPickerShown(mImManager), TIMEOUT, in testInputMethodPickerOpenLanguageSettings() local
423 waitOnMainUntil(() -> !activity.hasWindowFocus(), TIMEOUT, in testInputMethodPickerOpenLanguageSettings() local
462 waitOnMainUntil(() -> !isInputMethodPickerShown(mImManager), TIMEOUT, in testInputMethodPickerNoLanguageSettingsWhenDeviceNotProvisioned() local
506 waitOnMainUntil(() -> !isInputMethodPickerShown(mImManager), TIMEOUT, in startActivityAndShowInputMethodPicker() local
511 waitOnMainUntil(() -> isInputMethodPickerShown(mImManager), TIMEOUT, in startActivityAndShowInputMethodPicker() local
H A DInputMethodStartInputLifecycleTest.java105 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodStartInputLifecycleTest
162 && editText.getWindowVisibility() != VISIBLE, TIMEOUT); in testInputConnectionStateWhenScreenStateChanges() local
175 TestUtils.waitOnMainUntil(() -> !TextUtils.equals(editText.getText(), "Hi!"), TIMEOUT, in testInputConnectionStateWhenScreenStateChanges() local
182 && editText.getWindowVisibility() == VISIBLE, TIMEOUT); in testInputConnectionStateWhenScreenStateChanges() local
193 TestUtils.waitOnMainUntil(() -> TextUtils.equals(editText.getText(), "Hello!"), TIMEOUT, in testInputConnectionStateWhenScreenStateChanges() local
229 WindowFocusStealer.connect(instrumentation.getTargetContext(), TIMEOUT)) { in testNoStartNewInputWhileOtherProcessHasWindowFocus() argument
234 TestUtils.waitOnMainUntil(() -> !editText.hasWindowFocus(), TIMEOUT); in testNoStartNewInputWhileOtherProcessHasWindowFocus() local
237 TestUtils.waitOnMainUntil(() -> editText.hasWindowFocus(), TIMEOUT); in testNoStartNewInputWhileOtherProcessHasWindowFocus() local
355 TIMEOUT, Map.of(MockTestActivityUtil.EXTRA_KEY_PRIVATE_IME_OPTIONS, marker1))) { in testInvalidateInputBeforeInputMethodSessionBecomesAvailable() argument
H A DImeInsetsVisibilityTest.java83 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in ImeInsetsVisibilityTest
132 TIMEOUT, "Ime insets should be visible"); in testImeVisibilityWhenImeFocusableChildPopup() local
181 TIMEOUT, "Ime insets should be visible"); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() local
230 TIMEOUT, "Ime insets should be visible"); in testImeVisibilityWhenImeFocusableChildPopupOverlaps() local
297 TIMEOUT, "InputMethod picker should be shown"); in testEditTextPositionAndPersistWhenAboveImeWindowShown() local
308 TestUtils.waitOnMainUntil(() -> !isInputMethodPickerShown(imm), TIMEOUT, in testEditTextPositionAndPersistWhenAboveImeWindowShown() local
383 WindowInsets.Type.ime()), TIMEOUT, "The panel should receive IME insets"); in testEditorWontCoveredByImeWhenInputWindowBehindPanel() local
386 TIMEOUT, "The editor should be shown and visible"); in testEditorWontCoveredByImeWhenInputWindowBehindPanel() local
H A DInputMethodPickerTest.java58 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodPickerTest
97 waitOnMainUntil(() -> isInputMethodPickerShown(mImManager), TIMEOUT, in testInputMethodPicker_hidesUntrustedOverlays() local
120 waitOnMainUntil(() -> isInputMethodPickerShown(mImManager), TIMEOUT, in testShowInputMethodPicker_noDismissWhenOverlayPopup() local
155 waitOnMainUntil(() -> isInputMethodPickerShown(im), TIMEOUT, in testShowImePickerOnExternalDisplay() local
165 waitOnMainUntil(() -> !isInputMethodPickerShown(mImManager), TIMEOUT, in closeSystemDialogsAndWait() local
H A DKeyboardVisibilityControlTest.java156 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(6); field in KeyboardVisibilityControlTest
507 expectEvent(stream.copy(), showSoftInputMatcher(InputMethod.SHOW_EXPLICIT), TIMEOUT); in testToggleSoftInput() local
539 expectEvent(stream.copy(), showSoftInputMatcher(InputMethod.SHOW_EXPLICIT), TIMEOUT); in testShowHideKeyboardOnWebView() local
784 && editTextRef.get().hasFocus(), TIMEOUT); in testImeVisibilityWhenDismissingDialogWithImeFocused() local
933 && editTextRef.get().hasFocus(), TIMEOUT); in runImeDoesntReshowAfterKeyguardTest() local
940 View.VISIBLE, TIMEOUT); in runImeDoesntReshowAfterKeyguardTest() local
948 TIMEOUT); in runImeDoesntReshowAfterKeyguardTest() local
976 && !editTextRef.get().hasFocus(), TIMEOUT); in runImeDoesntReshowAfterKeyguardTest() local
1263 assertNotNull(uiDevice.wait(Until.hasObject(dialogSelector), TIMEOUT)); in runImeVisibilityWhenImeTransitionBetweenActivities() local
1274 && testActivity.getWindow().getDecorView().hasWindowFocus(), TIMEOUT); in runImeVisibilityWhenImeTransitionBetweenActivities() local
[all …]
H A DExtractViewTest.java56 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in ExtractViewTest
105 () -> assertThat(editText.getText().toString()).isEqualTo(text), TIMEOUT); in testOnCreateExtractTextView() local
141 () -> assertThat(editText.getText().toString()).isEqualTo(text), TIMEOUT); in testOnCreateExtractTextViewWithCustomView() local
179 () -> assertThat(editText.getText().toString()).isEqualTo(text), TIMEOUT); in testSetExtractView() local
/aosp_15_r20/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DDtmfLocalTonePlayerTest.java41 private static final int TIMEOUT = 2000; field in DtmfLocalTonePlayerTest
68 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testSupportedStart() local
78 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testUnsupportedStart() local
89 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testPlayToneWhenUninitialized() local
100 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testPlayToneWhenInitialized() local
111 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testStopToneWhenUninitialized() local
122 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testStopToneWhenInitialized() local
133 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testProperTeardown() local
/aosp_15_r20/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/
H A DDialerJankTests.java55 private static final int TIMEOUT = 5000; field in DialerJankTests
99 contacts.clickAndWait(Until.newWindow(), TIMEOUT); in launchDialer() local
104 contactName.clickAndWait(Until.newWindow(), TIMEOUT); in launchDialer() local
109 contactNumber.clickAndWait(Until.newWindow(), TIMEOUT); in launchDialer() local
113 endCall.clickAndWait(Until.newWindow(), TIMEOUT);; in launchDialer() local
124 contactNumber.clickAndWait(Until.newWindow(), TIMEOUT); in testDialerCallInit() local
127 endCall.clickAndWait(Until.newWindow(), TIMEOUT); in testDialerCallInit() local
142 mDevice.wait(Until.findObject(By.res(RES_PACKAGE_NAME,"lists_pager")), TIMEOUT); in launchCallLog() local
/aosp_15_r20/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
H A DImeStressTestUtil.java59 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(3); field in ImeStressTestUtil
166 eventually(() -> assertWithMessage(message).that(callOnMainSync(pred)).isTrue(), TIMEOUT); in waitOnMainUntil() local
176 TIMEOUT); in waitOnMainUntilImeIsShown() local
186 TIMEOUT); in waitOnMainUntilImeIsHidden() local
197 TIMEOUT); in waitOnMainUntilWindowGainsFocus() local
207 TIMEOUT); in waitOnMainUntilViewGainsFocus() local
217 TIMEOUT); in verifyImeIsAlwaysHidden() local
228 TIMEOUT); in verifyWindowNeverGainsFocus() local
238 TIMEOUT); in verifyViewNeverGainsFocus() local
/aosp_15_r20/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DMoreWirelessSettingsTest2.java49 private static final int TIMEOUT = 2000; field in MoreWirelessSettingsTest2
288 assertNotNull(mDevice.wait(Until.findObject(By.text(PHASE2_MENU_NONE_TEXT)), TIMEOUT)); in testPhase2Settings() local
289 assertNotNull(mDevice.wait(Until.findObject(By.text(PHASE2_MENU_MSCHAPV2_TEXT)), TIMEOUT)); in testPhase2Settings() local
290 assertNotNull(mDevice.wait(Until.findObject(By.text(PHASE2_MENU_GTC_TEXT)), TIMEOUT)); in testPhase2Settings() local
309 By.text(CACERT_MENU_PLEASE_SELECT_TEXT)), TIMEOUT)); in testCaCertSettings() local
311 By.text(CACERT_MENU_USE_SYSTEM_CERTS_TEXT)), TIMEOUT)); in testCaCertSettings() local
313 By.text(CACERT_MENU_DO_NOT_VALIDATE_TEXT)), TIMEOUT)); in testCaCertSettings() local
/aosp_15_r20/packages/modules/Virtualization/libs/devicemapper/src/
Dutil.rs28 const TIMEOUT: Duration = Duration::from_secs(1); in wait_for_path() constant
43 const TIMEOUT: Duration = Duration::from_secs(1); in wait_for_path_disappears() constant
/aosp_15_r20/cts/tests/devicepolicy/src/android/devicepolicy/cts/
H A DLockTest.java62 private static final long TIMEOUT = 10000; field in LockTest
177 .setMaximumTimeToLock(dpc(sDeviceState).componentName(), TIMEOUT); in setMaximumTimeToLock_maximumTimeToLockIsSet() local
195 .setMaximumTimeToLock(dpc(sDeviceState).componentName(), TIMEOUT); in setMaximumTimeToLock_doesNotApply_maximumTimeToLockIsNotSet() local
/aosp_15_r20/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DSimImportActivityTest.java97 public static final int TIMEOUT = 100000; field in SimImportActivityTest
268 mDevice.findObject(By.desc("Show more")).clickAndWait(Until.newWindow(), TIMEOUT); in selectionsAreImportedAndDisabledOnSubsequentImports() local
330 mDevice.findObject(By.descStartsWith("Show more")).clickAndWait(Until.newWindow(), TIMEOUT); in selectionsAreImportedAndDisabledOnSubsequentImports() local
/aosp_15_r20/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/
H A DPermissionHelper.java59 public final int TIMEOUT = 2000; field in PermissionHelper
301 navBackBtn.clickAndWait(Until.newWindow(), TIMEOUT); in openAppPermissionView() local
307 mDevice.findObject(By.text(appName)).clickAndWait(Until.newWindow(), TIMEOUT); in openAppPermissionView() local
309 TIMEOUT).clickAndWait(Until.newWindow(), TIMEOUT); in openAppPermissionView() local
/aosp_15_r20/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/integration/downloader/
H A DDownloadDestinationOpenerTest.java50 private static final long TIMEOUT = 3L; field in DownloadDestinationOpenerTest
117 destination.openByteChannel(0, metadataToWrite).get(TIMEOUT, SECONDS)) { in opener_withNoExistingData_writes()
180 .get(TIMEOUT, SECONDS)) { in opener_withExistingData_writes()
/aosp_15_r20/cts/tests/tests/app.usage/src/android/app/usage/cts/
H A DUsageStatsTest.java200 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in UsageStatsTest
360 mUiDevice.wait(Until.hasObject(By.clazz(clazz)), TIMEOUT); in launchSubActivity() local
378 mUiDevice.wait(Until.hasObject(By.clazz(pkgName, className)), TIMEOUT); in launchTestActivity() local
1876 mUiDevice.wait(Until.hasObject(By.clazz(TestService.class)), TIMEOUT); in testForegroundServiceHelper() local
1880 mUiDevice.wait(Until.gone(By.clazz(TestService.class)), TIMEOUT); in testForegroundServiceHelper() local
1989 mUiDevice.wait(Until.hasObject(By.clazz(TEST_APP_PKG, TEST_APP_CLASS)), TIMEOUT); in testTaskRootAttribution_finishingTaskRoot() local
1995 mUiDevice.wait(Until.gone(By.clazz(TEST_APP_PKG, TEST_APP_CLASS)), TIMEOUT); in testTaskRootAttribution_finishingTaskRoot() local
2068 mUiDevice.wait(Until.gone(By.clazz(TEST_APP_PKG, TEST_APP_CLASS)), TIMEOUT); in testSuddenDestroy() local
2677 mUiDevice.wait(Until.gone(By.clazz(TEST_APP_PKG, TEST_APP_CLASS_LOCUS)), TIMEOUT); in startAndDestroyActivityWithLocus() local
H A 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
/aosp_15_r20/packages/apps/Contacts/tests/src/com/android/contacts/
DNoPermissionsLaunchSmokeTest.java45 private static final long TIMEOUT = 5000; field in NoPermissionsLaunchSmokeTest
97 grantPhonePermissionButton.clickAndWait(Until.newWindow(), TIMEOUT); in launchingMainActivityDoesntCrash() local
/aosp_15_r20/platform_testing/libraries/systemui-tapl/src/android/platform/systemui_tapl/ui/
H A DBubbleFlyout.kt42 val TIMEOUT = Duration.ofSeconds(20) constant
/aosp_15_r20/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
H A DAllAppsScreenHelper.java32 private static final int TIMEOUT = 3000; field in AllAppsScreenHelper
60 mDevice.wait(Until.hasObject(By.res(getLauncherPackage(), allApps)), TIMEOUT); in launchAllAppsScreen() local
/aosp_15_r20/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
H A DAllAppsScreenHelper.java32 private static final int TIMEOUT = 3000; field in AllAppsScreenHelper
60 mDevice.wait(Until.hasObject(By.res(getLauncherPackage(), allApps)), TIMEOUT); in launchAllAppsScreen() local
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
H A DCallbackUtils.java53 public static final int TIMEOUT = -1; field in CallbackUtils.AttachCb
164 public static final int TIMEOUT = -1; field in CallbackUtils.DiscoveryCb
393 public static final int TIMEOUT = -1; field in CallbackUtils.RangingCb

12345678910>>...39