| /cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
| D | InputMethodServiceDeviceTest.java | 22 import static android.inputmethodservice.cts.common.BusyWaitUtils.pollingCheck; 94 pollingCheck(() -> helper.queryAllEvents() in testCreateIme1() 98 pollingCheck(() -> helper.queryAllEvents() in testCreateIme1() 114 pollingCheck(() -> helper.queryAllEvents() in testSwitchToNextInputMethod() 120 pollingCheck(() -> helper.shell(ShellCommandUtils.getCurrentIme(testUserId)) in testSwitchToNextInputMethod() 126 pollingCheck(() -> !helper.shell(ShellCommandUtils.getCurrentIme(testUserId)) in testSwitchToNextInputMethod() 145 pollingCheck(() -> helper.queryAllEvents() in switchToPreviousInputMethod() 152 pollingCheck(() -> helper.shell(ShellCommandUtils.getCurrentIme(testUserId)) in switchToPreviousInputMethod() 169 pollingCheck(() -> helper.queryAllEvents() in testSwitchToHandwritingInputMethod() 199 pollingCheck(() -> helper.shell(ShellCommandUtils.getCurrentIme(testUserId)) in testSwitchToHandwritingInputMethod() [all …]
|
| D | InputMethodManagerDeviceTest.java | 19 import static android.inputmethodservice.cts.common.BusyWaitUtils.pollingCheck; 80 pollingCheck(() -> mImm.getInputMethodList().stream().anyMatch( in testIme1InInputMethodList() 91 pollingCheck(() -> TextUtils.equals( in testIme1InCurrentInputMethodInfo() 103 pollingCheck(() -> { in testIme1NotCurrentInputMethodInfo() method 118 pollingCheck(() -> TextUtils.equals( in testIme2InCurrentInputMethodInfo() 130 pollingCheck(() -> { in testIme2NotCurrentInputMethodInfo() method 156 pollingCheck(() -> mImm.getEnabledInputMethodList().stream().anyMatch( in testIme1InEnabledInputMethodList() 178 pollingCheck(() -> mImm.getInputMethodList().stream().anyMatch( in testIme2InInputMethodList() 200 pollingCheck(() -> mImm.getEnabledInputMethodList().stream().anyMatch( in testIme2InEnabledInputMethodList() 223 pollingCheck(() -> mImm.getInputMethodList().stream() in testIme1ImplicitlyEnabledSubtypeExists() [all …]
|
| /cts/hostsidetests/compilation/src/android/compilation/cts/ |
| D | BackgroundDexOptimizationTest.java | 136 pollingCheck("Idle start timeout", JOB_START_TIMEOUT_MS, in testIdleOptimizationCancelled() 143 pollingCheck("Idle cancel timeout", DEXOPT_CANCEL_TIMEOUT_MS, in testIdleOptimizationCancelled() 167 pollingCheck("Post boot optimization timeout", DEXOPT_TIMEOUT_MS, in completePostBootOptimization() 182 pollingCheck("Idle optimization timeout", DEXOPT_TIMEOUT_MS, in completeIdleOptimization() 206 pollingCheck("Starting job timeout:" + cmd, DEXOPT_TIMEOUT_MS, in postJobSchedulerJob() 323 private void pollingCheck(CharSequence message, long timeout, in pollingCheck() method in BackgroundDexOptimizationTest
|
| /cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/ |
| D | UserUnlockTest.java | 98 pollingCheck("Ime " + imeId + " must exist.", timeout, () -> in assertImeInApiResult() 104 pollingCheck("Ime " + imeId + " must not exist.", timeout, () -> in assertImeNotInApiResult() 108 private static void pollingCheck(@NonNull String message, long timeout, in pollingCheck() method in UserUnlockTest
|
| /cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
| D | BusyWaitUtils.java | 56 public static void pollingCheck(PollingCondition condition, long timeout, String message) in pollingCheck() method in BusyWaitUtils
|
| /cts/tests/tests/media/session/src/android/media/session/cts/ |
| D | MediaActivityTest.java | 209 .that(pollingCheck(() -> { in testVolumeKey_whileSessionAlive() method 234 boolean downKeySuccess = pollingCheck(() -> { in testVolumeKey_afterSessionReleased() 245 assertThat(pollingCheck(() -> { in testVolumeKey_afterSessionReleased() method 322 private static boolean pollingCheck(Callable<Boolean> condition) throws Exception { in pollingCheck() method in MediaActivityTest
|
| /cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
| D | InputMethodServiceLifecycleTest.java | 19 import static android.inputmethodservice.cts.common.BusyWaitUtils.pollingCheck; 103 pollingCheck(() -> in installPackageSync() 434 pollingCheck(() -> !isPackageInstalled(getDevice(), packageName), PACKAGE_OP_TIMEOUT, in uninstallPackageSyncIfExists() 507 pollingCheck(() -> shell(cmd).contains(imeId), PACKAGE_OP_TIMEOUT, in waitUntilImesAreAvailableOrEnabled()
|