Home
last modified time | relevance | path

Searched refs:ic (Results 1 – 9 of 9) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityInputConnectionTest.java127 final InputConnection ic = super.onCreateInputConnection(editorInfo); in setUp()
134 return new InputConnectionSplitter(ic, spy); in setUp()
161 final InputMethod.AccessibilityInputConnection ic = getInputConnection(); in testCommitText() local
164 ic.commitText("test", 1, null); in testCommitText()
171 final InputMethod.AccessibilityInputConnection ic = getInputConnection(); in testSetSelection() local
174 ic.setSelection(1, 2); in testSetSelection()
180 final InputMethod.AccessibilityInputConnection ic = getInputConnection(); in testGetSurroundingText() local
183 ic.getSurroundingText(1, 2, InputConnection.GET_TEXT_WITH_STYLES); in testGetSurroundingText()
190 final InputMethod.AccessibilityInputConnection ic = getInputConnection(); in testDeleteSurroundingText() local
193 ic.deleteSurroundingText(2, 1); in testDeleteSurroundingText()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java217 final BaseInputConnection ic = in verifyDeleteSurroundingTextMain() local
221 Selection.removeSelection(ic.getEditable()); in verifyDeleteSurroundingTextMain()
224 final boolean result = ic.deleteSurroundingText(deleteBefore, deleteAfter); in verifyDeleteSurroundingTextMain()
226 assertEquals(expectedState, ic.getEditable().toString()); in verifyDeleteSurroundingTextMain()
238 verifyTextAndSelection(ic, expectedString, expectedSelectionStart, expectedSelectionEnd); in verifyDeleteSurroundingTextMain()
293 final BaseInputConnection ic = in verifyDeleteSurroundingTextInCodePointsMain() local
295 ic.deleteSurroundingTextInCodePoints(deleteBeforeInCodePoints, deleteAfterInCodePoints); in verifyDeleteSurroundingTextInCodePointsMain()
300 verifyTextAndSelection(ic, expectedString, expectedSelectionStart, expectedSelectionEnd); in verifyDeleteSurroundingTextInCodePointsMain()
667 final BaseInputConnection ic = in verifyReplaceText() local
669 assertTrue(ic.replaceText(start, end, text, newCursorPosition, null)); in verifyReplaceText()
[all …]
DInputConnectionWrapperTest.java183 final InputConnection ic = mock(InputConnection.class); in testTakeSnapshot() local
184 final InputConnectionWrapper wrapper = new InputConnectionWrapper(ic, true); in testTakeSnapshot()
187 doReturn(snapshot).when(ic).takeSnapshot(); in testTakeSnapshot()
189 verify(ic, times(1)).takeSnapshot(); in testTakeSnapshot()
DInputConnectionEndToEndTest.java460 ic -> LegacyImeClientTestUtils.createMinimallyImplementedNoOpInputConnection(), in testMinimallyImplementedInputConnection()
478 ic -> LegacyImeClientTestUtils.createMinimallyImplementedNoOpInputConnection(), in testMinimallyImplementedInputConnectionForA11y()
519 final InputConnection ic = super.onCreateInputConnection(outAttrs); in testInputConnection()
520 return inputConnectionWrapperProvider.apply(ic); in testInputConnection()
585 final InputConnection ic = super.onCreateInputConnection(outAttrs); in testInputConnection()
586 return inputConnectionWrapperProvider.apply(ic); in testInputConnection()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DCtsBaseInputMethod.java220 executeOnInputConnection(ic -> { in commandCommitText()
222 ic.commitText(text, newCursorPosition); in commandCommitText()
237 final InputConnection ic = getCurrentInputConnection(); in executeOnInputConnection() local
240 if (ic != null) { in executeOnInputConnection()
241 consumer.accept(ic); in executeOnInputConnection()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewReceiveContentTest.java155 InputConnection ic = mTextView.onCreateInputConnection(editorInfo); in testTextView_onCreateInputConnection_noCustomReceiver() local
156 assertThat(ic).isNotNull(); in testTextView_onCreateInputConnection_noCustomReceiver()
171 InputConnection ic = mTextView.onCreateInputConnection(editorInfo); in testTextView_onCreateInputConnection_customReceiver() local
172 assertThat(ic).isNotNull(); in testTextView_onCreateInputConnection_customReceiver()
189 InputConnection ic = mTextView.onCreateInputConnection(editorInfo); in testTextView_onCreateInputConnection_customReceiver_oldTargetSdk() local
190 assertThat(ic).isNotNull(); in testTextView_onCreateInputConnection_customReceiver_oldTargetSdk()
853 InputConnection ic = mTextView.onCreateInputConnection(editorInfo); in triggerImeCommitContent() local
854 return ic.commitContent(contentInfo, 0, opts); in triggerImeCommitContent()
/cts/tests/tests/security/res/raw/
Dcve_2019_2245.ts1295 …�45��G XnT�M4�L�Ց[�.UT�[�.�*M �n��8�����SzA�QAX0 x�YG�a.C},&����$2� K�9�*ic�Y����;�
3099 …o�h�Kj�%%�\�$*G�'��A���ڄ� ���I � D����cЂ����놝Cp"����;�oD�`���G�1ic�wU�tQJ<���w��Ж��<�Ұ…
4235 ���"M̭�%�����q�nԅ�Ee oZ���E)C�)��W#o#X�,��ȑ��T����ic �R"�Z֫�-�9�Ц��[E
7721 `�T�«ic�C��Ir�Ϟ�?�Wϟ>y���ϟ>|���ϟ6|���ω>|���Ͽ�G�1]y��[�ޮ���:jڮ�"�i�of�J�Q
Dcve_2018_13925.ts1296 …�45��G XnT�M4�L�Ց[�.UT�[�.�*M �n��8�����SzA�QAX0 x�YG�a.C},&����$2� K�9�*ic�Y����;�
3100 …o�h�Kj�%%�\�$*G�'��A���ڄ� ���I � D����cЂ����놝Cp"����;�oD�`���G�1ic�wU�tQJ<���w��Ж��<�Ұ…
7820 `�T�«ic�C��Ir�Ϟ�?�Wϟ>y���ϟ>|���ϟ6|���ω>|���Ͽ�G�1]y��[�ޮ���:jڮ�"�i�of�J�Q
Dcve_2019_2244.ts1295 …�45��G XnT�M4�L�Ց[�.UT�[�.�*M �n��8�����SzA�QAX0 x�YG�a.C},&����$2� K�9�*ic�Y����;�
3101 …o�h�Kj�%%�\�$*G�'��A���ڄ� ���I � D����cЂ����놝Cp"����;�oD�`���G�1ic�wU�tQJ<���w��Ж��<�Ұ…
7826 `�T�«ic�C��Ir�Ϟ�?�Wϟ>y���ϟ>|���ϟ6|���ω>|���Ͽ�G�1]y��[�ޮ���:jڮ�"�i�of�J�Q