/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodServiceTest.java | 130 try (MockImeSession imeSession = MockImeSession.create( 134 final ImeEventStream stream = imeSession.openEventStream(); 139 final ImeCommand command = imeSession.verifyLayoutInflaterContext(); 147 try (MockImeSession imeSession = MockImeSession.create( 151 final ImeEventStream stream = imeSession.openEventStream(); 156 final ImeCommand command = imeSession.callSetBackDisposition(backDisposition); 199 try (MockImeSession imeSession = MockImeSession.create( 203 final ImeEventStream stream = imeSession.openEventStream(); 210 imeSession.callRequestHideSelf(0); 222 try (MockImeSession imeSession = MockImeSession.create( [all …]
|
D | FocusHandlingTest.java | 135 try (MockImeSession imeSession = MockImeSession.create( in testOnStartInputCalledOnceIme() argument 139 final ImeEventStream stream = imeSession.openEventStream(); in testOnStartInputCalledOnceIme() 165 try (MockImeSession imeSession = MockImeSession.create( in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() argument 169 final ImeEventStream stream = imeSession.openEventStream(); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() 208 try (MockImeSession imeSession = MockImeSession.create( in testEditorStartsInput() argument 212 final ImeEventStream stream = imeSession.openEventStream(); in testEditorStartsInput() 234 try (MockImeSession imeSession = MockImeSession.create( in testSoftInputStateAlwaysVisibleFocusedEditorView() argument 238 final ImeEventStream stream = imeSession.openEventStream(); in testSoftInputStateAlwaysVisibleFocusedEditorView() 275 try (MockImeSession imeSession = MockImeSession.create( in testFocusableWindowDoesNotInvalidateExistingInputConnection() argument 279 final ImeEventStream stream = imeSession.openEventStream(); in testFocusableWindowDoesNotInvalidateExistingInputConnection() [all …]
|
D | KeyboardVisibilityControlTest.java | 165 try (MockImeSession imeSession = MockImeSession.create( 169 final ImeEventStream stream = imeSession.openEventStream(); 208 try (MockImeSession imeSession = MockImeSession.create( 212 final ImeEventStream stream = imeSession.openEventStream(); 242 try (MockImeSession imeSession = MockImeSession.create( 246 final ImeEventStream stream = imeSession.openEventStream(); 273 try (MockImeSession imeSession = MockImeSession.create( 277 final ImeEventStream stream = imeSession.openEventStream(); 303 try (MockImeSession imeSession = MockImeSession.create( 306 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 | InputMethodStartInputLifecycleTest.java | 90 try (MockImeSession imeSession = MockImeSession.create( in testInputConnectionStateWhenScreenStateChanges() argument 92 final ImeEventStream stream = imeSession.openEventStream(); in testInputConnectionStateWhenScreenStateChanges() 129 final ImeCommand commit = imeSession.callCommitText("Hi!", 1); in testInputConnectionStateWhenScreenStateChanges() 143 final ImeCommand commit1 = imeSession.callCommitText("Hello!", 1); in testInputConnectionStateWhenScreenStateChanges() 161 try (MockImeSession imeSession = MockImeSession.create( in testNoStartNewInputWhileOtherProcessHasWindowFocus() argument 165 final ImeEventStream stream = imeSession.openEventStream(); in testNoStartNewInputWhileOtherProcessHasWindowFocus()
|
D | PackageVisibilityTest.java | 157 try (MockImeSession imeSession = MockImeSession.create( in testTargetPackageIsVisibleFromIme() argument 161 final ImeEventStream stream = imeSession.openEventStream(); in testTargetPackageIsVisibleFromIme() 168 final ImeCommand command = imeSession.callGetApplicationInfo( in testTargetPackageIsVisibleFromIme()
|
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 | ImeInsetsVisibilityTest.java | 94 try (MockImeSession imeSession = MockImeSession.create( in testImeVisibilityWhenImeFocusableChildPopup() argument 98 final ImeEventStream stream = imeSession.openEventStream(); in testImeVisibilityWhenImeFocusableChildPopup() 144 try (MockImeSession imeSession = MockImeSession.create( in testEditTextPositionAndPersistWhenAboveImeWindowShown() argument 148 final ImeEventStream stream = imeSession.openEventStream(); in testEditTextPositionAndPersistWhenAboveImeWindowShown()
|
D | OnScreenPositionTest.java | 90 try (MockImeSession imeSession = MockImeSession.create( in testImeIsNotBehindNavBar() argument 95 final ImeEventStream stream = imeSession.openEventStream(); in testImeIsNotBehindNavBar()
|
D | NavigationBarColorTest.java | 254 try (MockImeSession imeSession = MockImeSession.create( in getNavigationBarBitmap() argument 256 final ImeEventStream stream = imeSession.openEventStream(); in getNavigationBarBitmap()
|
D | InputConnectionBlockingMethodTest.java | 185 MockImeSession imeSession = MockImeSession.create( in testInputConnection() 191 final ImeEventStream stream = imeSession.openEventStream(); in testInputConnection() 221 testProcedure.run(imeSession, stream); in testInputConnection()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayClientTests.java | 173 MockImeSession imeSession, int targetDisplayId) throws Exception { in assertImeShownAndMatchesDisplayId() argument 174 final ImeEventStream stream = imeSession.openEventStream(); in assertImeShownAndMatchesDisplayId() 188 final int imeDisplayId = expectCommand(stream, imeSession.callGetDisplayId(), TIMEOUT) in assertImeShownAndMatchesDisplayId()
|
D | ActivityViewTest.java | 223 final MockImeSession imeSession = MockImeHelper.createManagedMockImeSession(this); in testInputMethod() local 224 final ImeEventStream stream = imeSession.openEventStream(); in testInputMethod() 234 final ImeCommand cursorUpdatesCommand = imeSession.callRequestCursorUpdates( in testInputMethod()
|
D | WindowInsetsControllerTests.java | 197 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testImeShowAndHide() argument 199 final ImeEventStream stream = imeSession.openEventStream(); in testImeShowAndHide() 486 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testShowImeOnCreate() argument
|
D | WindowInsetsAnimationSynchronicityTests.java | 92 try (ImeSession imeSession = new ImeSession(SimpleIme.getName(mContext))) { in runTest() argument
|
/cts/tests/tests/os/src/android/os/cts/ |
D | StrictModeTest.java | 795 try (final MockImeSession imeSession = MockImeSession.create(getContext(), in verifyIms() argument 798 final ImeEventStream stream = imeSession.openEventStream(); in verifyIms() 804 imeEvent = expectCommand(forkedStream, imeSession.callVerifyGetDisplay(), in verifyIms() 808 imeEvent = expectCommand(forkedStream, imeSession.callVerifyGetWindowManager(), in verifyIms() 813 imeSession.callVerifyGetViewConfiguration(), TIMEOUT); in verifyIms()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilitySoftKeyboardTest.java | 140 try (TestImeSession imeSession = new TestImeSession(Ime1Constants.IME_ID)) { in testSwitchToInputMethod() argument
|