Home
last modified time | relevance | path

Searched refs:pollingCheck (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodServiceDeviceTest.java22 import static android.inputmethodservice.cts.common.BusyWaitUtils.pollingCheck;
76 pollingCheck(() -> helper.queryAllEvents() in testCreateIme1()
80 pollingCheck(() -> helper.queryAllEvents() in testCreateIme1()
95 pollingCheck(() -> helper.queryAllEvents() in testSwitchIme1ToIme2()
99 pollingCheck(() -> helper.queryAllEvents() in testSwitchIme1ToIme2()
113 pollingCheck(() -> helper.shell(ShellCommandUtils.getCurrentIme()) in testSwitchIme1ToIme2()
116 pollingCheck(() -> helper.queryAllEvents() in testSwitchIme1ToIme2()
120 pollingCheck(() -> helper.queryAllEvents() in testSwitchIme1ToIme2()
140 pollingCheck(() -> helper.queryAllEvents() in testSwitchInputMethod()
152 pollingCheck(() -> helper.shell(ShellCommandUtils.getCurrentIme()) in testSwitchInputMethod()
[all …]
DInputMethodManagerDeviceTest.java19 import static android.inputmethodservice.cts.common.BusyWaitUtils.pollingCheck;
74 pollingCheck(() -> mImm.getInputMethodList().stream().anyMatch( in testIme1InInputMethodList()
96 pollingCheck(() -> mImm.getEnabledInputMethodList().stream().anyMatch( in testIme1InEnabledInputMethodList()
118 pollingCheck(() -> mImm.getInputMethodList().stream().anyMatch( in testIme2InInputMethodList()
140 pollingCheck(() -> mImm.getEnabledInputMethodList().stream().anyMatch( in testIme2InEnabledInputMethodList()
163 pollingCheck(() -> mImm.getInputMethodList().stream() in testIme1ImplicitlyEnabledSubtypeExists()
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DInputMethodServiceLifecycleTest.java19 import static android.inputmethodservice.cts.common.BusyWaitUtils.pollingCheck;
112 pollingCheck(() -> in installPackageSync()
426 pollingCheck(() -> !isPackageInstalled(getDevice(), packageName), PACKAGE_OP_TIMEOUT, in uninstallPackageSyncIfExists()
472 pollingCheck(() -> shell(cmd).contains(imeId), PACKAGE_OP_TIMEOUT, in waitUntilImesAreAvailableOrEnabled()
DMultiUserTest.java19 import static android.inputmethodservice.cts.common.BusyWaitUtils.pollingCheck;
344 pollingCheck(() -> Arrays.stream(shell(command).split("\n")).anyMatch(imeId::equals), in waitUntilImeIsInShellCommandResult()
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DBusyWaitUtils.java56 public static void pollingCheck(PollingCondition condition, long timeout, String message) in pollingCheck() method in BusyWaitUtils