Home
last modified time | relevance | path

Searched defs:timeout (Results 1 – 25 of 103) sorted by relevance

12345

/cts/tests/autofillservice/src/android/autofillservice/cts/
DTimeoutTest.java64 final Timeout timeout = new Timeout(NAME, 1, 2, 5); in testGetters() local
73 final Timeout timeout = new Timeout(NAME, 1, 2, 5); in testIncrease() local
88 final Timeout timeout = new Timeout(NAME, 1, 2, 5); in testRun_invalidArgs() local
101 final Timeout timeout = new Timeout(NAME, 100, 2, 500); in testRun_successOnFirstAttempt() local
109 final Timeout timeout = new Timeout(NAME, 100, 2, 500); in testRun_successOnSecondAttempt() local
117 final Timeout timeout = new Timeout(NAME, 100, 2, 500); in testRun_allAttemptsFailed() local
DRetryableException.java41 public RetryableException(@Nullable Timeout timeout, String msg) { in RetryableException()
46 public RetryableException(@Nullable Timeout timeout, String format, Object...args) { in RetryableException()
51 public RetryableException(@Nullable Timeout timeout, Throwable cause, String format, in RetryableException()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPollingCheck.java34 public PollingCheck(long timeout) { in PollingCheck()
45 long timeout = mTimeout; in run() local
63 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check()
86 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor()
87 new PollingCheck(timeout) { in waitFor() argument
DWithin.java38 public Within(long timeout) { in Within()
44 long timeout = mTimeout; in verify() local
DCtsMockitoUtils.java23 public static VerificationMode within(long timeout) { in within()
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DServiceConnectionHandler.java78 public void waitForConnect(long timeout) { in waitForConnect()
103 public void waitForDisconnect(long timeout) { in waitForDisconnect()
142 public void bind(long timeout) { in bind()
163 public void unbind(long timeout) { in unbind()
185 public void cleanup(long timeout) { in cleanup()
/cts/hostsidetests/theme/
Dandroid_device.py34 def run_adb_command(self, cmd, timeout=None): argument
45 def wait_for_device(self, timeout=30): argument
48 def wait_for_prop(self, key, value, timeout=30): argument
63 def wait_for_service(self, name, timeout=30): argument
78 def wait_for_boot_complete(self, timeout=60): argument
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DBusyWaitUtils.java46 static void pollingCheck(final PollingCondition condition, final long timeout, in pollingCheck()
61 static boolean waitFor(final PollingCondition condition, final long timeout) throws Exception { in waitFor()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DWindowFocusStealer.java52 public void waitResult(long timeout) throws TimeoutException { in waitResult()
78 public void stealWindowFocus(IBinder parentAppWindowToken, long timeout) in stealWindowFocus()
101 public static WindowFocusStealer connect(Context context, long timeout) in connect()
DTestUtils.java69 @NonNull BooleanSupplier condition, long timeout, String message) in waitOnMainUntil()
100 public static void waitOnMainUntil(@NonNull BooleanSupplier condition, long timeout) in waitOnMainUntil()
/cts/tests/tests/database/src/android/database/cts/
DContentObserverTest.java52 final long timeout = 1000L; in testContentObserver() local
96 final long timeout = 1000L; in testContentObserverWithUri() local
141 protected synchronized boolean hasChanged(long timeout) throws InterruptedException { in hasChanged()
186 protected synchronized boolean hasChanged(long timeout) throws InterruptedException { in hasChanged()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/
DTimeoutResetActivity.java59 private static void setUserActivityTimeout(WindowManager.LayoutParams params, long timeout) { in setUserActivityTimeout()
101 long timeout = getIntent().getLongExtra(EXTRA_OLD_TIMEOUT, FALLBACK_TIMEOUT); in onCreate() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBluetoothRestrictionTest.java168 final long timeout = SystemClock.elapsedRealtime() + DISABLE_TIMEOUT_MS; in assertDisabledAfterTimeout() local
188 final long timeout = SystemClock.elapsedRealtime() + COMPONENT_STATE_TIMEOUT_MS; in assertComponentStateAfterTimeout() local
229 final long timeout = SystemClock.elapsedRealtime() + ENABLE_TIMEOUT_MS; in assertEnabledAfterTimeout() local
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java81 @NonNull Predicate<ImeEvent> condition, long timeout) throws TimeoutException { in expectEvent()
102 @NonNull Predicate<ImeEvent> condition, EventFilterMode filterMode, long timeout) in expectEvent()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsSyncAdapter.java80 final long timeout = SystemClock.elapsedRealtime() + (TIMEOUT_SECONDS * 1000); in waitUntilSyncCount() local
118 final long timeout = SystemClock.elapsedRealtime() + (TIMEOUT_SECONDS * 1000); in cancelPendingSyncs() local
/cts/hostsidetests/security/src/android/security/cts/
DAdbUtils.java69 public static String runPoc(String pocName, ITestDevice device, int timeout) throws Exception { in runPoc()
84 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout) in runPocNoOutput()
207 int timeout) throws Exception { in runPocCheckExitCode()
/cts/tests/app/app/src/android/app/stubs/
DMockService.java88 public static boolean waitForStart(long timeout) { in waitForStart()
110 public static boolean waitForDestroy(long timeout) { in waitForDestroy()
DIntentServiceStub.java53 public static void waitToFinish(long timeout) throws Throwable { in waitToFinish()
54 new PollingCheck(timeout) { in waitToFinish() argument
DPendingIntentStubActivity.java50 public static boolean waitForCreate(long timeout) { in waitForCreate()
DMockReceiver.java57 public static boolean waitForReceive(long timeout) { in waitForReceive()
/cts/tests/tests/view/src/android/view/cts/
DLongPressBackTest.java71 long timeout = ViewConfiguration.get(mActivity).getDeviceGlobalActionKeyTimeout(); in testAppIsNotDismissed() local
/cts/tests/tests/webkit/src/android/webkit/cts/
DChromeClient.java40 public synchronized ConsoleMessage.MessageLevel getMessageLevel(int timeout) { in getMessageLevel()
/cts/tests/tests/telephony/src/android/telephony/embms/cts/
DMbmsDownloadCallbackTest.java46 public SomeArgs waitOnStatusUpdated(long timeout) { in waitOnStatusUpdated()
72 public SomeArgs waitOnProgressUpdated(long timeout) { in waitOnProgressUpdated()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DVoiceInteractionTestReceiver.java34 public static void waitSessionStarted(TestCase testCase, long timeout, TimeUnit unit) in waitSessionStarted()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiManagerTest.java197 long timeout = System.currentTimeMillis() + TIMEOUT_MSEC; in waitForExpectedWifiState() local
230 long timeout = System.currentTimeMillis() + SCAN_TIMEOUT_MSEC; in startScan() local
240 long timeout = System.currentTimeMillis() + TIMEOUT_MSEC; in connectWifi() local
554 long timeout = System.currentTimeMillis() + TIMEOUT_MSEC; in getTxPacketCount() local

12345