Home
last modified time | relevance | path

Searched refs:LeakyBondedQueue (Results 1 – 4 of 4) sorted by relevance

/system/bt/common/
Dleaky_bonded_queue.h43 class LeakyBondedQueue {
45 LeakyBondedQueue(size_t capacity);
50 ~LeakyBondedQueue();
95 LeakyBondedQueue<T>::LeakyBondedQueue(size_t capacity) { in LeakyBondedQueue() function
100 LeakyBondedQueue<T>::~LeakyBondedQueue() {} in ~LeakyBondedQueue()
103 void LeakyBondedQueue<T>::Enqueue(T* new_item) { in Enqueue()
113 T* LeakyBondedQueue<T>::EnqueueWithPop(T* new_item) { in EnqueueWithPop()
127 T* LeakyBondedQueue<T>::Dequeue() { in Dequeue()
135 void LeakyBondedQueue<T>::Clear() { in Clear()
144 size_t LeakyBondedQueue<T>::Length() { in Length()
[all …]
Dleaky_bonded_queue_unittest.cc27 using bluetooth::common::LeakyBondedQueue;
54 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(3); in TEST()
90 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()
124 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()
164 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()
193 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()
218 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()
227 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(1); in TEST()
237 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()
Dmetrics.cc260 new LeakyBondedQueue<BluetoothSession>(max_bluetooth_session)), in impl()
261 pair_event_queue_(new LeakyBondedQueue<PairEvent>(max_pair_event)), in impl()
262 wake_event_queue_(new LeakyBondedQueue<WakeEvent>(max_wake_event)), in impl()
263 scan_event_queue_(new LeakyBondedQueue<ScanEvent>(max_scan_event)) { in impl()
283 std::unique_ptr<LeakyBondedQueue<BluetoothSession>> bt_session_queue_;
284 std::unique_ptr<LeakyBondedQueue<PairEvent>> pair_event_queue_;
285 std::unique_ptr<LeakyBondedQueue<WakeEvent>> wake_event_queue_;
286 std::unique_ptr<LeakyBondedQueue<ScanEvent>> scan_event_queue_;
/system/bt/btif/src/
Dbtif_bqr.cc28 using bluetooth::common::LeakyBondedQueue;
32 static std::unique_ptr<LeakyBondedQueue<BqrVseSubEvt>> kpBqrEventQueue(
33 new LeakyBondedQueue<BqrVseSubEvt>(kBqrEventQueueSize));