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.java205 @NonNull ImeCommand command, long timeout) throws TimeoutException {
210 final ImeCommand eventCommand =
211 ImeCommand.fromBundle(event.getArguments().getBundle("command"));
DMockIme.java123 private final Consumer<ImeCommand> mOnReceiveCommand;
126 @NonNull Consumer<ImeCommand> onReceiveCommand) { in CommandReceiver()
134 mOnReceiveCommand.accept(ImeCommand.fromBundle(intent.getExtras())); in onReceive()
150 private void onReceiveCommand(@NonNull ImeCommand command) { in onReceiveCommand()
161 private void onHandleCommand(@NonNull ImeCommand command) { in onHandleCommand()
1200 void onReceiveCommand(@NonNull ImeCommand command, @NonNull Runnable runnable) {
1207 @NonNull ImeCommand command, @NonNull Supplier<Object> resultSupplier) {
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionBlockingMethodTest.java55 import com.android.cts.mockime.ImeCommand;
268 final ImeCommand command = session.callGetTextAfterCursor(expectedN, expectedFlags); in testGetTextAfterCursor()
297 final ImeCommand command = session.callGetTextAfterCursor( in testGetTextAfterCursorFailWithTimeout()
369 final ImeCommand command = session.callGetTextBeforeCursor(expectedN, expectedFlags); in testGetTextBeforeCursor()
398 final ImeCommand command = session.callGetTextBeforeCursor( in testGetTextBeforeCursorFailWithTimeout()
468 final ImeCommand command = session.callGetSelectedText(expectedFlags); in testGetSelectedText()
497 final ImeCommand command = in testGetSelectedTextFailWithTimeout()
567 final ImeCommand command = session.callGetCursorCapsMode(expectedReqMode); in testGetCursorCapsMode()
595 final ImeCommand command = session.callGetCursorCapsMode(TextUtils.CAP_MODE_WORDS); in testGetCursorCapsModeFailWithTimeout()
665 final ImeCommand command = session.callGetExtractedText(expectedRequest, expectedFlags); in testGetExtractedText()
[all …]
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.java72 import com.android.cts.mockime.ImeCommand;
294 final ImeCommand commit1 = imeSession.callCommitText("test commit", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
320 final ImeCommand commit2 = imeSession.callCommitText("Hello!", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
350 final ImeCommand commit3 = imeSession.callCommitText("World!", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
363 final ImeCommand commit4 = imeSession.callCommitText("Done!", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
480 final ImeCommand command = imeSession.callCommitText("test commit", 1); in testRestartInputWhileOtherProcessHasWindowFocus()
577 final ImeCommand commit = imeSession.callCommitText("test commit", 1); in testMultiWindowFocusHandleOnDifferentUiThread()
DPackageVisibilityTest.java48 import com.android.cts.mockime.ImeCommand;
169 final ImeCommand command = imeSession.callGetApplicationInfo( in testTargetPackageIsVisibleFromIme()
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.java81 import com.android.cts.mockime.ImeCommand;
582 final ImeCommand callCursorUpdates = mockImeSession.callRequestCursorUpdates( in testCrossDisplayBasicImeOperations()