Searched refs:queue (Results 101 - 125 of 137) sorted by relevance

123456

/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp428 sp<SensorEventQueue> queue(mgr->createEventQueue(clientName, mode));
430 if (queue == NULL) {
441 sp<Receiver> receiver = new Receiver(queue, messageQueue, eventQWeak);
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A Dcanny.rs295 queue[q_start & 0x3F] = v; \
300 #define q_peak() (queue[q_peek_pos & 0x3F])
301 #define q_pop() (q_size--, q_tmp = queue[q_end], q_end++, q_tmp)
304 short3 queue[64];
332 while (queue[q_end & 0x3F].z < p_dist - 1) {
340 short3 tq = queue[k & 0x3F];
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaSessionCompat.java130 * Set this flag on the session to indicate that it handles queue
637 * Update the list of items in the play queue. It is an ordered list and
639 * exist. Specify null if there is no current play queue.
641 * The queue should be of reasonable size. If the play queue is unbounded
645 * @param queue A list of items in the play queue.
647 public void setQueue(List<QueueItem> queue) { argument
648 mImpl.setQueue(queue);
652 * Set the title of the play queue
1784 setQueue(List<QueueItem> queue) argument
2199 setQueue(List<QueueItem> queue) argument
2405 sendQueue(List<QueueItem> queue) argument
3304 setQueue(List<QueueItem> queue) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastRecord.java78 BroadcastQueue queue; // the outbound queue handling this broadcast field in class:BroadcastRecord
225 queue = _queue;
H A DBroadcastQueue.java75 * Recognizable moniker for this queue
80 * Timeout period for this queue's broadcasts
255 private BroadcastRecord replaceBroadcastLocked(ArrayList<BroadcastRecord> queue, argument
258 for (int i = queue.size() - 1; i > 0; i--) {
259 final BroadcastRecord old = queue.get(i);
265 queue.set(i, r);
435 if (waitForServices && r.curComponent != null && r.queue.mDelayBehindServices
436 && r.queue.mOrderedBroadcasts.size() > 0
437 && r.queue.mOrderedBroadcasts.get(0) == r) {
450 // but are on a queue tha
[all...]
/frameworks/base/tools/aapt2/
H A DDebug.cpp23 #include <queue>
195 std::queue<ResourceName> styles_to_visit;
/frameworks/compile/mclinker/include/mcld/ADT/
H A DBinTree.h19 #include <queue>
84 std::queue<NodeBase*> m_Queue;
/frameworks/native/libs/vr/libvrflinger/
H A Ddisplay_surface.cpp156 std::shared_ptr<ConsumerQueue> queue; member in struct:android::dvr::State
163 state.surface->OnQueueEvent(state.queue, events);
214 "queue!");
224 "queue: %s",
241 // Always give the queue a chance to handle its internal bookkeeping.
244 // Check for hangup and remove a queue that is no longer needed.
247 ALOGD_IF(TRACE, "ApplicationDisplaySurface::OnQueueEvent: Removing queue.");
275 "queue!");
284 "queue: %s",
300 // Always give the queue
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.h284 void flushQueue(List<QueueEntry> *queue);
H A DNuPlayerRenderer.cpp995 ALOGV("audio queue has %d frames left to play",
1484 // EOS signalled on either queue.
1579 // two queues has data, we may starve that queue by not requesting
1582 // corresponding discontinuity on the other queue.
1652 void NuPlayer::Renderer::flushQueue(List<QueueEntry> *queue) { argument
1653 while (!queue->empty()) {
1654 QueueEntry *entry = &*queue->begin();
1663 queue->erase(queue->begin());
1744 ALOGV("now paused audio queue ha
[all...]
/frameworks/base/core/java/android/content/
H A DBroadcastReceiver.java217 QueuedWork.queue(new Runnable() {
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp126 std::shared_ptr<RequestMetadataQueue> queue; local
128 [&queue](const auto& descriptor) {
129 queue = std::make_shared<RequestMetadataQueue>(descriptor);
130 if (!queue->isValid() || queue->availableToWrite() <= 0) {
132 queue = nullptr;
133 // don't use the queue onwards.
142 [&queue = mResultMetadataQueue](const auto& descriptor) {
143 queue = std::make_unique<ResultMetadataQueue>(descriptor);
144 if (!queue
2869 HalInterface( sp<ICameraDeviceSession> &session, std::shared_ptr<RequestMetadataQueue> queue) argument
[all...]
/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp994 // 2. Populate tracker stats and insert into priority queue
1001 std::vector<std::shared_ptr<CacheTracker>>, decltype(cmp)> queue(cmp);
1004 queue.push(it.second);
1009 // 3. Bounce across the queue, freeing items from whichever tracker is
1013 while (active || !queue.empty()) {
1030 bool nextBetter = active && !queue.empty()
1031 && active->getCacheRatio() < queue.top()->getCacheRatio();
1036 queue.push(active);
1038 active = queue.top(); queue
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h68 #include <queue>
694 std::queue<CompositePresentTime> mCompositePresentTimes;
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp1107 // -- Cancel all buffers, returning them to the queue --
1294 VkResult QueuePresentKHR(VkQueue queue, const VkPresentInfoKHR* present_info) { argument
1299 VkDevice device = GetData(queue).driver_device;
1300 const auto& dispatch = GetData(queue).driver;
1354 queue, present_info->waitSemaphoreCount,
/frameworks/base/media/java/android/media/session/
H A DMediaSession.java434 * Update the list of items in the play queue. It is an ordered list and
436 * exist. Specify null if there is no current play queue.
438 * The queue should be of reasonable size. If the play queue is unbounded
442 * @param queue A list of items in the play queue.
444 public void setQueue(@Nullable List<QueueItem> queue) { argument
446 mBinder.setQueue(queue == null ? null : new ParceledListSlice<QueueItem>(queue));
453 * Set the title of the play queue
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.h11 #include <queue>
122 * Returns the queue of resources that need to be compiled.
129 std::queue<CompileResourceWorkItem>& getWorkQueue() {
638 std::queue<CompileResourceWorkItem> mWorkQueue;
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsServiceTest.java1237 final MessageQueue queue = getLooper().getQueue();
1239 synchronized (queue) {
1240 if (queue.isIdle()) {
1252 queue.addIdleHandler(mIdleHandler);
1258 queue.removeIdleHandler(mIdleHandler);
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp252 mRenderThread.queue(new DecStrongTask(object));
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/
H A DHWC2On1Adapter.h31 #include <queue>
170 // There are always two fences in this queue.
171 std::queue<sp<MiniFence>> mFences;
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp484 // read merges requests number of read I/Os merged with in-queue I/O
492 // write merges requests number of write I/Os merged with in-queue I/O
540 // requests that are in the queue but not yet issued to the device driver.
625 unsigned queue = (fields[__STAT_IN_QUEUE] local
630 printf("%s: perf(ios) rd: %luKB/s(%lu/s) q: %u\n", path, read_perf, read_ios, queue);
633 read_ios, write_perf, write_ios, queue);
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java622 QueuedWork.queue(writeToDiskRunnable, !isFromSyncCommit);
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionRecord.java834 public void setQueue(ParceledListSlice queue) { argument
836 mQueue = queue;
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_ContextHubService.cpp32 #include <queue>
375 std::queue<jint> freeIds;
/frameworks/native/vulkan/include/vulkan/
H A Dvulkan.h2378 typedef VkResult (VKAPI_PTR *PFN_vkQueueSubmit)(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence);
2379 typedef VkResult (VKAPI_PTR *PFN_vkQueueWaitIdle)(VkQueue queue);
2394 typedef VkResult (VKAPI_PTR *PFN_vkQueueBindSparse)(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence);
2589 VkQueue queue,
2595 VkQueue queue);
2677 VkQueue queue,
3468 typedef VkResult (VKAPI_PTR *PFN_vkQueuePresentKHR)(VkQueue queue, const VkPresentInfoKHR* pPresentInfo);
3497 VkQueue queue,

Completed in 554 milliseconds

123456