Searched refs:timeout (Results 1 - 25 of 130) sorted by last modified time

123456

/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DInteractionController.java101 // Read the long press timeout setting.
131 String message = "Error reading long press timeout setting.";
144 * timeout period specified, the call will return anyway.
147 * @param timeout
149 * @return True if busy state is detected else false for timeout waiting for busy state
151 public boolean clickAndWaitForEvent(final int x, final int y, long timeout, argument
153 return clickAndWaitForEvents(x, y, timeout, false, eventType);
162 * @param timeout
167 public boolean clickAndWaitForEvents(final int x, final int y, long timeout, argument
169 String logString = String.format("clickAndWaitForEvents(%d, %d, %d, %s, %d)", x, y, timeout,
193 runAndWaitForEvent(Runnable command, long timeout, int eventType) argument
207 runAndWaitForEvents(Runnable command, long timeout, final boolean waitForAll, final int eventTypesMask) argument
267 sendKeyAndWaitForEvent(final int keyCode, final int metaState, final int eventType, long timeout) argument
317 clickAndWaitForNewWindow(final int x, final int y, long timeout) argument
[all...]
H A DUiAutomatorBridge.java137 public void waitForIdle(long timeout) { argument
138 waitForIdle(QUIET_TIME_TO_BE_CONSIDERD_IDLE_STATE, timeout);
H A DUiDevice.java373 * Default wait timeout is 10 seconds
381 * @param timeout in milliseconds
637 * @param timeout the timeout for the wait
639 * @return true if a window update occurred, false if timeout has elapsed or if the current
642 public boolean waitForWindowUpdate(final String packageName, long timeout) { argument
664 emptyRunnable, checkWindowUpdate, timeout);
H A DUiObject.java37 // set a default timeout to 5.5s, since ANR threshold is 5s
131 * @param timeout in milliseconds
134 protected AccessibilityNodeInfo findAccessibilityNodeInfo(long timeout) { argument
145 while (currentMills <= timeout) {
153 if(timeout > 0) {
330 * @param timeout timeout before giving up on waiting for a new window
334 public boolean clickAndWaitForNewWindow(long timeout) throws UiObjectNotFoundException { argument
341 rect.centerX(), rect.centerY(), timeout);
684 * until the timeout ha
690 waitForExists(long timeout) argument
714 waitUntilGone(long timeout) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsSignal.cpp71 bool Signal::wait(uint64_t timeout) { argument
82 if (!timeout) {
86 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000);
H A DrsSignal.h36 // false for timeout
37 bool wait(uint64_t timeout = 0);
H A DrsThreadIO.cpp100 void ThreadIO::setTimeoutCallback(void (*cb)(void *), void *dat, uint64_t timeout) { argument
101 //mToCore.setTimeoutCallback(cb, dat, timeout);
141 // exception or timeout occurred.
H A DrsThreadIO.h48 void setTimeoutCallback(void (*)(void *), void *, uint64_t timeout);
/frameworks/support/v4/java/android/support/v4/content/
H A DModernAsyncTask.java328 * @param timeout Time to wait before cancelling the operation.
329 * @param unit The time unit for the timeout.
339 public final Result get(long timeout, TimeUnit unit) throws InterruptedException, argument
341 return mFuture.get(timeout, unit);
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DRequestFuture.java95 public T get(long timeout, TimeUnit unit) argument
97 return doGet(TimeUnit.MILLISECONDS.convert(timeout, unit));
/frameworks/support/volley/tests/src/com/android/volley/
H A DRequestQueueTest.java146 public void waitUntilExpectedDone(long timeout) argument
148 if (mSemaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS) == false) {
/frameworks/rs/
H A DrsSignal.cpp71 bool Signal::wait(uint64_t timeout) { argument
82 if (!timeout) {
86 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000);
H A DrsSignal.h36 // false for timeout
37 bool wait(uint64_t timeout = 0);
H A DrsThreadIO.cpp100 void ThreadIO::setTimeoutCallback(void (*cb)(void *), void *dat, uint64_t timeout) { argument
101 //mToCore.setTimeoutCallback(cb, dat, timeout);
141 // exception or timeout occurred.
H A DrsThreadIO.h48 void setTimeoutCallback(void (*)(void *), void *, uint64_t timeout);
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DAwaitableCompletionListener.java47 public void awaitOneCallback(long timeout, TimeUnit unit) throws InterruptedException, argument
49 if (mQueue.poll(timeout, unit) == null) {
H A DAwaitableErrorListener.java55 public void awaitOneCallback(long timeout, TimeUnit unit) throws InterruptedException, argument
57 if (mQueue.poll(timeout, unit) == null) {
/frameworks/native/include/ui/
H A DFence.h58 // wait waits for up to timeout milliseconds for the fence to signal. If
59 // the fence signals then NO_ERROR is returned. If the timeout expires
60 // before the fence signals then -ETIME is returned. A timeout of
63 status_t wait(unsigned int timeout);
/frameworks/native/libs/ui/
H A DFence.cpp45 status_t Fence::wait(unsigned int timeout) { argument
50 int err = sync_wait(mFenceFd, timeout);
/frameworks/native/libs/utils/
H A DThreads.cpp510 DWORD timeout = INFINITE;
515 timeout = reltime/1000000;
520 SignalObjectAndWait(hMutex, condState->sema, timeout, FALSE);
/frameworks/native/opengl/include/EGL/
H A Deglext.h142 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
148 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
206 EGLint eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
213 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
/frameworks/native/opengl/libagl/
H A Degl.cpp2115 EGLTimeKHR timeout)
2114 eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) argument
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp828 ALOGE("FrameCompletion: timeout waiting for fence");
1217 EGLint flags, EGLTimeKHR timeout)
1228 dp->disp.dpy, sync, flags, timeout);
1216 eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) argument
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp273 // use a 16ms timeout instead. It doesn't need to be
277 // use a (long) timeout when waiting for h/w vsync, and
280 nsecs_t timeout = softwareSync ? ms2ns(16) : ms2ns(1000); local
281 if (mCondition.waitRelative(mLock, timeout) == TIMED_OUT) {
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
H A DTextToSpeechTests.java225 public static void awaitCountDown(CountDownLatch latch, long timeout, TimeUnit unit) argument
227 Assert.assertTrue("Waited too long for method call", latch.await(timeout, unit));

Completed in 1173 milliseconds

123456