Home
last modified time | relevance | path

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

/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
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.java41 private final long mTimeoutMs; field in OneTimeDeviceConfigListener
54 mTimeoutMs = timeoutMs; in OneTimeDeviceConfigListener()
78 final boolean updated = mLatch.await(mTimeoutMs, TimeUnit.MILLISECONDS); in assertCalled()
81 "Settings " + mKey + " not called in " + mTimeoutMs + "ms"); in assertCalled()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionTest.java85 private int mTimeoutMs; field in MediaProjectionTest
96 mTimeoutMs = 1000 * HW_TIMEOUT_MULTIPLIER; in setUp()
138 assertTrue("Could not stop the MediaProjection in " + mTimeoutMs + "ms", in testOverlayAllowedDuringScreenCapture()
139 latch.await(mTimeoutMs, TimeUnit.MILLISECONDS)); in testOverlayAllowedDuringScreenCapture()
174 assertFalse("Callback is not invoked after " + mTimeoutMs + " ms if unregistere", in testUnregisterCallback()
175 latch.await(mTimeoutMs, TimeUnit.MILLISECONDS)); in testUnregisterCallback()
198 assertTrue("Could not stop the MediaProjection in " + mTimeoutMs + "ms", in testCallbackOnStop()
199 latch.await(mTimeoutMs, TimeUnit.MILLISECONDS)); in testCallbackOnStop()
251 + mTimeoutMs + "ms", in createVirtualDisplayAndWaitForCallback()
252 latch.await(mTimeoutMs, TimeUnit.MILLISECONDS)); in createVirtualDisplayAndWaitForCallback()
/cts/tests/tests/media/projection/sdk33/src/android/media/projection/
DMediaProjectionSDK33Test.java112 private int mTimeoutMs; field in MediaProjectionSDK33Test
118 mTimeoutMs = 1000 * HW_TIMEOUT_MULTIPLIER; in setUp()
198 assertTrue("Could not dismiss the second permission dialog in " + mTimeoutMs + "ms", in testCreateVirtualDisplay_reusedResultData_reshowsPermissionDialog()
199 dismissPermissionDialogLatch.await(mTimeoutMs, TimeUnit.MILLISECONDS)); in testCreateVirtualDisplay_reusedResultData_reshowsPermissionDialog()
200 assertTrue("No buffers arrived from a screen capture after " + mTimeoutMs in testCreateVirtualDisplay_reusedResultData_reshowsPermissionDialog()
201 + " ms", firstBufferLatch.await(mTimeoutMs, TimeUnit.MILLISECONDS)); in testCreateVirtualDisplay_reusedResultData_reshowsPermissionDialog()
258 assertTrue("Could not dismiss the second permission dialog in " + mTimeoutMs + "ms", in testCreateVirtualDisplay_reusedMediaProjection_reshowPermissionDialog()
259 dismissPermissionDialogLatch.await(mTimeoutMs, TimeUnit.MILLISECONDS)); in testCreateVirtualDisplay_reusedMediaProjection_reshowPermissionDialog()
260 assertTrue("No buffers arrived from a screen capture after " + mTimeoutMs in testCreateVirtualDisplay_reusedMediaProjection_reshowPermissionDialog()
261 + " ms", firstBufferLatch.await(mTimeoutMs, TimeUnit.MILLISECONDS)); in testCreateVirtualDisplay_reusedMediaProjection_reshowPermissionDialog()
[all …]