/aosp_15_r20/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
H A D | InputMethodServiceDeviceTest.java | 80 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 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
|
/aosp_15_r20/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
H A D | FocusHandlingTest.java | 128 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 D | InputMethodManagerTest.java | 104 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 D | InputMethodStartInputLifecycleTest.java | 105 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 D | ImeInsetsVisibilityTest.java | 83 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 D | InputMethodPickerTest.java | 58 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 D | KeyboardVisibilityControlTest.java | 156 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 D | ExtractViewTest.java | 56 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/ |
D | DtmfLocalTonePlayerTest.java | 41 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 D | DialerJankTests.java | 55 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 D | ImeStressTestUtil.java | 59 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/ |
D | MoreWirelessSettingsTest2.java | 49 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/ |
D | util.rs | 28 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 D | LockTest.java | 62 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/ |
D | SimImportActivityTest.java | 97 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 D | PermissionHelper.java | 59 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 D | DownloadDestinationOpenerTest.java | 50 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 D | UsageStatsTest.java | 200 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 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
|
/aosp_15_r20/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | NoPermissionsLaunchSmokeTest.java | 45 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 D | BubbleFlyout.kt | 42 val TIMEOUT = Duration.ofSeconds(20) constant
|
/aosp_15_r20/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/ |
H A D | AllAppsScreenHelper.java | 32 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 D | AllAppsScreenHelper.java | 32 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 D | CallbackUtils.java | 53 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
|