Searched refs:RequestMultiplexer (Results 1 – 5 of 5) sorted by relevance
26 bool RequestMultiplexer<RequestType>::addRequest(const RequestType &request, in addRequest()42 bool RequestMultiplexer<RequestType>::addRequest(RequestType &&request, in addRequest()58 void RequestMultiplexer<RequestType>::updateRequest( in updateRequest()70 void RequestMultiplexer<RequestType>::updateRequest( in updateRequest()82 void RequestMultiplexer<RequestType>::removeRequest( in removeRequest()94 void RequestMultiplexer<RequestType>::removeAllRequests( in removeAllRequests()103 const DynamicVector<RequestType> &RequestMultiplexer<RequestType>::getRequests() in getRequests()109 const RequestType &RequestMultiplexer<RequestType>::getCurrentMaximalRequest() in getCurrentMaximalRequest()115 void RequestMultiplexer<RequestType>::updateMaximalRequest( in updateMaximalRequest()
57 class RequestMultiplexer : public NonCopyable {59 RequestMultiplexer() = default;60 RequestMultiplexer(RequestMultiplexer &&other) { in RequestMultiplexer() function64 RequestMultiplexer &operator=(RequestMultiplexer &&other) {
29 class SensorRequestMultiplexer : public RequestMultiplexer<SensorRequest> {
34 class BleRequestMultiplexer : public RequestMultiplexer<BleRequest> {
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 …]