Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 25 of 66) sorted by relevance

123

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DDequeMap.java60 public V poll(K key) { in poll() method in DequeMap
65 return pile.poll(); in poll()
DObjectCache.java56 result = mDataStore.poll(); in get()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DBlockingBroadcastReceiver.java75 return mBlockingQueue.poll(DEFAULT_TIMEOUT_SECONDS, TimeUnit.SECONDS); in awaitForBroadcast()
88 return mBlockingQueue.poll(timeoutMillis, TimeUnit.MILLISECONDS); in awaitForBroadcast()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleQueue.java39 SampleHolder sampleFromQueue = mQueue.poll(); in dequeueSample()
56 mSamplePool.releaseSample(mQueue.poll()); in clear()
DBufferManager.java319 private SampleChunk poll(String key, long startPositionUs) { in poll() method in BufferManager.EvictChunkQueueMap
325 return queue.poll(); in poll()
485 while ((chunk = mPendingDelete.poll(id, earlierThanPositionUs)) != null) { in evictChunks()
DSampleChunkIoHelper.java217 SampleHolder sample = mReadSampleBuffers[index].poll(); in readSample()
377 while ((sample = mHandlerReadSampleBuffers[index].poll()) != null) { in doOpenRead()
402 while ((sample = mHandlerReadSampleBuffers[index].poll()) != null) { in doCloseRead()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DIdentityCache.java44 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap()
47 entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap()
/packages/apps/Gallery/src/com/android/camera/gallery/
DLruCache.java53 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap()
56 entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DLruCache.java57 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap()
60 entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java209 Intent intent = queue.poll(timeoutMs, TimeUnit.MILLISECONDS); in waitForIntent()
228 Intent intent = queue.poll(timeoutMs, TimeUnit.MILLISECONDS); in waitForNoIntent()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridSizeMigrationTaskTest.java353 assertEquals(sourceSize, mPoints.poll()); in runStepTask()
354 assertEquals(nextSize, mPoints.poll()); in runStepTask()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderSelectorAdapter.java169 return mChildren.poll(); in pollChild()
240 while ((currentNode = stack.poll()) != null) { in folderSort()
/packages/services/Telephony/src/com/android/phone/vvm/
DRemoteVvmTaskManager.java313 Message message = mTaskQueue.poll(); in runQueue()
323 message = mTaskQueue.poll(); in runQueue()
/packages/apps/TV/jni/
DDvbManager.cpp73 int poll_result = poll(&pollFd, NUM_POLLFDS, FE_POLL_TIMEOUT_MS); in isFeLocked()
447 int poll_result = poll(&pollFd, NUM_POLLFDS, timeout_ms); in readTsStream()
/packages/services/Car/tools/keventreader/server/
Deventgatherer.cpp43 int count = poll(&mFds[0], mFds.size(), FOREVER); in read()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRemoteAnimationTargetSet.java81 SyncRtSurfaceTransactionApplierCompat applier = mDependentTransactionAppliers.poll(); in release()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningControllerBaseTest.java85 return mBlockingQueue.poll(10, TimeUnit.SECONDS); in getLastTask()
/packages/apps/TV/src/com/android/tv/recommendation/
DChannelRecord.java93 WatchedProgram program = mWatchHistory.poll(); in logWatchHistory()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java173 Intent intent = queue.poll(timeoutMs, TimeUnit.MILLISECONDS); in waitForIntent()
195 Integer lastCallback = queue.poll(timeoutMs, TimeUnit.MILLISECONDS); in verifyCallback()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoritesTileAdapter.java584 final ContactEntry toPin = pinnedQueue.poll(); in arrangeContactsByPinnedPosition()
597 final ContactEntry entry = pinnedQueue.poll(); in arrangeContactsByPinnedPosition()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapStore.java556 while ((connection = mConnectionPool.poll()) != null) { in getConnection()
691 while ((connection = mConnectionPool.poll()) != null) { in closeConnections()
/packages/apps/Camera2/src/com/android/camera/widget/
DPreloader.java127 final List<Y> loadTokensToCancel = mItemLoadTokens.poll(); in registerLoadTokens()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintRemoveSidecar.java106 Object o = mFingerprintsRemoved.poll(); in setListener()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/
DFingerprintRemoveSidecar.java106 Object o = mFingerprintsRemoved.poll(); in setListener()
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java355 returnRequest = mRequestQueue.poll(); in getNextRequest()
842 long[] change = sAttachmentChangedQueue.poll(); in processQueue()
854 change = sAttachmentChangedQueue.poll(); in processQueue()

123