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

12

/frameworks/base/core/java/android/app/
H A DQueuedWork.java87 while ((toFinish = sPendingWorkFinishers.poll()) != null) {
/frameworks/av/include/media/
H A DSingleStateQueue.h78 bool poll(T& value);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
H A DFrameSourceFilter.java48 return mFrames.poll();
/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.cpp23 #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.h49 // - observer must always be able to poll for and view the latest pushed state; it must never be
106 unsigned mStateChanges; // incremented each time poll() detects a state change
133 // If a new state has not pushed by mutator since the previous poll,
137 const T* poll();
191 const T* mCurrent; // most recent value returned by poll()
H A DStateQueue.cpp59 template<typename T> const T* StateQueue<T>::poll() function in class:android::StateQueue
/frameworks/av/media/libmedia/
H A DSingleStateQueue.cpp63 template<typename T> bool SingleStateQueue<T>::Observer::poll(T& value) function in class:android::SingleStateQueue::Observer
/frameworks/native/services/sensorservice/
H A DSensorDevice.h86 ssize_t poll(sensors_event_t* buffer, size_t count);
H A DSensorDevice.cpp111 ssize_t SensorDevice::poll(sensors_event_t* buffer, size_t count) { function in class:android::SensorDevice
115 c = mSensorDevice->poll(reinterpret_cast<struct sensors_poll_device_t *> (mSensorDevice),
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisPlaybackQueueItem.java220 ListEntry entry = mDataBufferList.poll();
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java119 MessageBundle bundle = mQueue.poll();
/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/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingStateListener.java227 while ((nextState = mRecentStates.poll(timeoutLeft, TimeUnit.MILLISECONDS))
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSession.java348 processTask(session, mPendingTasks.poll(), false);
400 final SpellCheckerParams tmp = mPendingTasks.poll();
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp318 if (mTimestampObserver.poll(timestamp)) {
/frameworks/base/core/java/android/os/
H A DAsyncTask.java243 if ((mActive = mTasks.poll()) != null) {
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfoCache.java279 AccessibilityNodeInfo current = fringe.poll();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameManager.java224 Backing dropped = mQueue.poll();

Completed in 601 milliseconds

12