Home
last modified time | relevance | path

Searched defs:queue (Results 1 – 25 of 74) sorted by relevance

123

/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_fixed_queue.cc65 size_t fixed_queue_capacity(fixed_queue_t* queue) { in fixed_queue_capacity()
69 void* fixed_queue_dequeue(fixed_queue_t* queue) { in fixed_queue_dequeue()
73 void fixed_queue_enqueue(fixed_queue_t* queue, void* data) { in fixed_queue_enqueue()
77 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_flush()
81 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_free()
85 int fixed_queue_get_dequeue_fd(const fixed_queue_t* queue) { in fixed_queue_get_dequeue_fd()
89 int fixed_queue_get_enqueue_fd(const fixed_queue_t* queue) { in fixed_queue_get_enqueue_fd()
93 list_t* fixed_queue_get_list(fixed_queue_t* queue) { in fixed_queue_get_list()
97 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty()
101 size_t fixed_queue_length(fixed_queue_t* queue) { in fixed_queue_length()
[all …]
/packages/modules/Bluetooth/system/osi/src/
Dfixed_queue.cc69 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_free()
86 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_flush()
97 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty()
104 size_t fixed_queue_length(fixed_queue_t* queue) { in fixed_queue_length()
111 size_t fixed_queue_capacity(fixed_queue_t* queue) { in fixed_queue_capacity()
117 void fixed_queue_enqueue(fixed_queue_t* queue, void* data) { in fixed_queue_enqueue()
131 void* fixed_queue_dequeue(fixed_queue_t* queue) { in fixed_queue_dequeue()
148 bool fixed_queue_try_enqueue(fixed_queue_t* queue, void* data) { in fixed_queue_try_enqueue()
163 void* fixed_queue_try_dequeue(fixed_queue_t* queue) { in fixed_queue_try_dequeue()
180 void* fixed_queue_try_peek_first(fixed_queue_t* queue) { in fixed_queue_try_peek_first()
[all …]
Dalarm.cc100 fixed_queue_t* queue; // The processing queue to add this alarm to member
227 fixed_queue_t* queue, bool for_msg_loop) { in alarm_set_internal()
546 static void alarm_register_processing_queue(fixed_queue_t* queue, in alarm_register_processing_queue()
603 static void alarm_queue_ready(fixed_queue_t* queue, UNUSED_ATTR void* context) { in alarm_queue_ready()
/packages/modules/Bluetooth/system/osi/test/
Dfixed_queue_test.cc40 static void fixed_queue_ready(fixed_queue_t* queue, UNUSED_ATTR void* context) { in fixed_queue_ready()
55 fixed_queue_t* queue; in TEST_F() local
83 fixed_queue_t* queue; in TEST_F() local
125 fixed_queue_t* queue; in TEST_F() local
147 fixed_queue_t* queue; in TEST_F() local
169 fixed_queue_t* queue; in TEST_F() local
197 fixed_queue_t* queue = fixed_queue_new(TEST_QUEUE_SIZE); in TEST_F() local
234 fixed_queue_t* queue = fixed_queue_new(TEST_QUEUE_SIZE); in TEST_F() local
264 fixed_queue_t* queue = fixed_queue_new(TEST_QUEUE_SIZE); in TEST_F() local
295 fixed_queue_t* queue = fixed_queue_new(TEST_QUEUE_SIZE); in TEST_F() local
[all …]
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Dqueue_unittest.cc75 explicit TestEnqueueEnd(Queue<std::string>* queue, Handler* handler) in TestEnqueueEnd()
141 explicit TestDequeueEnd(Queue<std::string>* queue, Handler* handler, int capacity) in TestDequeueEnd()
213 Queue<std::string> queue(kQueueSize); in TEST_F() local
237 Queue<std::string> queue(kQueueSize); in TEST_F() local
255 Queue<std::string> queue(kQueueSize); in TEST_F() local
289 Queue<std::string> queue(kQueueSize); in TEST_F() local
322 Queue<std::string> queue(kQueueSize); in TEST_F() local
356 Queue<std::string> queue(kQueueSize); in TEST_F() local
392 Queue<std::string> queue(kQueueSize); in TEST_F() local
421 Queue<std::string> queue(kQueueSize); in TEST_F() local
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DScanFilterQueueTest.java41 ScanFilterQueue queue = new ScanFilterQueue(); in scanFilterQueueParams() local
123 ScanFilterQueue queue = new ScanFilterQueue(); in popEmpty() local
131 ScanFilterQueue queue = new ScanFilterQueue(); in popFromQueue() local
144 ScanFilterQueue queue = new ScanFilterQueue(); in checkFeatureSelection() local
156 ScanFilterQueue queue = new ScanFilterQueue(); in convertQueueToArray() local
173 ScanFilterQueue queue = new ScanFilterQueue(); in queueAddScanFilter() local
/packages/modules/Bluetooth/system/common/
Dleaky_bonded_queue_unittest.cc54 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(3); in TEST() local
90 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST() local
124 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST() local
164 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST() local
193 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST() local
218 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST() local
227 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(1); in TEST() local
237 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST() local
/packages/modules/Bluetooth/system/gd/l2cap/fuzz/
Dchannel_fuzz_controller.cc27 EnqueueType* queue = reinterpret_cast<EnqueueType*>(chan->GetQueueUpEnd()); in ChannelFuzzController() local
32 EnqueueType* queue = reinterpret_cast<EnqueueType*>(chan->GetQueueUpEnd()); in ChannelFuzzController() local
/packages/modules/Bluetooth/system/gd/os/
Dqueue_benchmark.cc59 …explicit TestEnqueueEnd(int64_t count, Queue<std::string>* queue, Handler* handler, std::promise<v… in TestEnqueueEnd()
109 …explicit TestDequeueEnd(int64_t count, Queue<std::string>* queue, Handler* handler, std::promise<v… in TestDequeueEnd()
143 Queue<std::string> queue(num_data_to_send_); in BENCHMARK_DEFINE_F() local
177 Queue<std::string> queue(num_data_to_send_); in BENCHMARK_DEFINE_F() local
Dqueue.h108 EnqueueBuffer(IQueueEnqueue<T>* queue) : queue_(queue) {} in EnqueueBuffer()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DGPMWrapperTest.java69 List<MediaSession.QueueItem> queue = new ArrayList<>(); in isMetadataSynced_whenOutOfSync_returnsFalse() local
98 List<MediaSession.QueueItem> queue = new ArrayList<>(); in isMetadataSynced_whenSynced_returnsTrue() local
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc313 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty()
317 bool fixed_queue_try_enqueue(fixed_queue_t* queue, void* data) { in fixed_queue_try_enqueue()
325 int fixed_queue_get_dequeue_fd(const fixed_queue_t* queue) { in fixed_queue_get_dequeue_fd()
329 int fixed_queue_get_enqueue_fd(const fixed_queue_t* queue) { in fixed_queue_get_enqueue_fd()
333 list_t* fixed_queue_get_list(fixed_queue_t* queue) { in fixed_queue_get_list()
337 size_t fixed_queue_capacity(fixed_queue_t* queue) { in fixed_queue_capacity()
341 size_t fixed_queue_length(fixed_queue_t* queue) { in fixed_queue_length()
345 void fixed_queue_enqueue(fixed_queue_t* queue, void* data) { in fixed_queue_enqueue()
348 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_flush()
351 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_free()
[all …]
/packages/modules/StatsD/statsd/tests/log_event/
DLogEventQueue_test.cpp51 LogEventQueue queue(50); in TEST() local
76 LogEventQueue queue(50); in TEST() local
/packages/modules/Bluetooth/system/gd/os/fuzz/
Dfuzz_inject_queue.h28 FuzzInjectQueue(IQueueEnqueue<T>* queue, Handler* handler) : handler_(handler) { in FuzzInjectQueue()
Ddev_null_queue.h29 DevNullQueue(IQueueDequeue<T>* queue, Handler* handler) : queue_(queue), handler_(handler) {} in DevNullQueue()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/
DMediaData.java28 public List<Metadata> queue; field in MediaData
/packages/modules/adb/
Dadb_utils.h70 std::vector<T> queue; variable
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DTestUtils.java224 public static Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
243 public static Intent waitForNoIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForNoIntent()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DRecordingSampleBuffer.java225 private boolean maybeReadSample(SampleQueue queue, int index) { in maybeReadSample()
272 SampleQueue queue = mReadSampleQueues.get(i); in continueLoading() local
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DRecordingSampleBuffer.java225 private boolean maybeReadSample(SampleQueue queue, int index) { in maybeReadSample()
296 SampleQueue queue = mReadSampleQueues.get(i); in continueBuffering() local
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DIdentityCache.java37 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry()
/packages/apps/Gallery/src/com/android/camera/gallery/
DLruCache.java45 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DLruCache.java49 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java170 private Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
191 private void verifyCallback(int timeoutMs, int callbackType, BlockingQueue<Integer> queue) { in verifyCallback()
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskQueue.java40 private final Queue<Task> queue = new ArrayDeque<>(); field in TaskQueue

123