Home
last modified time | relevance | path

Searched refs:mTimeoutMs (Results 1 – 6 of 6) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/
DOneTimeCancellationSignalListener.java33 private final long mTimeoutMs; field in OneTimeCancellationSignalListener
36 mTimeoutMs = timeoutMs; in OneTimeCancellationSignalListener()
40 final boolean called = mLatch.await(mTimeoutMs, TimeUnit.MILLISECONDS); in assertOnCancelCalled()
41 assertWithMessage("Timeout (%s ms) waiting for onCancel()", mTimeoutMs) in assertOnCancelCalled()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DActivitiesWatcher.java42 private final long mTimeoutMs; field in ActivitiesWatcher
50 mTimeoutMs = timeoutMs; in ActivitiesWatcher()
119 final ActivityWatcher watcher = new ActivityWatcher(mTimeoutMs); in watch()
148 private final long mTimeoutMs; field in ActivitiesWatcher.ActivityWatcher
151 mTimeoutMs = timeoutMs; in ActivityWatcher()
162 final boolean called = latch.await(mTimeoutMs, TimeUnit.MILLISECONDS); in waitFor()
164 throw new IllegalStateException(lifecycle + " not called in " + mTimeoutMs + " ms"); in waitFor()
DOneTimeDeviceConfigListener.java42 private final long mTimeoutMs; field in OneTimeDeviceConfigListener
55 mTimeoutMs = timeoutMs; in OneTimeDeviceConfigListener()
76 final boolean updated = mLatch.await(mTimeoutMs, TimeUnit.MILLISECONDS); in assertCalled()
79 "Settings " + mKey + " not called in " + mTimeoutMs + "ms"); in assertCalled()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DActivitiesWatcher.java42 private final long mTimeoutMs; field in ActivitiesWatcher
50 mTimeoutMs = timeoutMs; in ActivitiesWatcher()
119 final ActivityWatcher watcher = new ActivityWatcher(mTimeoutMs); in watch()
148 private final long mTimeoutMs; field in ActivitiesWatcher.ActivityWatcher
151 mTimeoutMs = timeoutMs; in ActivityWatcher()
162 final boolean called = latch.await(mTimeoutMs, TimeUnit.MILLISECONDS); in waitFor()
164 throw new IllegalStateException(lifecycle + " not called in " + mTimeoutMs + " ms"); in waitFor()
DOneTimeDeviceConfigListener.java42 private final long mTimeoutMs; field in OneTimeDeviceConfigListener
55 mTimeoutMs = timeoutMs; in OneTimeDeviceConfigListener()
76 final boolean updated = mLatch.await(mTimeoutMs, TimeUnit.MILLISECONDS); in assertCalled()
79 "Settings " + mKey + " not called in " + mTimeoutMs + "ms"); in assertCalled()
/cts/tests/tests/media/src/android/media/cts/
DMediaRandomTest.java113 private final long mTimeoutMs; field in MediaRandomTest.Watchdog
118 mTimeoutMs = timeoutMs; in Watchdog()
127 long remainingWaitTimeMs = mTimeoutMs; in run()
134 remainingWaitTimeMs = mTimeoutMs - (System.currentTimeMillis() - startTimeMs); in run()
143 + " waited over " + (mTimeoutMs - remainingWaitTimeMs) + " ms"); in run()