Searched refs:imeId (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/ |
D | ShellCommandUtils.java | 45 public static String setCurrentImeSync(String imeId) { in setCurrentImeSync() argument 46 return "ime set " + imeId; in setCurrentImeSync() 50 public static String setCurrentImeSync(String imeId, int userId) { in setCurrentImeSync() argument 51 return String.format("ime set --user %d %s", userId, imeId); in setCurrentImeSync() 75 public static String enableIme(String imeId) { in enableIme() argument 76 return "ime enable " + imeId; in enableIme() 80 public static String enableIme(String imeId, int userId) { in enableIme() argument 81 return String.format("ime enable --user %d %s", userId, imeId); in enableIme() 85 public static String disableIme(String imeId) { in disableIme() argument 86 return "ime disable " + imeId; in disableIme() [all …]
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | ImeCommandReceiver.java | 50 void commandSwitchInputMethod(String imeId); in commandSwitchInputMethod() argument 80 final String imeId = getString1(intent); in onReceive() local 81 mIme.commandSwitchInputMethod(imeId); in onReceive() 90 final String imeId = getString1(intent); in onReceive() local 92 mIme.switchInputMethod(imeId, null /* subtype*/); in onReceive()
|
D | CtsBaseInputMethod.java | 227 public void commandSwitchInputMethod(String imeId) { in commandSwitchInputMethod() argument 228 switchInputMethod(imeId); in commandSwitchInputMethod()
|
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | InputMethodServiceLifecycleTest.java | 126 private void installImePackageSync(String apkFileName, String imeId) throws Exception { in installImePackageSync() argument 128 waitUntilImesAreAvailable(imeId); in installImePackageSync() 515 private void assertImeNotSelectedInSecureSettings(String imeId, long timeout) throws Exception { in assertImeNotSelectedInSecureSettings() argument 518 throw new TimeoutException(imeId + " is still the current IME even after " in assertImeNotSelectedInSecureSettings() 521 if (!imeId.equals(shell(ShellCommandUtils.getCurrentIme()))) { in assertImeNotSelectedInSecureSettings() 549 for (String imeId : imeIds) { in waitUntilImesAreAvailableOrEnabled() 550 pollingCheck(() -> shell(cmd).contains(imeId), PACKAGE_OP_TIMEOUT, in waitUntilImesAreAvailableOrEnabled() 551 imeId + " should be " + (shouldBeEnabled ? "enabled." : "available.")); in waitUntilImesAreAvailableOrEnabled()
|
D | MultiUserTest.java | 348 private void waitUntilImeIsInShellCommandResult(String imeId, int userId) throws Exception { in waitUntilImeIsInShellCommandResult() argument 350 pollingCheck(() -> Arrays.stream(shell(command).split("\n")).anyMatch(imeId::equals), in waitUntilImeIsInShellCommandResult() 351 IME_COMMAND_TIMEOUT, imeId + " is not found for user #" + userId in waitUntilImeIsInShellCommandResult()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilitySoftKeyboardTest.java | 200 TestImeSession(String imeId) { in TestImeSession() argument 202 final String enableImeCommand = ShellCommandUtils.enableIme(imeId); in TestImeSession()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | SpellCheckerTest.kt | 693 private inner class ImeSession(val imeId: String) : AutoCloseable { in <lambda>() constant in android.view.inputmethod.cts.SpellCheckerTest.ImeSession 697 SystemUtil.runCommandAndPrintOnLogcat(TAG, "ime enable $imeId") in <lambda>() 698 SystemUtil.runCommandAndPrintOnLogcat(TAG, "ime set $imeId") in <lambda>() 699 PollingCheck.check("Make sure that $imeId is selected", TIMEOUT) { in <lambda>() 700 getCurrentInputMethodInfo().id == imeId in <lambda>()
|