Home
last modified time | relevance | path

Searched refs:DummyElement (Results 1 – 2 of 2) sorted by relevance

/system/chre/util/tests/
Dpriority_queue_test.cc7 class DummyElement { class
9 DummyElement() {}; in DummyElement() function in __anon2ccf46cc0111::DummyElement
10 DummyElement(int index, int value) { in DummyElement() function in __anon2ccf46cc0111::DummyElement
14 ~DummyElement() {}; in ~DummyElement()
30 bool compareFunction(const DummyElement& left, const DummyElement& right) { in compareFunction()
36 bool operator() (const DummyElement& left, const DummyElement& right) const { in operator ()()
170 auto cmp = [](const DummyElement& left, const DummyElement& right) { in TEST()
173 PriorityQueue<DummyElement, decltype(cmp)> q(cmp); in TEST()
193 PriorityQueue<DummyElement, in TEST()
194 std::function<bool(const DummyElement&, const DummyElement&)>> in TEST()
[all …]
Darray_queue_test.cc16 class DummyElement { class
18 DummyElement() { in DummyElement() function in __anonff08c0c90111::DummyElement
21 DummyElement(int i) { in DummyElement() function in __anonff08c0c90111::DummyElement
25 ~DummyElement() { in ~DummyElement()
224 ArrayQueue<DummyElement, 3> q; in TEST()
225 DummyElement e; in TEST()
245 { ArrayQueue<DummyElement, 4> q; in TEST()
246 DummyElement e; in TEST()
270 ArrayQueue<DummyElement, 2> q; in TEST()
521 ArrayQueue<DummyElement, 4> q; in TEST()