Home
last modified time | relevance | path

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

1234

/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_fixed_queue.cc59 size_t fixed_queue_capacity(fixed_queue_t* queue) { in fixed_queue_capacity()
63 void* fixed_queue_dequeue(fixed_queue_t* queue) { in fixed_queue_dequeue()
67 void fixed_queue_enqueue(fixed_queue_t* queue, void* data) { in fixed_queue_enqueue()
71 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_flush()
75 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_free()
79 int fixed_queue_get_dequeue_fd(const fixed_queue_t* queue) { in fixed_queue_get_dequeue_fd()
83 int fixed_queue_get_enqueue_fd(const fixed_queue_t* queue) { in fixed_queue_get_enqueue_fd()
87 list_t* fixed_queue_get_list(fixed_queue_t* queue) { in fixed_queue_get_list()
91 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty()
95 size_t fixed_queue_length(fixed_queue_t* queue) { in fixed_queue_length()
[all …]
/packages/modules/Bluetooth/system/osi/src/
Dfixed_queue.cc71 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_free()
88 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_flush()
99 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty()
106 size_t fixed_queue_length(fixed_queue_t* queue) { in fixed_queue_length()
113 size_t fixed_queue_capacity(fixed_queue_t* queue) { in fixed_queue_capacity()
119 void fixed_queue_enqueue(fixed_queue_t* queue, void* data) { in fixed_queue_enqueue()
133 void* fixed_queue_dequeue(fixed_queue_t* queue) { in fixed_queue_dequeue()
150 bool fixed_queue_try_enqueue(fixed_queue_t* queue, void* data) { in fixed_queue_try_enqueue()
165 void* fixed_queue_try_dequeue(fixed_queue_t* queue) { in fixed_queue_try_dequeue()
182 void* fixed_queue_try_peek_first(fixed_queue_t* queue) { in fixed_queue_try_peek_first()
[all …]
/packages/modules/Bluetooth/system/osi/test/
Dfixed_queue_test.cc38 static void fixed_queue_ready(fixed_queue_t* queue, void* /* context */) { in fixed_queue_ready()
53 fixed_queue_t* queue; in TEST_F() local
81 fixed_queue_t* queue; in TEST_F() local
123 fixed_queue_t* queue; in TEST_F() local
145 fixed_queue_t* queue; in TEST_F() local
167 fixed_queue_t* queue; in TEST_F() local
195 fixed_queue_t* queue = fixed_queue_new(TEST_QUEUE_SIZE); in TEST_F() local
232 fixed_queue_t* queue = fixed_queue_new(TEST_QUEUE_SIZE); in TEST_F() local
262 fixed_queue_t* queue = fixed_queue_new(TEST_QUEUE_SIZE); in TEST_F() local
293 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.cc77 explicit TestEnqueueEnd(Queue<std::string>* queue, Handler* handler) in TestEnqueueEnd()
143 explicit TestDequeueEnd(Queue<std::string>* queue, Handler* handler, int capacity) in TestDequeueEnd()
215 Queue<std::string> queue(kQueueSize); in TEST_F() local
239 Queue<std::string> queue(kQueueSize); in TEST_F() local
257 Queue<std::string> queue(kQueueSize); in TEST_F() local
291 Queue<std::string> queue(kQueueSize); in TEST_F() local
324 Queue<std::string> queue(kQueueSize); in TEST_F() local
358 Queue<std::string> queue(kQueueSize); in TEST_F() local
394 Queue<std::string> queue(kQueueSize); in TEST_F() local
423 Queue<std::string> queue(kQueueSize); in TEST_F() local
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanFilterQueueTest.java39 ScanFilterQueue queue = new ScanFilterQueue(); in scanFilterQueueParams() local
121 ScanFilterQueue queue = new ScanFilterQueue(); in popEmpty() local
129 ScanFilterQueue queue = new ScanFilterQueue(); in popFromQueue() local
142 ScanFilterQueue queue = new ScanFilterQueue(); in checkFeatureSelection() local
154 ScanFilterQueue queue = new ScanFilterQueue(); in convertQueueToArray() local
171 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/StatsD/lib/libstatssocket/tests/
Dstats_buffer_writer_queue_test.cpp64 BufferWriterQueueMock queue; in TEST() local
87 BufferWriterQueueMock queue; in TEST() local
117 BufferWriterQueueMock queue; in TEST() local
159 BufferWriterQueueMock queue; 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/test/stub/
Dosi.cc277 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty()
281 bool fixed_queue_try_enqueue(fixed_queue_t* queue, void* data) { in fixed_queue_try_enqueue()
289 int fixed_queue_get_dequeue_fd(const fixed_queue_t* queue) { in fixed_queue_get_dequeue_fd()
293 int fixed_queue_get_enqueue_fd(const fixed_queue_t* queue) { in fixed_queue_get_enqueue_fd()
297 list_t* fixed_queue_get_list(fixed_queue_t* queue) { in fixed_queue_get_list()
301 size_t fixed_queue_capacity(fixed_queue_t* queue) { in fixed_queue_capacity()
305 size_t fixed_queue_length(fixed_queue_t* queue) { in fixed_queue_length()
309 void fixed_queue_enqueue(fixed_queue_t* queue, void* data) { in fixed_queue_enqueue()
312 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_flush()
315 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_free()
[all …]
/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
/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
99 List<MediaSession.QueueItem> queue = new ArrayList<>(); in isMetadataSynced_whenSynced_returnsTrue() local
/packages/modules/Profiling/tests/cts/src/android/profiling/cts/
DProfilingServiceTests.java680 List<TracingSession> queue = new ArrayList<TracingSession>(); in testQueuedResult_InvalidState() local
719 List<TracingSession> queue = new ArrayList<TracingSession>(); in testQueuedResult_OverMaxRetries() local
757 List<TracingSession> queue = new ArrayList<TracingSession>(); in testQueuedResult_ProfilingFinished() local
796 List<TracingSession> queue = new ArrayList<TracingSession>(); in testQueuedResult_TraceUnredacted() local
834 List<TracingSession> queue = new ArrayList<TracingSession>(); in testQueuedResult_TraceRedacted() local
877 List<TracingSession> queue = new ArrayList<TracingSession>(); in testQueuedResult_AlreadyCopied() local
914 List<TracingSession> queue = new ArrayList<TracingSession>(); in testQueuedResult_Cleanup() local
/packages/modules/StatsD/statsd/src/socket/
DStatsSocketListener.cpp44 StatsSocketListener::StatsSocketListener(const std::shared_ptr<LogEventQueue>& queue, in StatsSocketListener()
126 LogEventQueue& queue, in processSocketMessage()
180 LogEventQueue& queue, in processStatsEventBuffer()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/measurements/
DTracer.kt62 val queue = getUserShortcutRequestQueue(userHandle, createIfMissing = true) ?: return in <lambda>() constant
78 val queue = getUserShortcutRequestQueue(userHandle, createIfMissing = false) ?: return -1L in <lambda>() constant
/packages/modules/StatsD/statsd/tests/log_event/
DLogEventQueue_test.cpp58 LogEventQueue queue(50); in TEST() local
83 LogEventQueue queue(50); in TEST() local
121 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/StatsD/statsd/fuzzers/
Dstatsd_socket_data_fuzzer.cpp24 LogEventQueue queue(50000); in fuzzSocket() local
/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/system/gd/
Dmodule_dumper.cc51 std::queue<DumpsysDataFinisher> queue; in DumpState() local
/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/modules/Bluetooth/system/gd/dumpsys/
Dfilter_test.cc60 std::queue<TableAddFunction> queue; in PopulateTestSchema() local
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DTestUtils.java171 public static Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
189 public static Intent waitForNoIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForNoIntent()

1234