Home
last modified time | relevance | path

Searched refs:ImeCommand (Results 1 – 11 of 11) sorted by relevance

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSession.java322 private ImeCommand callCommandInternal(@NonNull String commandName, @NonNull Bundle params) { in callCommandInternal()
323 final ImeCommand command = new ImeCommand( in callCommandInternal()
346 public ImeCommand memorizeCurrentInputConnection() { in memorizeCurrentInputConnection()
361 public ImeCommand unmemorizeCurrentInputConnection() { in unmemorizeCurrentInputConnection()
385 public ImeCommand callGetTextBeforeCursor(int n, int flag) { in callGetTextBeforeCursor()
411 public ImeCommand callGetTextAfterCursor(int n, int flag) { in callGetTextAfterCursor()
436 public ImeCommand callGetSelectedText(int flag) { in callGetSelectedText()
460 public ImeCommand callGetCursorCapsMode(int reqModes) { in callGetCursorCapsMode()
486 public ImeCommand callGetExtractedText(@Nullable ExtractedTextRequest request, int flags) { in callGetExtractedText()
513 public ImeCommand callDeleteSurroundingText(int beforeLength, int afterLength) { in callDeleteSurroundingText()
[all …]
DImeCommand.java23 public final class ImeCommand { class
37 ImeCommand(@NonNull String name, long id, boolean dispatchToMainThread, in ImeCommand() method in ImeCommand
45 private ImeCommand(@NonNull Bundle bundle) { in ImeCommand() method in ImeCommand
52 static ImeCommand fromBundle(@NonNull Bundle bundle) { in fromBundle()
53 return new ImeCommand(bundle); in fromBundle()
DImeEventStreamTestUtils.java224 @NonNull ImeCommand command, long timeout) throws TimeoutException {
229 final ImeCommand eventCommand =
230 ImeCommand.fromBundle(event.getArguments().getBundle("command"));
DMockIme.java125 private final Consumer<ImeCommand> mOnReceiveCommand;
128 @NonNull Consumer<ImeCommand> onReceiveCommand) { in CommandReceiver()
136 mOnReceiveCommand.accept(ImeCommand.fromBundle(intent.getExtras())); in onReceive()
152 private void onReceiveCommand(@NonNull ImeCommand command) { in onReceiveCommand()
163 private void onHandleCommand(@NonNull ImeCommand command) { in onHandleCommand()
1232 void onReceiveCommand(@NonNull ImeCommand command, @NonNull Runnable runnable) {
1239 @NonNull ImeCommand command, @NonNull Supplier<Object> resultSupplier) {
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionBlockingMethodTest.java55 import com.android.cts.mockime.ImeCommand;
267 final ImeCommand command = session.callGetTextAfterCursor(expectedN, expectedFlags); in testGetTextAfterCursor()
296 final ImeCommand command = session.callGetTextAfterCursor( in testGetTextAfterCursorFailWithTimeout()
368 final ImeCommand command = session.callGetTextBeforeCursor(expectedN, expectedFlags); in testGetTextBeforeCursor()
397 final ImeCommand command = session.callGetTextBeforeCursor( in testGetTextBeforeCursorFailWithTimeout()
467 final ImeCommand command = session.callGetSelectedText(expectedFlags); in testGetSelectedText()
496 final ImeCommand command = in testGetSelectedTextFailWithTimeout()
566 final ImeCommand command = session.callGetCursorCapsMode(expectedReqMode); in testGetCursorCapsMode()
594 final ImeCommand command = session.callGetCursorCapsMode(TextUtils.CAP_MODE_WORDS); in testGetCursorCapsModeFailWithTimeout()
664 final ImeCommand command = session.callGetExtractedText(expectedRequest, expectedFlags); in testGetExtractedText()
[all …]
DPackageVisibilityTest.java39 import com.android.cts.mockime.ImeCommand;
91 final ImeCommand command = imeSession.callGetApplicationInfo( in testTargetPackageIsVisibleFromIme()
DInputMethodStartInputLifecycleTest.java60 import com.android.cts.mockime.ImeCommand;
147 final ImeCommand commit = imeSession.callCommitText("Hi!", 1); in testInputConnectionStateWhenScreenStateChanges()
166 final ImeCommand commit1 = imeSession.callCommitText("Hello!", 1); in testInputConnectionStateWhenScreenStateChanges()
DFocusHandlingTest.java73 import com.android.cts.mockime.ImeCommand;
296 final ImeCommand commit1 = imeSession.callCommitText("test commit", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
322 final ImeCommand commit2 = imeSession.callCommitText("Hello!", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
352 final ImeCommand commit3 = imeSession.callCommitText("World!", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
365 final ImeCommand commit4 = imeSession.callCommitText("Done!", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
482 final ImeCommand command = imeSession.callCommitText("test commit", 1); in testRestartInputWhileOtherProcessHasWindowFocus()
579 final ImeCommand commit = imeSession.callCommitText("test commit", 1); in testMultiWindowFocusHandleOnDifferentUiThread()
DInputMethodServiceTest.java74 import com.android.cts.mockime.ImeCommand;
162 final ImeCommand command = imeSession.verifyLayoutInflaterContext();
179 final ImeCommand command = imeSession.callSetBackDisposition(backDisposition);
557 final ImeCommand commit = imeSession.callCommitText(firstCommitMsg, 1);
583 final ImeCommand secondCommit = imeSession.callCommitText(secondCommitMsg, 1);
600 final ImeCommand setSelection =
605 final ImeCommand commitFirstAgain = imeSession.callCommitText(firstCommitMsg, 1);
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DDatasetFilteringTest.java43 import com.android.cts.mockime.ImeCommand;
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/
DMultiDisplaySystemDecorationTests.java82 import com.android.cts.mockime.ImeCommand;
570 final ImeCommand callCursorUpdates = mockImeSession.callRequestCursorUpdates( in testCrossDisplayBasicImeOperations()