Searched refs:poll (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/app/
H A DQueuedWork.java87 while ((toFinish = sPendingWorkFinishers.poll()) != null) {
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DAwaitableCompletionListener.java49 if (mQueue.poll(timeout, unit) == null) {
H A DAwaitableErrorListener.java57 if (mQueue.poll(timeout, unit) == null) {
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java316 * @param poll The amount of time to wait
319 protected void waitForDownloadOrTimeout(long id, long poll, long timeoutMillis) argument
321 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis);
330 * @param poll The amount of time to wait
333 protected void waitForDownloadsOrTimeout(long poll, long timeoutMillis) throws TimeoutException, argument
335 doWaitForDownloadsOrTimeout(new Query(), poll, timeoutMillis);
344 * @param poll The amount of time to wait
348 private boolean waitForDownloadOrTimeoutNoThrow(long id, long poll, long timeoutMillis) { argument
350 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis);
362 * @param poll Th
369 timeoutWait(int currentTotalWaitTime, long poll, long maxTimeoutMillis, String timedOutMessage) argument
398 doWaitForDownloadsOrTimeout(Query query, long poll, long timeoutMillis) argument
[all...]
/frameworks/rs/
H A DrsFifoSocket.cpp25 #include <poll.h>
97 int r = poll(&p, 1, 0);
98 //ALOGE("poll r=%i", r);
H A DrsThreadIO.cpp26 #include <poll.h>
130 int pr = poll(p, pollCount, waitTime);
/frameworks/support/renderscript/v8/rs_support/
H A DrsFifoSocket.cpp25 #include <poll.h>
95 int r = poll(&p, 1, 0);
96 //ALOGE("poll r=%i", r);
H A DrsThreadIO.cpp26 #include <poll.h>
130 int pr = poll(p, pollCount, waitTime);
/frameworks/base/native/android/
H A Dsensor.cpp31 #include <poll.h>
112 int nfd = poll(&pfd, 1, 0);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java672 * @param poll The amount of time to wait
675 protected void waitForDownloadOrTimeout(long id, long poll, long timeoutMillis) argument
677 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis);
686 * @param poll The amount of time to wait
689 protected void waitForDownloadsOrTimeout(long poll, long timeoutMillis) throws TimeoutException, argument
691 doWaitForDownloadsOrTimeout(new Query(), poll, timeoutMillis);
700 * @param poll The amount of time to wait
704 protected boolean waitForDownloadOrTimeoutNoThrow(long id, long poll, long timeoutMillis) { argument
706 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis);
718 * @param poll Th
725 timeoutWait(int currentTotalWaitTime, long poll, long maxTimeoutMillis, String timedOutMessage) argument
754 doWaitForDownloadsOrTimeout(Query query, long poll, long timeoutMillis) argument
[all...]
/frameworks/av/services/audioflinger/
H A DStateQueue.h34 unsigned mStateChanges; // incremented each time poll() detects a state change
61 // If a new state has not pushed by mutator since the previous poll,
65 const T* poll();
119 const T* mCurrent; // most recent value returned by poll()
H A DStateQueue.cpp58 template<typename T> const T* StateQueue<T>::poll() function in class:android::StateQueue
/frameworks/native/services/sensorservice/
H A DSensorDevice.h55 ssize_t poll(sensors_event_t* buffer, size_t count);
H A DSensorDevice.cpp105 ssize_t SensorDevice::poll(sensors_event_t* buffer, size_t count) { function in class:android::SensorDevice
109 c = mSensorDevice->poll(mSensorDevice, buffer, count);
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisPlaybackQueueItem.java220 ListEntry entry = mDataBufferList.poll();
/frameworks/base/core/java/android/webkit/
H A DByteArrayBuilder.java103 SoftReference<Chunk> entry = (SoftReference<Chunk>) sQueue.poll();
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java119 MessageBundle bundle = mQueue.poll();
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java186 event = mEventQueue.poll(remainingTimeMillis, TimeUnit.MILLISECONDS);
/frameworks/base/services/common_time/
H A Ddiag_thread.cpp23 #include <poll.h>
220 int poll_res = poll(poll_fds, NELEM(poll_fds), 50);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMockAccessibilityService.java137 AccessibilityEvent expectedEvent = mExpectedEvents.poll();
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSession.java348 processTask(session, mPendingTasks.poll(), false);
400 final SpellCheckerParams tmp = mPendingTasks.poll();
/frameworks/native/cmds/dumpstate/
H A Dutils.c21 #include <poll.h>
240 usleep(100000); // poll every 0.1 sec
477 int ret = poll(&pfd, 1, 200); /* 200 msec timeout */
479 fprintf(stderr, "poll: %s\n", strerror(errno));
/frameworks/base/core/java/android/os/
H A DAsyncTask.java242 if ((mActive = mTasks.poll()) != null) {
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfoCache.java292 AccessibilityNodeInfo current = fringe.poll();
/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java169 mHandler.sendMessage(mPendingTasks.poll());

Completed in 2279 milliseconds

12