Home
last modified time | relevance | path

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

/system/chre/core/include/chre/core/
Drequest_multiplexer_impl.h26 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()
Drequest_multiplexer.h57 class RequestMultiplexer : public NonCopyable {
59 RequestMultiplexer() = default;
60 RequestMultiplexer(RequestMultiplexer &&other) { in RequestMultiplexer() function
64 RequestMultiplexer &operator=(RequestMultiplexer &&other) {
Dsensor_request_multiplexer.h29 class SensorRequestMultiplexer : public RequestMultiplexer<SensorRequest> {
Dble_request_multiplexer.h34 class BleRequestMultiplexer : public RequestMultiplexer<BleRequest> {
/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 …]