Searched refs:mockImeSession (Results 1 – 7 of 7) sorted by relevance
/cts/tests/inputmethod/src/com/android/cts/mockime/ |
D | MockImeSessionCrashTest.java | 53 try (var mockImeSession = MockImeSession.create(mContext)) { in testRetrieveExitReasonsWhenMockImeSessionCrashes() argument 54 assertThat(mockImeSession.retrieveExitReasonIfMockImeCrashed()).isNull(); in testRetrieveExitReasonsWhenMockImeSessionCrashes() 56 runShellCommandOrThrow("am force-stop " + mockImeSession.getMockImePackageName()); in testRetrieveExitReasonsWhenMockImeSessionCrashes() 59 mockImeSession.findLatestMockImeSessionExitInfo() != null); in testRetrieveExitReasonsWhenMockImeSessionCrashes() 60 final var exitInfo = mockImeSession.findLatestMockImeSessionExitInfo(); in testRetrieveExitReasonsWhenMockImeSessionCrashes() 64 assertThat(mockImeSession.retrieveExitReasonIfMockImeCrashed()).isNotNull(); in testRetrieveExitReasonsWhenMockImeSessionCrashes()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/ |
D | MultiDisplayImeTests.java | 112 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testImeWindowCanSwitchToDifferentDisplays() local 124 final ImeEventStream stream = mockImeSession.openEventStream(); in testImeWindowCanSwitchToDifferentDisplays() 161 try (var mockImeSession = createManagedMockImeSession(this); in testFallbackImmMaintainsParameters() argument 170 final var stream = mockImeSession.openEventStream(); in testFallbackImmMaintainsParameters() 182 PollingCheck.waitFor(() -> !mockImeSession.hasPendingImeVisibilityRequests(), in testFallbackImmMaintainsParameters() 189 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testImeApiForBug118341760() local 201 final ImeEventStream stream = mockImeSession.openEventStream(); in testImeApiForBug118341760() 225 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testImeWindowCanSwitchWhenTopFocusedDisplayChange() local 242 final ImeEventStream stream = mockImeSession.openEventStream(); in testImeWindowCanSwitchWhenTopFocusedDisplayChange() 277 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testCrossDisplayBasicImeOperations() local [all …]
|
D | MultiDisplaySecurityImeTests.java | 60 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testNoInputConnectionForUntrustedVirtualDisplay() local 77 final ImeEventStream stream = mockImeSession.openEventStream(); in testNoInputConnectionForUntrustedVirtualDisplay()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineLoginActivityTest.java | 318 final MockImeSession mockImeSession = sMockImeSessionRule.getMockImeSession(); in testAutofill_noInvalid() local 319 assumeTrue("MockIME not available", mockImeSession != null); in testAutofill_noInvalid() 321 mockImeSession.callSetInlineSuggestionsExtras(bundle); in testAutofill_noInvalid() 405 final MockImeSession mockImeSession = sMockImeSessionRule.getMockImeSession(); in testImeDisableInlineSuggestions_fallbackDropdownUi() local 406 assumeTrue("MockIME not available", mockImeSession != null); in testImeDisableInlineSuggestions_fallbackDropdownUi() 411 mockImeSession.callSetInlineSuggestionsExtras(bundle); in testImeDisableInlineSuggestions_fallbackDropdownUi() 508 final MockImeSession mockImeSession = sMockImeSessionRule.getMockImeSession(); in testTouchEventPassToIme() local 509 assumeTrue("MockIME not available", mockImeSession != null); in testTouchEventPassToIme() 529 final ImeEventStream stream = mockImeSession.openEventStream(); in testTouchEventPassToIme()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | DatasetFilteringTest.java | 190 final MockImeSession mockImeSession = sMockImeSessionRule.getMockImeSession(); in testFilter_usingKeyboard() local 191 assumeTrue("MockIME not available", mockImeSession != null); in testFilter_usingKeyboard() 215 final ImeEventStream stream = mockImeSession.openEventStream(); in testFilter_usingKeyboard() 232 final ImeCommand cmd1 = mockImeSession.callCommitText("a", 1); in testFilter_usingKeyboard() 237 final ImeCommand cmd2 = mockImeSession.callCommitText("a", 1); in testFilter_usingKeyboard() 242 final ImeCommand cmd3 = mockImeSession.callSendDownUpKeyEvents(KeyEvent.KEYCODE_DEL); in testFilter_usingKeyboard() 247 final ImeCommand cmd4 = mockImeSession.callSendDownUpKeyEvents(KeyEvent.KEYCODE_DEL); in testFilter_usingKeyboard() 253 final ImeCommand cmd5 = mockImeSession.callCommitText("aaa", 1); in testFilter_usingKeyboard()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/ |
D | KeyguardLockedTests.java | 358 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testShowWhenLockedAttrImeActivityAndShowSoftInput() local 367 final ImeEventStream stream = mockImeSession.openEventStream(); in testShowWhenLockedAttrImeActivityAndShowSoftInput() 379 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testShowWhenLockedImeActivityAndShowSoftInput() local 389 final ImeEventStream stream = mockImeSession.openEventStream(); in testShowWhenLockedImeActivityAndShowSoftInput() 402 final MockImeSession mockImeSession = createManagedMockImeSession(this); in testImeShowsAfterLockScreenOnEditorTap() local 423 final ImeEventStream stream = mockImeSession.openEventStream(); in testImeShowsAfterLockScreenOnEditorTap()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/ |
D | MultiDisplayClientTests.java | 160 final MockImeSession mockImeSession = MockImeHelper.createManagedMockImeSession(this); in testDisplayIdUpdateWhenImeMove() local 163 activityClass, mockImeSession, DEFAULT_DISPLAY); in testDisplayIdUpdateWhenImeMove() 173 activityClass, mockImeSession, newDisplay.mId); in testDisplayIdUpdateWhenImeMove()
|