/frameworks/native/services/sensorservice/hidl/ |
H A D | EventQueue.cpp | 30 EventQueueLooperCallback(sp<::android::SensorEventQueue> queue, argument 32 : mQueue(queue), mCallback(callback) {
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | consumer_queue_channel.h | 8 #include <queue> 30 // Called by ProdcuerQueueChannel to notify consumer queue that a new 51 std::queue<std::pair<std::weak_ptr<ProducerChannel>, size_t>> 54 // Tracks how many buffers have this queue imported.
|
/frameworks/native/vulkan/libvulkan/ |
H A D | api.h | 50 inline DeviceData& GetData(VkQueue queue) { argument 51 return driver::GetData(queue).opaque_api_data;
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4ElementaryAssembler.cpp | 208 List<sp<ABuffer> > *queue = source->queue(); local 210 if (queue->empty()) { 215 List<sp<ABuffer> >::iterator it = queue->begin(); 216 while (it != queue->end()) { 221 it = queue->erase(it); 224 if (queue->empty()) { 229 sp<ABuffer> buffer = *queue->begin(); 368 queue->erase(queue [all...] |
H A D | AAVCAssembler.h | 52 AssemblyStatus addFragmentedNALUnit(List<sp<ABuffer> > *queue);
|
H A D | AMPEG4AudioAssembler.cpp | 491 List<sp<ABuffer> > *queue = source->queue(); local 493 if (queue->empty()) { 498 List<sp<ABuffer> >::iterator it = queue->begin(); 499 while (it != queue->end()) { 504 it = queue->erase(it); 507 if (queue->empty()) { 512 sp<ABuffer> buffer = *queue->begin(); 535 queue->erase(queue [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | SystemSensorManager.java | 170 SensorEventQueue queue = mSensorListeners.get(listener); 171 if (queue == null) { 176 queue = new SensorEventQueue(listener, looper, this, fullClassName); 177 if (!queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs)) { 178 queue.dispose(); 181 mSensorListeners.put(listener, queue); 184 return queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs); 198 SensorEventQueue queue = mSensorListeners.get(listener); 199 if (queue != null) { 202 result = queue [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | HeapTest.java | 230 ReferenceQueue<Object> queue) { 233 refs[i] = new PhantomReference<Object>(objects[i], queue); 238 ReferenceQueue<T> queue) { 242 * the queue are marked as enqueued. Once we 243 * pull them off the queue, they will no longer 258 /* Make sure that all of the references on the queue 262 while ((ref = (PhantomReference<T>) queue.poll()) != null) { 273 "unexpected ref on queue"); 316 ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); 321 makeRefs(objects, refs, queue); 229 makeRefs(Object objects[], PhantomReference<Object> refs[], ReferenceQueue<Object> queue) argument 237 checkRefs(T objects[], PhantomReference<T> refs[], ReferenceQueue<T> queue) argument [all...] |
/frameworks/native/cmds/installd/ |
H A D | CacheTracker.h | 22 #include <queue>
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | display_manager_service.cpp | 116 auto queue = 119 if (!queue) 122 auto status = queue->CreateConsumerQueueHandle(); 126 "queue for queue_id=%d: %s", 127 queue->id(), status.GetErrorMessage().c_str());
|
/frameworks/base/core/java/android/os/ |
H A D | Handler.java | 30 * queue. When you create a new Handler, it is bound to the thread / 31 * message queue of the thread that is creating it -- from that point on, 32 * it will deliver messages and runnables to that message queue and execute 33 * them as they come out of the message queue. 44 * you to enqueue Runnable objects to be called by the message queue when 51 * allow the item to be processed as soon as the message queue is ready 58 * running a message queue that takes care of managing the top-level 64 * in the Handler's message queue and processed when appropriate. 344 * Causes the Runnable r to be added to the message queue. 351 * message queue 656 enqueueMessage(MessageQueue queue, Message msg, long uptimeMillis) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | OutputPort.java | 63 * frame data, you can push it into the output queue using {@link #pushFrame(Frame)}. Note, 64 * that the Frame returned is owned by the queue. If you wish to hold on to the frame, you 89 * @param frame the frame to push to the output queue. 92 // Some queues allow pushing without fetching, so we need to make sure queue is open 168 void setQueue(FrameQueue queue) { argument 169 mQueue = queue;
|
/frameworks/native/include/android/ |
H A D | native_activity.h | 207 * The input queue for this native activity's window has been created. 208 * You can use the given input queue to start retrieving input events. 210 void (*onInputQueueCreated)(ANativeActivity* activity, AInputQueue* queue); 213 * The input queue for this native activity's window is being destroyed. 217 void (*onInputQueueDestroyed)(ANativeActivity* activity, AInputQueue* queue);
|
H A D | input.h | 1297 * Input queue 1299 * An input queue is the facility through which you retrieve input 1305 * Add this input queue to a looper for processing. See 1308 void AInputQueue_attachLooper(AInputQueue* queue, ALooper* looper, 1312 * Remove the input queue from the looper it is currently attached to. 1314 void AInputQueue_detachLooper(AInputQueue* queue); 1318 * input queue. Returns 1 if the queue has events; 0 if 1321 int32_t AInputQueue_hasEvents(AInputQueue* queue); 1324 * Returns the next available event from the queue [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | MessageQueue.h | 73 explicit Handler(MessageQueue& queue) : mQueue(queue), mEventMask(0) { } argument
|
/frameworks/native/vulkan/include/vulkan/ |
H A D | vk_android_native_buffer.h | 91 typedef VkResult (VKAPI_PTR *PFN_vkQueueSignalReleaseImageANDROID)(VkQueue queue, uint32_t waitSemaphoreCount, const VkSemaphore* pWaitSemaphores, VkImage image, int* pNativeFenceFd); 119 VkQueue queue,
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
H A D | IMediaControllerCallback.aidl | 36 void onQueueChanged(in List<MediaSessionCompat.QueueItem> queue);
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecSource.cpp | 87 // if queue is empty, return false and set *|buffer| to NULL . Otherwise, pop 88 // buffer from front of the queue, place it into *|buffer| and return true. 90 // add a buffer to the back of the queue 138 // there are no null buffers in the queue 144 Mutexed<Queue>::Locked queue(mQueue); 145 return queue->readBuffer(mbuf); 183 Mutexed<Queue>::Locked queue(mQueue); 184 queue->mPulling = false; 185 interrupt = queue->mReadPendingSince && (queue [all...] |
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | QueueFragment.java | 80 List<MediaSessionCompat.QueueItem> queue = mMediaController.getQueue(); 81 if (queue != null) { 84 mQueueAdapter.addAll(queue); 105 // Receive callbacks from the MediaController. Here we update our state such as which queue 125 public void onQueueChanged(List<MediaSessionCompat.QueueItem> queue) { 126 Log.d(TAG, "onQueueChanged " + queue); 127 if (queue != null) { 130 mQueueAdapter.addAll(queue);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | QueueFragment.java | 80 List<MediaSessionCompat.QueueItem> queue = mMediaController.getQueue(); 81 if (queue != null) { 84 mQueueAdapter.addAll(queue); 105 // Receive callbacks from the MediaController. Here we update our state such as which queue 125 public void onQueueChanged(List<MediaSessionCompat.QueueItem> queue) { 126 Log.d(TAG, "onQueueChanged " + queue); 127 if (queue != null) { 130 mQueueAdapter.addAll(queue);
|
/frameworks/base/core/java/android/app/ |
H A D | NativeActivity.java | 88 private native long loadNativeCode(String path, String funcname, MessageQueue queue, argument 284 public void onInputQueueCreated(InputQueue queue) { argument 286 mCurInputQueue = queue; 287 onInputQueueCreatedNative(mNativeHandle, queue.getNativePtr()); 291 public void onInputQueueDestroyed(InputQueue queue) { argument 293 onInputQueueDestroyedNative(mNativeHandle, queue.getNativePtr());
|
/frameworks/support/media-compat/api21/android/support/v4/media/session/ |
H A D | MediaControllerCompatApi21.java | 83 List<MediaSession.QueueItem> queue = ((MediaController) controllerObj).getQueue(); 84 if (queue == null) { 87 List<Object> queueObjs = new ArrayList<Object>(queue); 267 public void onQueueChanged(List<?> queue); argument 301 public void onQueueChanged(List<MediaSession.QueueItem> queue) { argument 302 mCallback.onQueueChanged(queue);
|
/frameworks/base/core/java/android/view/ |
H A D | InputQueue.java | 30 * An input queue provides a mechanism for an application to receive incoming 148 void onInputQueueCreated(InputQueue queue); argument 154 void onInputQueueDestroyed(InputQueue queue); argument
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderThread.h | 57 void queue(RenderTask* task); 81 ANDROID_API void queue(RenderTask* task);
|
/frameworks/base/media/java/android/media/session/ |
H A D | ISession.aidl | 44 void setQueue(in ParceledListSlice queue);
|