/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | InteractionController.java | 101 // 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 D | UiAutomatorBridge.java | 137 public void waitForIdle(long timeout) { argument 138 waitForIdle(QUIET_TIME_TO_BE_CONSIDERD_IDLE_STATE, timeout);
|
H A D | UiDevice.java | 373 * 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 D | UiObject.java | 37 // 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 D | rsSignal.cpp | 71 bool Signal::wait(uint64_t timeout) { argument 82 if (!timeout) { 86 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000);
|
H A D | rsSignal.h | 36 // false for timeout 37 bool wait(uint64_t timeout = 0);
|
H A D | rsThreadIO.cpp | 100 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 D | rsThreadIO.h | 48 void setTimeoutCallback(void (*)(void *), void *, uint64_t timeout);
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | ModernAsyncTask.java | 328 * @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 D | RequestFuture.java | 95 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 D | RequestQueueTest.java | 146 public void waitUntilExpectedDone(long timeout) argument 148 if (mSemaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS) == false) {
|
/frameworks/rs/ |
H A D | rsSignal.cpp | 71 bool Signal::wait(uint64_t timeout) { argument 82 if (!timeout) { 86 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000);
|
H A D | rsSignal.h | 36 // false for timeout 37 bool wait(uint64_t timeout = 0);
|
H A D | rsThreadIO.cpp | 100 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 D | rsThreadIO.h | 48 void setTimeoutCallback(void (*)(void *), void *, uint64_t timeout);
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
H A D | AwaitableCompletionListener.java | 47 public void awaitOneCallback(long timeout, TimeUnit unit) throws InterruptedException, argument 49 if (mQueue.poll(timeout, unit) == null) {
|
H A D | AwaitableErrorListener.java | 55 public void awaitOneCallback(long timeout, TimeUnit unit) throws InterruptedException, argument 57 if (mQueue.poll(timeout, unit) == null) {
|
/frameworks/native/include/ui/ |
H A D | Fence.h | 58 // 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 D | Fence.cpp | 45 status_t Fence::wait(unsigned int timeout) { argument 50 int err = sync_wait(mFenceFd, timeout);
|
/frameworks/native/libs/utils/ |
H A D | Threads.cpp | 510 DWORD timeout = INFINITE; 515 timeout = reltime/1000000; 520 SignalObjectAndWait(hMutex, condState->sema, timeout, FALSE);
|
/frameworks/native/opengl/include/EGL/ |
H A D | eglext.h | 142 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 D | egl.cpp | 2115 EGLTimeKHR timeout) 2114 eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) argument
|
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 828 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 D | EventThread.cpp | 273 // 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 D | TextToSpeechTests.java | 225 public static void awaitCountDown(CountDownLatch latch, long timeout, TimeUnit unit) argument 227 Assert.assertTrue("Waited too long for method call", latch.await(timeout, unit));
|