Searched refs:indexed_priority_queue (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/cmds/statsd/src/anomaly/ |
D | indexed_priority_queue.h | 44 class indexed_priority_queue { 46 indexed_priority_queue(); 88 indexed_priority_queue<AA, Comparator>::indexed_priority_queue() { in indexed_priority_queue() function 93 void indexed_priority_queue<AA, Comparator>::push(sp<const AA> a) { in push() 103 bool indexed_priority_queue<AA, Comparator>::remove(sp<const AA> a) { in remove() 131 void indexed_priority_queue<AA, Comparator>::pop() { in pop() 152 void indexed_priority_queue<AA, Comparator>::clear() { in clear() 159 sp<const AA> indexed_priority_queue<AA, Comparator>::top() const { in top() 165 void indexed_priority_queue<AA, Comparator>::init() { in init() 171 void indexed_priority_queue<AA, Comparator>::sift_up(size_t idx) { in sift_up() [all …]
|
D | AlarmMonitor.h | 121 indexed_priority_queue<InternalAlarm, InternalAlarm::SmallerTimestamp> mPq;
|
/frameworks/base/cmds/statsd/tests/ |
D | indexed_priority_queue_test.cpp | 40 TEST(indexed_priority_queue, empty_and_size) { in TEST() argument 43 indexed_priority_queue<AATest, AATest::Smaller> ipq; in TEST() 67 TEST(indexed_priority_queue, top) { in TEST() argument 70 indexed_priority_queue<AATest, AATest::Smaller> ipq; in TEST() 121 TEST(indexed_priority_queue, push_same_aa) { in TEST() argument 124 indexed_priority_queue<AATest, AATest::Smaller> ipq; in TEST() 144 TEST(indexed_priority_queue, remove_nonexistant) { in TEST() argument 147 indexed_priority_queue<AATest, AATest::Smaller> ipq; in TEST() 158 TEST(indexed_priority_queue, remove_same_aa) { in TEST() argument 159 indexed_priority_queue<AATest, AATest::Smaller> ipq; in TEST() [all …]
|