Searched refs:imeId (Results 1 – 5 of 5) 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 | 176 public void commandSwitchInputMethod(String imeId) { in commandSwitchInputMethod() argument 177 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() 437 private void assertImeNotSelectedInSecureSettings(String imeId, long timeout) throws Exception { in assertImeNotSelectedInSecureSettings() argument 440 throw new TimeoutException(imeId + " is still the current IME even after " in assertImeNotSelectedInSecureSettings() 443 if (!imeId.equals(shell(ShellCommandUtils.getCurrentIme()))) { in assertImeNotSelectedInSecureSettings() 471 for (String imeId : imeIds) { in waitUntilImesAreAvailableOrEnabled() 472 pollingCheck(() -> shell(cmd).contains(imeId), PACKAGE_OP_TIMEOUT, in waitUntilImesAreAvailableOrEnabled() 473 imeId + " should be " + (shouldBeEnabled ? "enabled." : "available.")); in waitUntilImesAreAvailableOrEnabled()
|
D | MultiUserTest.java | 342 private void waitUntilImeIsInShellCommandResult(String imeId, int userId) throws Exception { in waitUntilImeIsInShellCommandResult() argument 344 pollingCheck(() -> Arrays.stream(shell(command).split("\n")).anyMatch(imeId::equals), in waitUntilImeIsInShellCommandResult() 345 IME_COMMAND_TIMEOUT, imeId + " is not found for user #" + userId in waitUntilImeIsInShellCommandResult()
|