Home
last modified time | relevance | path

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

/system/chre/core/include/chre/core/
Drequest_multiplexer.h53 class RequestMultiplexer : public NonCopyable {
55 RequestMultiplexer() = default;
56 RequestMultiplexer(RequestMultiplexer &&other) { in RequestMultiplexer() function
60 RequestMultiplexer &operator=(RequestMultiplexer &&other) {
Drequest_multiplexer_impl.h26 bool RequestMultiplexer<RequestType>::addRequest(const RequestType &request, in addRequest()
42 void RequestMultiplexer<RequestType>::updateRequest( in updateRequest()
54 void RequestMultiplexer<RequestType>::removeRequest( in removeRequest()
66 void RequestMultiplexer<RequestType>::removeAllRequests( in removeAllRequests()
75 const DynamicVector<RequestType> &RequestMultiplexer<RequestType>::getRequests() in getRequests()
81 const RequestType &RequestMultiplexer<RequestType>::getCurrentMaximalRequest() in getCurrentMaximalRequest()
87 void RequestMultiplexer<RequestType>::updateMaximalRequest( in updateMaximalRequest()
Dsensor_request_multiplexer.h29 class SensorRequestMultiplexer : public RequestMultiplexer<SensorRequest> {
/system/chre/core/tests/
Drequest_multiplexer_test.cc23 using chre::RequestMultiplexer;
53 TEST(RequestMultiplexer, DefaultRequestDoesNotCauseNewMaximal) { in TEST() argument
54 RequestMultiplexer<FakeRequest> multiplexer; in TEST()
63 TEST(RequestMultiplexer, FirstHighPriorityRequestCausesNewMaximal) { in TEST() argument
64 RequestMultiplexer<FakeRequest> multiplexer; in TEST()
73 TEST(RequestMultiplexer, NewLowerPriorityRequestDoesNotCauseNewMaximal) { in TEST() argument
74 RequestMultiplexer<FakeRequest> multiplexer; in TEST()
96 TEST(RequestMultiplexer, AddOneRemoveMaximal) { in TEST() argument
97 RequestMultiplexer<FakeRequest> multiplexer; in TEST()
114 TEST(RequestMultiplexer, AddManyRemoveMaximal) { in TEST() argument
[all …]