Searched refs:RequestMultiplexer (Results 1 – 4 of 4) sorted by relevance
53 class RequestMultiplexer : public NonCopyable {55 RequestMultiplexer() = default;56 RequestMultiplexer(RequestMultiplexer &&other) { in RequestMultiplexer() function60 RequestMultiplexer &operator=(RequestMultiplexer &&other) {
26 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()
29 class SensorRequestMultiplexer : public RequestMultiplexer<SensorRequest> {
23 using chre::RequestMultiplexer;53 TEST(RequestMultiplexer, DefaultRequestDoesNotCauseNewMaximal) { in TEST() argument54 RequestMultiplexer<FakeRequest> multiplexer; in TEST()63 TEST(RequestMultiplexer, FirstHighPriorityRequestCausesNewMaximal) { in TEST() argument64 RequestMultiplexer<FakeRequest> multiplexer; in TEST()73 TEST(RequestMultiplexer, NewLowerPriorityRequestDoesNotCauseNewMaximal) { in TEST() argument74 RequestMultiplexer<FakeRequest> multiplexer; in TEST()96 TEST(RequestMultiplexer, AddOneRemoveMaximal) { in TEST() argument97 RequestMultiplexer<FakeRequest> multiplexer; in TEST()114 TEST(RequestMultiplexer, AddManyRemoveMaximal) { in TEST() argument[all …]