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

12345

/frameworks/opt/bitmap/src/com/android/bitmap/
H A DPooledCache.java24 V poll(); method in interface:PooledCache
H A DUnrefedBitmapCache.java26 * This subclass provides custom pool behavior. The pool can be set to block on {@link #poll()} if
55 * Declare that {@link #poll()} should now block until it can return something.
83 public ReusableBitmap poll() { method in class:UnrefedBitmapCache
86 while ((bitmap = super.poll()) == null && mBlocking) {
/frameworks/support/paging/common/src/test/java/androidx/paging/
H A DExecutors.kt33 var task = mTasks.poll()
36 task = mTasks.poll()
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
H A DTestExecutor.kt32 var task = mTasks.poll()
35 task = mTasks.poll()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DTaskResourceLoadQueue.java43 return mQueue.poll();
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DPerfMeasurement.java188 NO_DURATION_YET : mTimestampQueue.poll());
190 NO_DURATION_YET : mCpuDurationsQueue.poll());
195 mTimestampQueue.poll();
198 mCpuDurationsQueue.poll();
/frameworks/base/core/jni/
H A Dandroid_app_Activity.cpp17 #include <poll.h>
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DBlockingQueueIntentReceiver.java35 return mQueue.poll(10, TimeUnit.SECONDS);
/frameworks/av/services/audioflinger/
H A DFastCapture.h41 virtual const FastThreadState *poll();
H A DFastMixer.h48 virtual const FastThreadState *poll();
H A DFastThread.h43 virtual const FastThreadState *poll() = 0;
H A DStateQueue.h51 // - observer must always be able to poll for and view the latest pushed state; it must never be
110 unsigned mStateChanges; // incremented each time poll() detects a state change
137 // If a new state has not pushed by mutator since the previous poll,
141 const T* poll();
195 const T* mCurrent; // most recent value returned by poll()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
H A DFrameSourceFilter.java48 return mFrames.poll();
/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>
127 int pr = poll(p, pollCount, waitTime);
/frameworks/base/services/tests/servicestests/src/com/android/server/testutils/
H A DTestHandler.java88 dispatch(mMessages.poll());
99 while ((msg = mMessages.poll()) != null) {
/frameworks/native/libs/vr/libbufferhub/
H A Ddetached_buffer.cpp6 #include <poll.h>
88 return poll(&p, 1, timeout_ms);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java674 * @param poll The amount of time to wait
677 protected void waitForDownloadOrTimeout(long id, long poll, long timeoutMillis) argument
679 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis);
688 * @param poll The amount of time to wait
691 protected void waitForDownloadsOrTimeout(long poll, long timeoutMillis) throws TimeoutException, argument
693 doWaitForDownloadsOrTimeout(new Query(), poll, timeoutMillis);
702 * @param poll The amount of time to wait
706 protected boolean waitForDownloadOrTimeoutNoThrow(long id, long poll, long timeoutMillis) { argument
708 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis);
720 * @param poll Th
727 timeoutWait(int currentTotalWaitTime, long poll, long maxTimeoutMillis, String timedOutMessage) argument
756 doWaitForDownloadsOrTimeout(Query query, long poll, long timeoutMillis) argument
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dchannel_event_set.cpp5 #include <poll.h>
120 if (RETRY_EINTR(poll(pfds.data(), pfds.size(), timeout_ms)) < 0) {
123 "ChannelEventReceiver::PollPendingEvents: Failed to poll for events: "
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DActionSendMultipleConsumerActivity.java118 bundle = mQueue.poll(2 * TIMEOUT, TimeUnit.SECONDS);
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DWeakIdentityHashMap.java37 while ((ref = mRefQueue.poll()) != null) {
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
H A DTimeReceiver.java88 message = mQueue.poll(endTimeNs - curTimeNs, TimeUnit.NANOSECONDS);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DDispatchThread.java123 job = mJobQueue.poll();
127 // mJobQueue.poll() returning null means wait() is
/frameworks/base/cmds/incidentd/src/
H A DFdBuffer.cpp25 #include <poll.h>
61 int count = poll(&pfds, 1, remainingTime);
63 VLOG("timed out due to block calling poll");
67 VLOG("poll failed: %s", strerror(errno));
159 int count = poll(pfds, 3, remainingTime);
161 VLOG("timed out due to block calling poll");
165 VLOG("Fail to poll: %s", strerror(errno));
196 pfds[0].fd = -1; // reach EOF so don't have to poll pfds[0].
/frameworks/av/include/media/
H A DSingleStateQueue.h117 bool poll(T& value) function in class:android::SingleStateQueue::Observer
138 mSequence = before; // mSequence is even after poll success

Completed in 244 milliseconds

12345