Searched refs:FakeElement (Results 1 – 2 of 2) sorted by relevance
/system/chre/util/tests/ |
D | priority_queue_test.cc | 7 class FakeElement { class 9 FakeElement(){}; in FakeElement() function in __anon2ccf46cc0111::FakeElement 10 FakeElement(int index, int value) { in FakeElement() function in __anon2ccf46cc0111::FakeElement 14 ~FakeElement(){}; in ~FakeElement() 30 bool compareFunction(const FakeElement &left, const FakeElement &right) { in compareFunction() 36 bool operator()(const FakeElement &left, const FakeElement &right) const { in operator ()() 170 auto cmp = [](const FakeElement &left, const FakeElement &right) { in TEST() 173 PriorityQueue<FakeElement, decltype(cmp)> q(cmp); in TEST() 193 PriorityQueue<FakeElement, in TEST() 194 std::function<bool(const FakeElement &, const FakeElement &)>> in TEST() [all …]
|
D | array_queue_test.cc | 16 class FakeElement { class 18 FakeElement() { in FakeElement() function in __anonff08c0c90111::FakeElement 21 FakeElement(int i) { in FakeElement() function in __anonff08c0c90111::FakeElement 25 ~FakeElement() { in ~FakeElement() 224 ArrayQueue<FakeElement, 3> q; in TEST() 225 FakeElement e; in TEST() 246 ArrayQueue<FakeElement, 4> q; in TEST() 247 FakeElement e; in TEST() 271 ArrayQueue<FakeElement, 2> q; in TEST() 521 ArrayQueue<FakeElement, 4> q; in TEST()
|