/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodServiceTest.java | 153 try (MockImeSession imeSession = MockImeSession.create( 157 final ImeEventStream stream = imeSession.openEventStream(); 162 final ImeCommand command = imeSession.verifyLayoutInflaterContext(); 170 try (MockImeSession imeSession = MockImeSession.create( 174 final ImeEventStream stream = imeSession.openEventStream(); 179 final ImeCommand command = imeSession.callSetBackDisposition(backDisposition); 222 try (MockImeSession imeSession = MockImeSession.create( 226 final ImeEventStream stream = imeSession.openEventStream(); 233 imeSession.callRequestHideSelf(0); 245 try (MockImeSession imeSession = MockImeSession.create( [all …]
|
D | InputMethodServiceStrictModeTest.java | 117 try (MockImeSession imeSession = MockImeSession.create( in verifyIms() argument 121 final ImeEventStream stream = imeSession.openEventStream(); in verifyIms() 129 expectCommand(forkedStream, imeSession.callVerifyGetWindowManager(), TIMEOUT); in verifyIms() 133 imeSession.callVerifyGetViewConfiguration(), TIMEOUT); in verifyIms() 136 expectCommand(forkedStream, imeSession.callVerifyGetGestureDetector(), TIMEOUT); in verifyIms() 153 try (MockImeSession imeSession = MockImeSession.create( in testIncorrectContextUseOnImsDerivedDisplayContext() argument 157 final ImeEventStream stream = imeSession.openEventStream(); in testIncorrectContextUseOnImsDerivedDisplayContext() 165 expectCommand(forkedStream, imeSession.callVerifyGetWindowManagerOnDisplayContext(), in testIncorrectContextUseOnImsDerivedDisplayContext() 174 expectCommand(forkedStream, imeSession.callVerifyGetViewConfigurationOnDisplayContext(), in testIncorrectContextUseOnImsDerivedDisplayContext() 183 expectCommand(forkedStream, imeSession.callVerifyGetGestureDetectorOnDisplayContext(), in testIncorrectContextUseOnImsDerivedDisplayContext()
|
D | FocusHandlingTest.java | 139 try (MockImeSession imeSession = MockImeSession.create( in testOnStartInputCalledOnceIme() argument 143 final ImeEventStream stream = imeSession.openEventStream(); in testOnStartInputCalledOnceIme() 170 try (MockImeSession imeSession = MockImeSession.create( in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() argument 174 final ImeEventStream stream = imeSession.openEventStream(); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() 213 try (MockImeSession imeSession = MockImeSession.create( in testEditorStartsInput() argument 217 final ImeEventStream stream = imeSession.openEventStream(); in testEditorStartsInput() 239 try (MockImeSession imeSession = MockImeSession.create( in testSoftInputStateAlwaysVisibleFocusedEditorView() argument 243 final ImeEventStream stream = imeSession.openEventStream(); in testSoftInputStateAlwaysVisibleFocusedEditorView() 280 try (MockImeSession imeSession = MockImeSession.create( in testFocusableWindowDoesNotInvalidateExistingInputConnection() argument 284 final ImeEventStream stream = imeSession.openEventStream(); in testFocusableWindowDoesNotInvalidateExistingInputConnection() [all …]
|
D | KeyboardVisibilityControlTest.java | 188 try (MockImeSession imeSession = MockImeSession.create( 192 final ImeEventStream stream = imeSession.openEventStream(); 231 try (MockImeSession imeSession = MockImeSession.create( 235 final ImeEventStream stream = imeSession.openEventStream(); 265 try (MockImeSession imeSession = MockImeSession.create( 269 final ImeEventStream stream = imeSession.openEventStream(); 300 try (MockImeSession imeSession = MockImeSession.create( 304 final ImeEventStream stream = imeSession.openEventStream(); 326 try (MockImeSession imeSession = MockImeSession.create( 329 final ImeEventStream stream = imeSession.openEventStream(); [all …]
|
D | SearchViewTest.java | 123 try (MockImeSession imeSession = MockImeSession.create( in testTapThenSetQuery() argument 127 final ImeEventStream stream = imeSession.openEventStream(); in testTapThenSetQuery() 156 try (MockImeSession imeSession = MockImeSession.create( in testShowImeWithSearchViewFocus() argument 160 final ImeEventStream stream = imeSession.openEventStream(); in testShowImeWithSearchViewFocus() 183 try (MockImeSession imeSession = MockImeSession.create( in testShowImeWhenSearchViewFocusInListView() argument 187 final ImeEventStream stream = imeSession.openEventStream(); in testShowImeWhenSearchViewFocusInListView()
|
D | PackageVisibilityTest.java | 80 try (MockImeSession imeSession = MockImeSession.create( in testTargetPackageIsVisibleFromIme() argument 84 final ImeEventStream stream = imeSession.openEventStream(); in testTargetPackageIsVisibleFromIme() 91 final ImeCommand command = imeSession.callGetApplicationInfo( in testTargetPackageIsVisibleFromIme()
|
D | InputMethodStartInputLifecycleTest.java | 98 try (MockImeSession imeSession = MockImeSession.create( in testInputConnectionStateWhenScreenStateChanges() argument 100 final ImeEventStream stream = imeSession.openEventStream(); in testInputConnectionStateWhenScreenStateChanges() 147 final ImeCommand commit = imeSession.callCommitText("Hi!", 1); in testInputConnectionStateWhenScreenStateChanges() 166 final ImeCommand commit1 = imeSession.callCommitText("Hello!", 1); in testInputConnectionStateWhenScreenStateChanges() 184 try (MockImeSession imeSession = MockImeSession.create( in testNoStartNewInputWhileOtherProcessHasWindowFocus() argument 188 final ImeEventStream stream = imeSession.openEventStream(); in testNoStartNewInputWhileOtherProcessHasWindowFocus()
|
D | ImeInsetsVisibilityTest.java | 96 try (MockImeSession imeSession = MockImeSession.create( in testImeVisibilityWhenImeFocusableChildPopup() argument 100 final ImeEventStream stream = imeSession.openEventStream(); in testImeVisibilityWhenImeFocusableChildPopup() 150 try (MockImeSession imeSession = MockImeSession.create( in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() argument 154 final ImeEventStream stream = imeSession.openEventStream(); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() 199 try (MockImeSession imeSession = MockImeSession.create( in testImeVisibilityWhenImeFocusableChildPopupOverlaps() argument 203 final ImeEventStream stream = imeSession.openEventStream(); in testImeVisibilityWhenImeFocusableChildPopupOverlaps() 252 try (MockImeSession imeSession = MockImeSession.create( in testEditTextPositionAndPersistWhenAboveImeWindowShown() argument 256 final ImeEventStream stream = imeSession.openEventStream(); in testEditTextPositionAndPersistWhenAboveImeWindowShown() 332 try (MockImeSession imeSession = MockImeSession.create( in testEditorWontCoveredByImeWhenInputWindowBehindPanel() argument 336 final ImeEventStream stream = imeSession.openEventStream(); in testEditorWontCoveredByImeWhenInputWindowBehindPanel()
|
D | ImeInsetsControllerTest.java | 96 try (MockImeSession imeSession = MockImeSession.create( in testChangeSizeWhileControlling() argument 102 final ImeEventStream stream = imeSession.openEventStream(); in testChangeSizeWhileControlling() 153 expectCommand(stream, imeSession.callSetHeight(NEW_KEYBOARD_HEIGHT), TIMEOUT); in testChangeSizeWhileControlling()
|
D | OnScreenPositionTest.java | 90 try (MockImeSession imeSession = MockImeSession.create( in testImeIsNotBehindNavBar() argument 95 final ImeEventStream stream = imeSession.openEventStream(); in testImeIsNotBehindNavBar()
|
D | EditTextImeSupportTest.java | 102 try (MockImeSession imeSession = MockImeSession.create( in testSetTextTriggersRestartInput() argument 106 final ImeEventStream stream = imeSession.openEventStream(); in testSetTextTriggersRestartInput()
|
D | NavigationBarColorTest.java | 254 try (MockImeSession imeSession = MockImeSession.create( in getNavigationBarBitmap() argument 256 final ImeEventStream stream = imeSession.openEventStream(); in getNavigationBarBitmap()
|
D | InputConnectionBlockingMethodTest.java | 186 MockImeSession imeSession = MockImeSession.create( in testInputConnection() 192 final ImeEventStream stream = imeSession.openEventStream(); in testInputConnection() 222 testProcedure.run(imeSession, stream); in testInputConnection()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayClientTests.java | 174 MockImeSession imeSession, int targetDisplayId) throws Exception { in assertImeShownAndMatchesDisplayId() argument 175 final ImeEventStream stream = imeSession.openEventStream(); in assertImeShownAndMatchesDisplayId() 189 final int imeDisplayId = expectCommand(stream, imeSession.callGetDisplayId(), TIMEOUT) in assertImeShownAndMatchesDisplayId()
|
D | WindowInsetsControllerTests.java | 212 final MockImeSession imeSession = MockImeHelper.createManagedMockImeSession(this); in testImeShowAndHide() local 213 final ImeEventStream stream = imeSession.openEventStream(); in testImeShowAndHide() 229 final MockImeSession imeSession = MockImeHelper.createManagedMockImeSession(this); in testImeForceShowingNavigationBar() local 230 final ImeEventStream stream = imeSession.openEventStream(); in testImeForceShowingNavigationBar() 549 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testShowImeOnCreate_doesntCauseImeToReappearWhenDialogIsShown() argument
|
D | WindowInsetsAnimationSynchronicityTests.java | 96 try (ImeSession imeSession = new ImeSession(SimpleIme.getName(mContext))) { in runTest() argument
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilitySoftKeyboardTest.java | 140 try (TestImeSession imeSession = new TestImeSession(Ime1Constants.IME_ID)) { in testSwitchToInputMethod() argument
|
/cts/tests/translation/src/android/translation/cts/ |
D | UiTranslationManagerTest.java | 404 try (ImeSession imeSession = new ImeSession( in testIMEUiTranslationStateCallback() argument
|