Home
last modified time | relevance | path

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

/aosp12/system/bt/common/
H A 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()
127 T* LeakyBondedQueue<T>::Dequeue() { in Dequeue()
135 void LeakyBondedQueue<T>::Clear() { in Clear()
144 size_t LeakyBondedQueue<T>::Length() { in Length()
150 size_t LeakyBondedQueue<T>::Capacity() { in Capacity()
[all …]
H A 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()
H A Dmetrics.cc261 new LeakyBondedQueue<BluetoothSession>(max_bluetooth_session)), in impl()
262 pair_event_queue_(new LeakyBondedQueue<PairEvent>(max_pair_event)), in impl()
263 wake_event_queue_(new LeakyBondedQueue<WakeEvent>(max_wake_event)), in impl()
264 scan_event_queue_(new LeakyBondedQueue<ScanEvent>(max_scan_event)) { in impl()
284 std::unique_ptr<LeakyBondedQueue<BluetoothSession>> bt_session_queue_;
285 std::unique_ptr<LeakyBondedQueue<PairEvent>> pair_event_queue_;
286 std::unique_ptr<LeakyBondedQueue<WakeEvent>> wake_event_queue_;
287 std::unique_ptr<LeakyBondedQueue<ScanEvent>> scan_event_queue_;
/aosp12/system/bt/btif/src/
H A Dbtif_bqr.cc36 using bluetooth::common::LeakyBondedQueue;
40 static std::unique_ptr<LeakyBondedQueue<BqrVseSubEvt>> kpBqrEventQueue(
41 new LeakyBondedQueue<BqrVseSubEvt>(kBqrEventQueueSize));