Home
last modified time | relevance | path

Searched refs:TIMEOUT (Results 1 – 25 of 134) sorted by relevance

123456

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardVisibilityControlTest.java155 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(6); field in KeyboardVisibilityControlTest
259 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testBasicShowHideSoftInput()
260 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testBasicShowHideSoftInput()
261 expectImeInvisible(TIMEOUT); in testBasicShowHideSoftInput()
270 expectEvent(stream, showSoftInputMatcher(InputMethod.SHOW_EXPLICIT), TIMEOUT); in testBasicShowHideSoftInput()
271 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testBasicShowHideSoftInput()
273 View.VISIBLE, TIMEOUT); in testBasicShowHideSoftInput()
274 expectImeVisible(TIMEOUT); in testBasicShowHideSoftInput()
280 expectEvent(stream, hideSoftInputMatcher(), TIMEOUT); in testBasicShowHideSoftInput()
281 expectEvent(stream, onFinishInputViewMatcher(false), TIMEOUT); in testBasicShowHideSoftInput()
[all …]
DImeInsetsVisibilityTest.java85 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in ImeInsetsVisibilityTest
109 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
110 expectImeInvisible(TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
115 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
116 expectEvent(stream, showSoftInputMatcher(InputMethod.SHOW_EXPLICIT), TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
117 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
119 View.VISIBLE, TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
120 PollingCheck.check("Ime insets should be visible", TIMEOUT, in testImeVisibilityWhenImeFocusableChildPopup()
122 expectImeVisible(TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
134 TIMEOUT, "Ime insets should be visible"); in testImeVisibilityWhenImeFocusableChildPopup() local
[all …]
DImeSwitchingTest.java52 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in ImeSwitchingTest
84 expectEvent(stream2, editorMatcher("onStartInput", marker), TIMEOUT); in testSwitchingIme()
87 expectCommand(stream2, session2.callSwitchInputMethod(session1.getImeId()), TIMEOUT); in testSwitchingIme()
88 expectEvent(stream2, eventMatcher("onDestroy"), TIMEOUT); in testSwitchingIme()
90 expectEvent(stream1, eventMatcher("onCreate"), TIMEOUT); in testSwitchingIme()
91 expectEvent(stream1, editorMatcher("onStartInput", marker), TIMEOUT); in testSwitchingIme()
133 expectEvent(stream2, editorMatcher("onStartInput", marker), TIMEOUT); in testImeRemainsVisibleAfterSwitchingIme()
138 expectEvent(stream2, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeRemainsVisibleAfterSwitchingIme()
139 expectImeVisible(TIMEOUT); in testImeRemainsVisibleAfterSwitchingIme()
143 expectCommand(stream2, session2.callSwitchInputMethod(session1.getImeId()), TIMEOUT); in testImeRemainsVisibleAfterSwitchingIme()
[all …]
DFocusHandlingTest.java129 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in FocusHandlingTest
176 expectBindInput(stream, Process.myPid(), TIMEOUT); in testOnStartInputCalledOnceIme()
184 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testOnStartInputCalledOnceIme()
309 notExpectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView()
312 TIMEOUT); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView()
315 expectBindInput(stream, Process.myPid(), TIMEOUT); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView()
317 expectEvent(stream, showSoftInputMatcher(0), TIMEOUT); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView()
347 notExpectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testNoEditorNoStartInput()
367 TestUtils.waitOnMainUntil(() -> layoutRef.get().hasWindowFocus(), TIMEOUT); in testDelayedAddEditorStartsInput() local
379 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testDelayedAddEditorStartsInput()
[all …]
DInputMethodServiceStrictModeTest.java59 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodServiceStrictModeTest
127 expectEvent(stream, eventMatcher("onStartInput"), TIMEOUT); in verifyIms()
132 expectCommand(forkedStream, imeSession.callVerifyGetWindowManager(), TIMEOUT); in verifyIms()
136 imeSession.callVerifyGetViewConfiguration(), TIMEOUT); in verifyIms()
139 expectCommand(forkedStream, imeSession.callVerifyGetGestureDetector(), TIMEOUT); in verifyIms()
163 expectEvent(stream, eventMatcher("onStartInput"), TIMEOUT); in testIncorrectContextUseOnImsDerivedDisplayContext()
169 TIMEOUT); in testIncorrectContextUseOnImsDerivedDisplayContext()
172 CHECK_ALL, TIMEOUT); in testIncorrectContextUseOnImsDerivedDisplayContext()
178 TIMEOUT); in testIncorrectContextUseOnImsDerivedDisplayContext()
181 CHECK_ALL, TIMEOUT); in testIncorrectContextUseOnImsDerivedDisplayContext()
[all …]
DInputMethodServiceTest.java139 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(20); field in InputMethodServiceTest
214 expectEvent(stream, editorMatcher("onStartInputView", mMarker), TIMEOUT);
219 expectCommand(stream, command, TIMEOUT).getReturnBooleanValue());
232 expectEvent(stream, eventMatcher("onStartInput"), TIMEOUT);
235 final ImeEvent event = expectCommand(stream, cmd, TIMEOUT);
256 expectEvent(stream, eventMatcher("onStartInput"), TIMEOUT);
259 final ImeEvent event = expectCommand(stream, cmd, TIMEOUT);
280 expectEvent(stream, editorMatcher("onStartInputView", mMarker), TIMEOUT);
283 expectCommand(stream, command, TIMEOUT);
290 expectEvent(stream, backKeyDownMatcher(true), CHECK_EXIT_EVENT_ONLY, TIMEOUT);
[all …]
DInputConnectionEndToEndTest.java141 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputConnectionEndToEndTest
372 MockTestActivityUtil.launchSync(isInstant, TIMEOUT); in triggerUnbindInput()
536 expectBindInput(stream, Process.myPid(), TIMEOUT); in testInputConnection()
539 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnection()
602 expectEvent(imeStream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnection()
606 TIMEOUT)) { in testInputConnection() argument
611 editorMatcherForA11yIme("onStartInput", marker), TIMEOUT); in testInputConnection()
694 expectCommand(stream, command, TIMEOUT).getReturnCharSequenceValue(); in testGetTextAfterCursor()
770 blocker.expectMethodCalled("IC#getTextAfterCursor() must be called back", TIMEOUT); in testGetTextAfterCursorFailWithTimeout()
808 expectCommand(stream, session.memorizeCurrentInputConnection(), TIMEOUT); in testGetTextAfterCursorFailFastAfterUnbindInput()
[all …]
DExtractViewTest.java59 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in ExtractViewTest
100 expectImeVisible(TIMEOUT); in testOnCreateExtractTextView()
101 assertThat(mUiDevice.wait(Until.findObject(EXTRACT_EDIT_TEXT_SELECTOR), TIMEOUT)) in testOnCreateExtractTextView()
108 () -> assertThat(editText.getText().toString()).isEqualTo(text), TIMEOUT); in testOnCreateExtractTextView() local
129 expectImeVisible(TIMEOUT); in testOnCreateExtractTextViewWithCustomView()
131 Until.findObject(By.text(MockIme.CUSTOM_EXTRACT_EDIT_TEXT_LABEL)), TIMEOUT)) in testOnCreateExtractTextViewWithCustomView()
133 assertThat(mUiDevice.wait(Until.findObject(EXTRACT_EDIT_TEXT_SELECTOR), TIMEOUT)) in testOnCreateExtractTextViewWithCustomView()
135 assertThat(mUiDevice.wait(Until.findObject(EXTRACT_ACCESSORIES_SELECTOR), TIMEOUT)) in testOnCreateExtractTextViewWithCustomView()
137 assertThat(mUiDevice.wait(Until.findObject(EXTRACT_ACTION_SELECTOR), TIMEOUT)) in testOnCreateExtractTextViewWithCustomView()
144 () -> assertThat(editText.getText().toString()).isEqualTo(text), TIMEOUT); in testOnCreateExtractTextViewWithCustomView() local
[all …]
DSpellCheckerTest.kt88 private val TIMEOUT = TimeUnit.SECONDS.toMillis(5) in <lambda>() constant in android.view.inputmethod.cts.SpellCheckerTest
135 waitOnMainUntil({ editText.hasFocus() }, TIMEOUT) in <lambda>()
136 InputMethodVisibilityVerifier.expectImeVisible(TIMEOUT) in <lambda>()
141 }, TIMEOUT) in <lambda>()
145 waitOnMainUntil({ isCursorInside(editText, 1, 4) }, TIMEOUT) in <lambda>()
147 uiDevice.wait(Until.findObject(By.text(uniqueSuggestion)), TIMEOUT).also { in <lambda>()
151 waitOnMainUntil({ "$uniqueSuggestion " == editText.text.toString() }, TIMEOUT) in <lambda>()
155 }, TIMEOUT) in <lambda>()
177 waitOnMainUntil({ editText.hasFocus() }, TIMEOUT) in <lambda>()
178 InputMethodVisibilityVerifier.expectImeVisible(TIMEOUT) in <lambda>()
[all …]
DAccessibilityInputMethodTest.java82 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(10); field in AccessibilityInputMethodTest
100 uiAutomation, MockA11yImeSettings.DEFAULT, TIMEOUT)) { in testA11yIme() argument
130 expectA11yImeEvent(stream, event -> "onCreate".equals(event.getEventName()), TIMEOUT); in testLifecycle()
133 TIMEOUT); in testLifecycle()
136 TIMEOUT); in testLifecycle()
138 expectA11yImeEvent(stream, editorMatcherForA11yIme("onStartInput", marker), TIMEOUT); in testLifecycle()
143 TIMEOUT); in testLifecycle()
146 editorMatcherForA11yIme("onStartInput", markerForRestartInput), TIMEOUT); in testLifecycle()
170 expectA11yImeEvent(stream, event -> "onCreate".equals(event.getEventName()), TIMEOUT); in testRestartInput()
173 TIMEOUT); in testRestartInput()
[all …]
DInputMethodStartInputLifecycleTest.java107 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodStartInputLifecycleTest
151 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
156 && editText.getWindowVisibility() != VISIBLE, TIMEOUT); in testInputConnectionStateWhenScreenStateChanges() local
160 expectEvent(stream, onFinishInputMatcher(), TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
161 notExpectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
164 expectEvent(stream, onFinishInputMatcher(), TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
168 expectCommand(stream, commit, TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
169 TestUtils.waitOnMainUntil(() -> !TextUtils.equals(editText.getText(), "Hi!"), TIMEOUT, in testInputConnectionStateWhenScreenStateChanges() local
176 && editText.getWindowVisibility() == VISIBLE, TIMEOUT); in testInputConnectionStateWhenScreenStateChanges() local
179 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
[all …]
DStylusHandwritingTest.java130 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(TIMEOUT_IN_SECONDS); field in StylusHandwritingTest
332 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testHandwritingDoesNotStartWhenNoStylusDown()
363 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testHandwritingStartAndFinish()
387 TIMEOUT); in testHandwritingStartAndFinish()
391 TIMEOUT); in testHandwritingStartAndFinish()
404 TIMEOUT); in testHandwritingStartAndFinish()
423 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testStylusHoverInitInkWindow()
448 TIMEOUT); in testStylusHoverInitInkWindow()
487 stream, imeSession.callGetStylusHandwritingWindowVisibility(), TIMEOUT) in verifyStylusHandwritingWindowIsShown()
496 stream, imeSession.callGetStylusHandwritingWindowVisibility(), TIMEOUT) in verifyStylusHandwritingWindowIsNotShown()
[all …]
DSearchViewTest.java69 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in SearchViewTest
143 expectBindInput(stream, Process.myPid(), TIMEOUT); in testTapThenSetQuery()
147 CHECK_EXIT_EVENT_ONLY, TIMEOUT); in testTapThenSetQuery()
149 expectImeVisible(TIMEOUT); in testTapThenSetQuery()
153 expectEvent(stream, eventMatcher("hideSoftInput"), TIMEOUT); in testTapThenSetQuery()
155 expectImeInvisible(TIMEOUT); in testTapThenSetQuery()
170 expectBindInput(stream, Process.myPid(), TIMEOUT); in testShowImeWithSearchViewFocus()
179 CHECK_EXIT_EVENT_ONLY, TIMEOUT); in testShowImeWithSearchViewFocus()
181 expectImeVisible(TIMEOUT); in testShowImeWithSearchViewFocus()
208 expectBindInput(stream, Process.myPid(), TIMEOUT); in testShowImeWhenSearchViewFocusInListView()
[all …]
DInputMethodSubtypeEndToEndTest.java67 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodSubtypeEndToEndTest
163 expectEvent(stream, eventMatcher("onCreate"), TIMEOUT); in testNoOnCurrentInputMethodSubtypeChangedForColdStartup()
166 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testNoOnCurrentInputMethodSubtypeChangedForColdStartup()
190 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testSubtypeSwitchingInTheSameIme()
196 imeSession.getImeId(), IMPLICITLY_ENABLED_TEST_SUBTYPE2), TIMEOUT); in testSubtypeSwitchingInTheSameIme()
197 …ImeEvent result = expectEvent(stream, eventMatcher("onCurrentInputMethodSubtypeChanged"), TIMEOUT); in testSubtypeSwitchingInTheSameIme()
224 expectEvent(stream, eventMatcher("onCreate"), TIMEOUT); in testSetExplicitlyEnabledInputMethodSubtypes()
238 imeSession.getImeId(), new int[]{TEST_SUBTYPE1.hashCode()}), TIMEOUT); in testSetExplicitlyEnabledInputMethodSubtypes()
247 new int[]{}), TIMEOUT); in testSetExplicitlyEnabledInputMethodSubtypes()
255 new int[]{TEST_SUBTYPE1.hashCode(), TEST_SUBTYPE1.hashCode()}), TIMEOUT); in testSetExplicitlyEnabledInputMethodSubtypes()
[all …]
DInputConnectionHandlerTest.java87 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputConnectionHandlerTest
123 join(TIMEOUT); in close()
206 expectBindInput(stream, Process.myPid(), TIMEOUT); in testCommitText()
209 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testCommitText()
212 expectCommand(stream, command, TIMEOUT); in testCommitText()
214 assertTrue("commitText() must be called", latch.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testCommitText()
283 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testCloseConnectionWithRestartInput()
294 latch.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testCloseConnectionWithRestartInput()
365 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testCloseConnectionWithLosingViewFocus()
371 latch.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testCloseConnectionWithLosingViewFocus()
[all …]
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/
DGLPrimitiveBenchmark.java31 private static final int TIMEOUT = 1000000; field in GLPrimitiveBenchmark
43 runBenchmark(BenchmarkName.FullPipeline, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testFullPipelineOffscreen()
52 runBenchmark(BenchmarkName.FullPipeline, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testFullPipelineOnscreen()
61 runBenchmark(BenchmarkName.PixelOutput, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testPixelOutputOffscreen()
70 runBenchmark(BenchmarkName.PixelOutput, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testPixelOutputOnscreen()
79 runBenchmark(BenchmarkName.ShaderPerf, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testShaderPerfOffscreen()
88 runBenchmark(BenchmarkName.ShaderPerf, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testShaderPerfOnscreen()
97 runBenchmark(BenchmarkName.ContextSwitch, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testContextSwitchOffscreen()
106 runBenchmark(BenchmarkName.ContextSwitch, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testContextSwitchOnscreen()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DServReqRemoveRequestTestCase.java56 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
66 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
71 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
80 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
85 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
90 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
112 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
121 Timeout t = new Timeout(TIMEOUT); in executeTest()
DConnectReqTestCase.java96 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
101 WifiP2pDevice dev = mReceiverTest.waitDeviceFound(mTargetAddress, TIMEOUT); in connectTest()
130 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
148 if (mReceiverTest.waitPeerConnected(mTargetAddress, TIMEOUT) != true) { in connectTest()
157 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
167 p2pInfo = mReceiverTest.waitDisconnectionNotice(TIMEOUT); in connectTest()
175 if (mReceiverTest.waitPeerDisconnected(mTargetAddress, TIMEOUT) != true) { in connectTest()
197 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
206 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
241 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
[all …]
DServReqClearRequestTestCase.java56 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
66 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
71 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
80 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
89 if (!actionListener.check(ActionListenerTest.FAIL_NO_SERVICE, TIMEOUT)) { in executeTest()
DGoTestCase.java53 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
63 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
73 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
82 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
90 WifiP2pInfo info = mReceiverTest.waitConnectionNotice(TIMEOUT); in executeTest()
DServReqMultiClientTestCase03.java47 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
57 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
67 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
100 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
109 Timeout t = new Timeout(TIMEOUT); in executeTest()
/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
82 TIMEOUT, "Ime1 must exist."); in testIme1InInputMethodList()
93 TIMEOUT, "Ime1 must be the current IME. Found " in testIme1InCurrentInputMethodInfo() local
109 }, TIMEOUT, "Ime1 must not be the current IME."); in testIme1NotCurrentInputMethodInfo()
120 TIMEOUT, "Ime2 must be the current IME. Found " in testIme2InCurrentInputMethodInfo() local
136 }, TIMEOUT, "Ime2 must not be the current IME."); in testIme2NotCurrentInputMethodInfo()
158 TIMEOUT, "Ime1 must be enabled."); in testIme1InEnabledInputMethodList()
180 TIMEOUT, "Ime1 must exist."); in testIme2InInputMethodList()
202 TIMEOUT, "Ime1 must be enabled."); in testIme2InEnabledInputMethodList()
227 TIMEOUT, "Implicitly enabled Subtype must exist for IME1."); in testIme1ImplicitlyEnabledSubtypeExists() local
[all …]
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DPhotoPickerUiUtils.java39 private static final long TIMEOUT = 30 * DateUtils.SECOND_IN_MILLIS; field in PhotoPickerUiUtils
57 .that(new UiObject(gridList.childSelector(new UiSelector())).waitForExists(TIMEOUT)) in findItemList()
120 PhotoPickerUiUtils.REGEX_PACKAGE_NAME + ":id/bottom_sheet")).waitForExists(TIMEOUT); in isPhotoPickerVisible()
127 .waitForExists(TIMEOUT)) in verifySettingsActionBarIsVisible()
135 .waitForExists(TIMEOUT)) in verifySettingsTitleIsVisible()
143 .waitForExists(TIMEOUT)) in verifySettingsDescriptionIsVisible()
153 .waitForExists(TIMEOUT)) in verifySettingsCloudProviderOptionIsVisible()
161 .waitForExists(TIMEOUT)) in verifySettingsFragmentContainerExists()
168 .waitForExists(TIMEOUT)) in verifyOverflowMenuExists()
177 .waitForExists(TIMEOUT)) in verifySettingsActivityIsVisible()
/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/
DMultiDisplayImeTests.java99 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in MultiDisplayImeTests
130 imeTestActivitySession.getActivity().mEditText.getPrivateImeOptions()), TIMEOUT); in testImeWindowCanSwitchToDifferentDisplays()
143 imeTestActivitySession2.getActivity().mEditText.getPrivateImeOptions()), TIMEOUT); in testImeWindowCanSwitchToDifferentDisplays()
173 activity.mEditText.getPrivateImeOptions()), TIMEOUT); in testFallbackImmMaintainsParameters()
181 expectImeVisible(TIMEOUT); in testFallbackImmMaintainsParameters()
210 }, TIMEOUT); in testImeApiForBug118341760()
250 imeTestActivitySession.getActivity().mEditText.getPrivateImeOptions()), TIMEOUT); in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
257 imeTestActivitySession2.getActivity().mEditText.getPrivateImeOptions()), TIMEOUT); in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
266 imeTestActivitySession.getActivity().mEditText.getPrivateImeOptions()), TIMEOUT); in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
300 imeTestActivitySession.getActivity().mEditText.getPrivateImeOptions()), TIMEOUT); in testCrossDisplayBasicImeOperations()
[all …]

123456