OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MockImeSession
(Results
1 - 13
of
13
) sorted by null
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
MockImeSessionRule.java
33
* Custom JUnit4 rule to automatically open and close a {@link
MockImeSession
}.
41
private
MockImeSession
mMockImeSession;
63
Log.v(TAG, "Creating
MockImeSession
on " + description.getDisplayName());
65
mMockImeSession =
MockImeSession
.create(mContext, mUiAutomation, mImeSettings);
71
Log.v(TAG, "Closing
MockImeSession
on " + description.getDisplayName());
82
public
MockImeSession
getMockImeSession() {
MockImeSession.java
58
* <p>To use {@link MockIme} via {@link
MockImeSession
}, you need to </p>
61
public class
MockImeSession
implements AutoCloseable {
184
private
MockImeSession
(@NonNull Context context, @NonNull UiAutomation uiAutomation) {
220
public static
MockImeSession
create(@NonNull Context context) throws Exception {
237
public static
MockImeSession
create(
246
final
MockImeSession
client = new
MockImeSession
(context, uiAutomation);
[
all
...]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
FocusHandlingTest.java
59
import com.android.cts.mockime.
MockImeSession
;
100
try (
MockImeSession
imeSession =
MockImeSession
.create(
130
try (
MockImeSession
imeSession =
MockImeSession
.create(
173
try (
MockImeSession
imeSession =
MockImeSession
.create(
199
try (
MockImeSession
imeSession =
MockImeSession
.create(
240
try (
MockImeSession
imeSession = MockImeSession.create
[
all
...]
SearchViewTest.java
40
import com.android.cts.mockime.
MockImeSession
;
82
try (
MockImeSession
imeSession =
MockImeSession
.create(
112
try (
MockImeSession
imeSession =
MockImeSession
.create(
KeyboardVisibilityControlTest.java
47
import com.android.cts.mockime.
MockImeSession
;
137
try (
MockImeSession
imeSession =
MockImeSession
.create(
173
try (
MockImeSession
imeSession =
MockImeSession
.create(
205
try (
MockImeSession
imeSession =
MockImeSession
.create(
InputMethodServiceTest.java
62
import com.android.cts.mockime.
MockImeSession
;
120
try (
MockImeSession
imeSession =
MockImeSession
.create(
172
try (
MockImeSession
imeSession =
MockImeSession
.create(
189
try (
MockImeSession
imeSession =
MockImeSession
.create(
234
try (
MockImeSession
imeSession =
MockImeSession
.create(
303
try (
MockImeSession
imeSession = MockImeSession.create
[
all
...]
OnScreenPositionTest.java
44
import com.android.cts.mockime.
MockImeSession
;
85
try (
MockImeSession
imeSession =
MockImeSession
.create(
NavigationBarColorTest.java
63
import com.android.cts.mockime.
MockImeSession
;
248
try (
MockImeSession
imeSession =
MockImeSession
.create(
/cts/tests/framework/base/windowmanager/src/android/server/wm/
MultiDisplayClientTests.java
51
import com.android.cts.mockime.
MockImeSession
;
169
final
MockImeSession
mockImeSession
=
MockImeSession
.create(mContext)) {
172
activityClass,
mockImeSession
, DEFAULT_DISPLAY);
179
activityClass,
mockImeSession
, newDisplay.mId);
184
MockImeSession
imeSession, int targetDisplayId) throws Exception {
MultiDisplaySystemDecorationTests.java
76
import com.android.cts.mockime.
MockImeSession
;
396
// Leverage
MockImeSession
to ensure at least an IME exists as default.
397
final
MockImeSession
mockImeSession
=
MockImeSession
.create(
407
final ImeEventStream stream =
mockImeSession
.openEventStream();
447
// Leverage
MockImeSession
to ensure at least an IME exists as default.
448
final
MockImeSession
mockImeSession
=
MockImeSession
.create
[
all
...]
KeyguardLockedTests.java
50
import com.android.cts.mockime.
MockImeSession
;
316
// Leverage
MockImeSession
to ensure at least an IME exists as default.
317
final
MockImeSession
mockImeSession
=
MockImeSession
.create(mContext,
326
final ImeEventStream stream =
mockImeSession
.openEventStream();
339
// Leverage
MockImeSession
to ensure at least an IME exists as default.
340
final
MockImeSession
mockImeSession
=
MockImeSession
.create(mContext
[
all
...]
ActivityViewTest.java
63
import com.android.cts.mockime.
MockImeSession
;
231
try (final
MockImeSession
imeSession =
MockImeSession
.create(mContext,
/cts/tests/autofillservice/src/android/autofillservice/cts/
DatasetFilteringTest.java
38
import com.android.cts.mockime.
MockImeSession
;
179
final
MockImeSession
mockImeSession
= sMockImeSessionRule.getMockImeSession();
199
final ImeEventStream stream =
mockImeSession
.openEventStream();
215
final ImeCommand cmd1 =
mockImeSession
.callCommitText("a", 1);
220
final ImeCommand cmd2 =
mockImeSession
.callCommitText("a", 1);
225
final ImeCommand cmd3 =
mockImeSession
.callSendDownUpKeyEvents(KeyEvent.KEYCODE_DEL);
230
final ImeCommand cmd4 =
mockImeSession
.callSendDownUpKeyEvents(KeyEvent.KEYCODE_DEL);
236
final ImeCommand cmd5 =
mockImeSession
.callCommitText("aaa", 1);
Completed in 1886 milliseconds