Home
last modified time | relevance | path

Searched refs:MOCK_IME_PKG (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DInputMethodEnumerationTests.java24 import static android.appenumeration.cts.Constants.MOCK_IME_PKG;
57 ComponentName.createRelative(MOCK_IME_PKG, ".CtsInputMethod1").flattenToShortString();
62 PollingCheck.check("Failed to wait for " + MOCK_IME_PKG in prepareInputMethod()
63 + " getting ready", DEFAULT_TIMEOUT_MS, () -> hasInputMethod(MOCK_IME_PKG)); in prepareInputMethod()
66 PollingCheck.check("Failed to wait for " + MOCK_IME_PKG in prepareInputMethod()
67 + " enabled", DEFAULT_TIMEOUT_MS, () -> hasEnabledInputMethod(MOCK_IME_PKG)); in prepareInputMethod()
73 uninstallPackage(MOCK_IME_PKG); in cleanUp()
78 assertNotVisible(QUERIES_NOTHING, MOCK_IME_PKG, this::getInputMethodList); in queriesNothing_getInputMethodList_cannotSeeMockIme()
83 assertVisible(QUERIES_PACKAGE, MOCK_IME_PKG, this::getInputMethodList); in queriesPackage_getInputMethodList_canSeeMockIme()
88 assertNotVisible(QUERIES_NOTHING, MOCK_IME_PKG, this::getEnabledInputMethodList); in queriesNothing_getEnabledInputMethodList_cannotSeeMockIme()
[all …]
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DConstants.java23 public static final String MOCK_IME_PKG = "android.inputmethodservice.cts.ime1"; field in Constants