Home
last modified time | relevance | path

Searched refs:Queue (Results 1 – 20 of 20) sorted by relevance

/system/bt/gd/os/linux_generic/
Dqueue.tpp18 Queue<T>::Queue(size_t capacity) : enqueue_(capacity), dequeue_(0){};
21 Queue<T>::~Queue() {
27 void Queue<T>::RegisterEnqueue(Handler* handler, EnqueueCallback callback) {
34 base::Bind(&Queue<T>::EnqueueCallbackInternal, base::Unretained(this), std::move(callback)),
39 void Queue<T>::UnregisterEnqueue() {
59 void Queue<T>::RegisterDequeue(Handler* handler, DequeueCallback callback) {
69 void Queue<T>::UnregisterDequeue() {
89 std::unique_ptr<T> Queue<T>::TryDequeue() {
107 void Queue<T>::EnqueueCallbackInternal(EnqueueCallback callback) {
Dqueue_unittest.cc67 explicit TestEnqueueEnd(Queue<std::string>* queue, Handler* handler) in TestEnqueueEnd()
116 Queue<std::string>* queue_;
132 explicit TestDequeueEnd(Queue<std::string>* queue, Handler* handler, int capacity) in TestDequeueEnd()
180 Queue<std::string>* queue_;
204 Queue<std::string> queue(kQueueSize); in TEST_F()
228 Queue<std::string> queue(kQueueSize); in TEST_F()
246 Queue<std::string> queue(kQueueSize); in TEST_F()
280 Queue<std::string> queue(kQueueSize); in TEST_F()
313 Queue<std::string> queue(kQueueSize); in TEST_F()
346 Queue<std::string> queue(kQueueSize); in TEST_F()
[all …]
/system/bt/gd/os/
Dqueue_benchmark.cc59 …explicit TestEnqueueEnd(int64_t count, Queue<std::string>* queue, Handler* handler, std::promise<v… in TestEnqueueEnd()
98 Queue<std::string>* queue_;
109 …explicit TestDequeueEnd(int64_t count, Queue<std::string>* queue, Handler* handler, std::promise<v… in TestDequeueEnd()
132 Queue<std::string>* queue_;
143 Queue<std::string> queue(num_data_to_send_); in BENCHMARK_DEFINE_F()
177 Queue<std::string> queue(num_data_to_send_); in BENCHMARK_DEFINE_F()
Dqueue.h58 class Queue : public IQueueEnqueue<T>, public IQueueDequeue<T> {
67 explicit Queue(size_t capacity);
68 ~Queue();
Dhandler.h93 friend class Queue; variable
/system/bt/gd/hci/acl_manager/
Dround_robin_scheduler_test.cc178 auto connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F()
185 auto connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F()
206 auto connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F()
207 auto le_connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F()
232 auto connection_queue = std::make_shared<AclConnection::Queue>(15); in TEST_F()
274 auto connection_queue1 = std::make_shared<AclConnection::Queue>(10); in TEST_F()
275 auto connection_queue2 = std::make_shared<AclConnection::Queue>(10); in TEST_F()
276 auto le_connection_queue1 = std::make_shared<AclConnection::Queue>(10); in TEST_F()
277 auto le_connection_queue2 = std::make_shared<AclConnection::Queue>(10); in TEST_F()
330 auto connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F()
[all …]
Dround_robin_scheduler.h41 std::shared_ptr<acl_manager::AclConnection::Queue> queue_;
47 std::shared_ptr<acl_manager::AclConnection::Queue> queue);
Dle_acl_connection.cc68 impl(LeAclConnectionInterface* le_acl_connection_interface, std::shared_ptr<Queue> queue, in impl()
78 std::shared_ptr<Queue> queue_;
86 LeAclConnection::LeAclConnection(std::shared_ptr<Queue> queue, LeAclConnectionInterface* le_acl_con… in LeAclConnection()
Dacl_connection.h37 using Queue = common::BidiQueue<PacketView<kLittleEndian>, BasePacketBuilder>; variable
Dle_acl_connection.h32 …LeAclConnection(std::shared_ptr<Queue> queue, LeAclConnectionInterface* le_acl_connection_interfac…
Dclassic_acl_connection.h31 …ClassicAclConnection(std::shared_ptr<Queue> queue, AclConnectionInterface* acl_connection_interfac…
Dclassic_acl_connection.cc287 impl(AclConnectionInterface* acl_connection_interface, std::shared_ptr<Queue> queue) in impl()
297 std::shared_ptr<Queue> queue_;
303 ClassicAclConnection::ClassicAclConnection(std::shared_ptr<Queue> queue, in ClassicAclConnection()
Dround_robin_scheduler.cc43 std::shared_ptr<acl_manager::AclConnection::Queue> queue) { in Register()
Dle_impl.h147 auto queue = std::make_shared<AclConnection::Queue>(10); in on_le_connection_complete()
200 auto queue = std::make_shared<AclConnection::Queue>(10); in on_le_enhanced_connection_complete()
Dclassic_impl.h211 auto queue = std::make_shared<AclConnection::Queue>(10); in on_connection_complete()
/system/bt/gd/common/
Dbidi_queue.h79 ::bluetooth::os::Queue<TUP> up_queue_;
80 ::bluetooth::os::Queue<TDOWN> down_queue_;
/system/extras/pagecache/
Dpagecache.py11 import Queue
287 stdout_queue = Queue.Queue(maxsize=128)
288 stderr_queue = Queue.Queue()
324 except Queue.Empty:
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dlink_layer_socket.py87 self.packets_ = queue.Queue()
Dhci_socket.py224 self.packets_ = queue.Queue()
/system/bt/gd/docs/architecture/
Darchitecture.md207 A pure data use case of `Reactor` is a `Reactive Queue`, see its definition at: