Home
last modified time | relevance | path

Searched refs:MockImeSession (Results 1 – 25 of 40) sorted by relevance

12

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DMockImeHelper.java24 import com.android.cts.mockime.MockImeSession;
37 public static MockImeSession createManagedMockImeSession(ActivityManagerTestBase base) { in createManagedMockImeSession()
39 return base.mObjectTracker.manage(MockImeSession.create(base.mContext)); in createManagedMockImeSession()
45 public static MockImeSession createManagedMockImeSession(ActivityManagerTestBase base, in createManagedMockImeSession()
58 return base.mObjectTracker.manage(MockImeSession.create( in createManagedMockImeSession()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DStylusHandwritingTest.java108 import com.android.cts.mockime.MockImeSession;
200 try (MockImeSession imeSession = MockImeSession.create( in testHandwritingInfo()
217 try (MockImeSession imeSession = MockImeSession.create( in testIsStylusHandwritingAvailable_prefDisabled()
240 try (MockImeSession imeSession = MockImeSession.create( in testIsStylusHandwritingAvailable()
256 try (MockImeSession imeSession = MockImeSession.create( in testIsConnectionlessStylusHandwritingAvailable_prefDisabled()
281 try (MockImeSession imeSession = MockImeSession.create( in testIsConnectionlessStylusHandwritingAvailable()
303 try (MockImeSession imeSession = MockImeSession.create( in testHandwritingNoInitOnDeviceWithNoStylus()
323 try (MockImeSession imeSession = MockImeSession.create( in testHandwritingDoesNotStartWhenNoStylusDown()
354 try (MockImeSession imeSession = MockImeSession.create( in testHandwritingStartAndFinish()
414 try (MockImeSession imeSession = MockImeSession.create( in testStylusHoverInitInkWindow()
[all …]
DInputMethodSubtypeEndToEndTest.java53 import com.android.cts.mockime.MockImeSession;
124 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testGetCurrentInputMethodSubtypeNull()
138 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testGetCurrentInputMethodSubtype()
155 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testNoOnCurrentInputMethodSubtypeChangedForColdStartup()
182 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testSubtypeSwitchingInTheSameIme()
215 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testSetExplicitlyEnabledInputMethodSubtypes()
294 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testSetAdditionalInputMethodSubtypesForAlreadyEnabledSubtype()
339 try (MockImeSession imeSession = MockImeSession.create(context, in testSetAdditionalInputMethodSubtypeDoesNotRemoveImesInvisibleFromCaller()
DInputMethodServiceTest.java110 import com.android.cts.mockime.MockImeSession;
207 try (MockImeSession imeSession = MockImeSession.create(
227 try (MockImeSession imeSession = MockImeSession.create(
251 try (MockImeSession imeSession = MockImeSession.create(
273 try (MockImeSession imeSession = MockImeSession.create(
325 try (MockImeSession imeSession = MockImeSession.create(
349 try (MockImeSession imeSession = MockImeSession.create(
374 try (MockImeSession imeSession = MockImeSession.create(
466 try (MockImeSession imeSession = MockImeSession.create(
539 try (MockImeSession imeSession = MockImeSession.create(
[all …]
DInputConnectionEndToEndTest.java107 import com.android.cts.mockime.MockImeSession;
326 void run(@NonNull MockImeSession session, @NonNull ImeEventStream stream) throws Exception; in run()
359 void run(@NonNull MockImeSession imeSession, @NonNull ImeEventStream imeStream, in run()
497 MockImeSession imeSession = MockImeSession.create( in testInputConnection()
564 MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testInputConnection()
691 testInputConnection(Wrapper::new, (MockImeSession session, ImeEventStream stream) -> { in testGetTextAfterCursor()
728 testInputConnection(Wrapper::new, (MockImeSession session, ImeEventStream stream) -> { in testGetTextAfterCursorFailWithNegativeLength()
768 testInputConnection(Wrapper::new, (MockImeSession session, ImeEventStream stream) -> { in testGetTextAfterCursorFailWithTimeout()
806 testInputConnection(Wrapper::new, (MockImeSession session, ImeEventStream stream) -> { in testGetTextAfterCursorFailFastAfterUnbindInput()
853 testInputConnection(Wrapper::new, (MockImeSession session, ImeEventStream stream) -> { in testGetTextBeforeCursor()
[all …]
DKeyboardVisibilityControlTest.java129 import com.android.cts.mockime.MockImeSession;
250 try (MockImeSession imeSession = MockImeSession.create( in testBasicShowHideSoftInput()
311 try (MockImeSession imeSession = MockImeSession.create( in verifyHideImeBackPressed()
443 try (MockImeSession imeSession = MockImeSession.create( in testShowHideSoftInputShouldBeIgnoredOnNonFocusedView()
478 try (MockImeSession imeSession = MockImeSession.create( in testToggleSoftInput()
514 try (MockImeSession imeSession = MockImeSession.create( in testShowHideKeyboardOnWebView()
539 try (MockImeSession imeSession = MockImeSession.create( in testShowHideKeyboardWithInterval()
578 try (MockImeSession imeSession = MockImeSession.create( in testShowHideKeyboardImmediately()
624 try (MockImeSession imeSession = MockImeSession.create( in testShowSoftInputWithShowForcedFlagWhenAppIsLeaving()
697 try (MockImeSession imeSession = MockImeSession.create( in testFloatingImeHideKeyboardAfterBackPressed()
[all …]
DSearchViewTest.java54 import com.android.cts.mockime.MockImeSession;
130 try (MockImeSession imeSession = MockImeSession.create( in testTapThenSetQuery()
161 try (MockImeSession imeSession = MockImeSession.create( in testShowImeWithSearchViewFocus()
195 try (MockImeSession imeSession = MockImeSession.create( in testShowImeWhenSearchViewFocusInListView()
DExtractViewTest.java46 import com.android.cts.mockime.MockImeSession;
87 try (MockImeSession imeSession = MockImeSession.create( in testOnCreateExtractTextView()
116 try (MockImeSession imeSession = MockImeSession.create( in testOnCreateExtractTextViewWithCustomView()
152 try (MockImeSession imeSession = MockImeSession.create( in testSetExtractView()
DInputMethodServiceStrictModeTest.java45 import com.android.cts.mockime.MockImeSession;
120 try (MockImeSession imeSession = MockImeSession.create( in verifyIms()
156 try (MockImeSession imeSession = MockImeSession.create( in testIncorrectContextUseOnImsDerivedDisplayContext()
DInputConnectionHandlerTest.java66 import com.android.cts.mockime.MockImeSession;
152 MockImeSession imeSession = MockImeSession.create( in testCommitText()
230 MockImeSession imeSession = MockImeSession.create( in testCloseConnectionWithRestartInput()
309 MockImeSession imeSession = MockImeSession.create( in testCloseConnectionWithLosingViewFocus()
387 MockImeSession imeSession = MockImeSession.create( in testCloseConnectionWithLosingWindowFocus()
458 MockImeSession imeSession = MockImeSession.create( in testReportFullscreenMode()
557 MockImeSession imeSession = MockImeSession.create( in testInputConnectionSideEffect()
725 MockImeSession imeSession = MockImeSession.create( in testExceptionFromGetSurroundingText()
DInputConnectionLifecycleTest.java51 import com.android.cts.mockime.MockImeSession;
96 try (MockImeSession imeSession = MockImeSession.create( in testCloseConnectionWithRestartInput()
175 try (MockImeSession imeSession = MockImeSession.create( in testCloseConnectionWithLosingViewFocus()
254 try (MockImeSession imeSession = MockImeSession.create( in testCloseConnectionWithLosingWindowFocus()
DImeSwitchingTest.java40 import com.android.cts.mockime.MockImeSession;
60 try (var session1 = MockImeSession.create( in testSwitchingIme()
63 var session2 = MockImeSession.create( in testSwitchingIme()
103 try (var session1 = MockImeSession.create( in testImeRemainsVisibleAfterSwitchingIme()
106 var session2 = MockImeSession.create( in testImeRemainsVisibleAfterSwitchingIme()
DOnScreenPositionTest.java39 import com.android.cts.mockime.MockImeSession;
64 try (MockImeSession imeSession = MockImeSession.create( in testImeIsNotBehindNavBar()
DEditTextImeSupportTest.java60 import com.android.cts.mockime.MockImeSession;
108 try (MockImeSession imeSession = MockImeSession.create( in testSetTextTriggersRestartInput()
211 try (MockImeSession imeSession = MockImeSession.create( in testNavigateFlags()
329 try (MockImeSession imeSession = MockImeSession.create( in testHideSoftInputWhenDisabled()
367 try (MockImeSession imeSession = MockImeSession.create( in testHideSoftInputByActionDone()
408 try (MockImeSession imeSession = MockImeSession.create( in testDisableImeAfterFocusChange()
DDumpTest.java37 import com.android.cts.mockime.MockImeSession;
58 try (MockImeSession imeSession = MockImeSession.create( in test_dumpDoesNotContainEditorText()
DPackageVisibilityTest.java43 import com.android.cts.mockime.MockImeSession;
74 try (MockImeSession imeSession = MockImeSession.create( in testTargetPackageIsVisibleFromIme()
DInputMethodStartInputLifecycleTest.java83 import com.android.cts.mockime.MockImeSession;
120 try (MockImeSession imeSession = MockImeSession.create( in testInputConnectionStateWhenScreenStateChanges()
203 try (MockImeSession imeSession = MockImeSession.create( in testNoStartNewInputWhileOtherProcessHasWindowFocus()
252 try (MockImeSession imeSession = MockImeSession.create( in testShowingImeDuringSessionChange_doesntShowOnPreviousSession()
351 try (MockImeSession imeSession = MockImeSession.create( in testInvalidateInputBeforeInputMethodSessionBecomesAvailable()
480 try (MockImeSession imeSession = MockImeSession.create( in testInvalidateInputMain()
DImeInsetsVisibilityTest.java71 import com.android.cts.mockime.MockImeSession;
97 try (MockImeSession imeSession = MockImeSession.create( in testImeVisibilityWhenImeFocusableChildPopup()
145 try (MockImeSession imeSession = MockImeSession.create( in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
194 try (MockImeSession imeSession = MockImeSession.create( in testImeVisibilityWhenImeFocusableChildPopupOverlaps()
244 try (MockImeSession imeSession = MockImeSession.create( in testEditTextPositionAndPersistWhenAboveImeWindowShown()
322 try (MockImeSession imeSession = MockImeSession.create( in testEditorWontCoveredByImeWhenInputWindowBehindPanel()
DSpellCheckerTest.kt62 import com.android.cts.mockime.MockImeSession in <lambda>()
131 MockImeSession.create(context).use { session -> in <lambda>()
173 MockImeSession.create(context).use { session -> in <lambda>()
203 MockImeSession.create(context).use { session -> in <lambda>()
227 MockImeSession.create(context).use { session -> in <lambda>()
280 MockImeSession.create(context).use { _ -> in <lambda>()
328 MockImeSession.create(context).use { _ -> in <lambda>()
363 MockImeSession.create(context).use { _ -> in <lambda>()
472 MockImeSession.create(context).use { in <lambda>()
507 MockImeSession.create(context).use { in <lambda>()
[all …]
DFocusHandlingTest.java107 import com.android.cts.mockime.MockImeSession;
169 try (MockImeSession imeSession = createTestImeSession()) { in testOnStartInputCalledOnceIme()
200 try (MockImeSession imeSession = createTestImeSession()) { in testSwitchingBetweenEquivalentNonEditableViews()
284 try (MockImeSession imeSession = createTestImeSession()) { in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView()
325 try (MockImeSession imeSession = createTestImeSession()) { in testNoEditorNoStartInput()
354 try (MockImeSession imeSession = createTestImeSession()) { in testDelayedAddEditorStartsInput()
385 try (MockImeSession imeSession = createTestImeSession()) { in testEditorStartsInput()
408 try (MockImeSession imeSession = createTestImeSession()) { in testSoftInputStateAlwaysVisibleFocusedEditorView()
437 try (MockImeSession imeSession = createTestImeSession()) { in testSoftInputStateAlwaysVisibleFocusEditorAfterLaunch()
485 try (MockImeSession imeSession = createTestImeSession()) { in testFocusableWindowDoesNotInvalidateExistingInputConnection()
[all …]
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSessionRule.java41 private MockImeSession mMockImeSession;
65 final String errorMsg = MockImeSession.getUnavailabilityReason(mContext); in apply()
69 mMockImeSession = MockImeSession.create(mContext, mUiAutomation, mImeSettings); in apply()
87 public MockImeSession getMockImeSession() {
/cts/tests/inputmethod/tests32/src/android/view/inputmethod/cts/sdk32/
DInputMethodManagerTest.kt31 import com.android.cts.mockime.MockImeSession in <lambda>()
49 MockImeSession.create(context, uiAutomation, ImeSettings.Builder()).use { session -> in <lambda>()
/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/
DMultiDisplaySecurityImeTests.java36 import com.android.cts.mockime.MockImeSession;
60 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testNoInputConnectionForUntrustedVirtualDisplay()
DMultiDisplayImeTests.java78 import com.android.cts.mockime.MockImeSession;
112 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testImeWindowCanSwitchToDifferentDisplays()
189 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testImeApiForBug118341760()
225 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
277 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testCrossDisplayBasicImeOperations()
327 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testDisplayPolicyImeHideImeOperation()
364 final MockImeSession imeSession = createManagedMockImeSession(this); in testHideImeWhenImeTargetOnEmbeddedVirtualDisplay()
415 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testImeWindowCanShownWhenActivityMovedToDisplay()
492 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testNoConfigurationChangedWhenSwitchBetweenTwoIdenticalDisplays()
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
DMultiUserMockImeTest.java49 import com.android.cts.mockime.MockImeSession;
112 try (var session1 = MockImeSession.create(context, uiAutomation, in testProfileSwitching()
114 var session2 = MockImeSession.create(instrumentation.getContext(), uiAutomation, in testProfileSwitching()

12