Home
last modified time | relevance | path

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

/system/chre/core/
Dsensor_request_manager.cc538 const auto& requests = mMultiplexer.getRequests(); in find()
557 if (!mMultiplexer.addRequest(request, &addIndex, requestChanged)) { in add()
562 success = mSensor->setRequest(mMultiplexer.getCurrentMaximalRequest()); in add()
567 mMultiplexer.removeRequest(addIndex, requestChanged); in add()
584 mMultiplexer.removeRequest(removeIndex, requestChanged); in remove()
586 success = mSensor->setRequest(mMultiplexer.getCurrentMaximalRequest()); in remove()
612 SensorRequest previousRequest = mMultiplexer.getRequests()[updateIndex]; in update()
613 mMultiplexer.updateRequest(updateIndex, request, requestChanged); in update()
615 success = mSensor->setRequest(mMultiplexer.getCurrentMaximalRequest()); in update()
621 mMultiplexer.updateRequest(updateIndex, previousRequest, requestChanged); in update()
[all …]
/system/chre/core/include/chre/core/
Dsensor_request_manager.h254 return mMultiplexer.getRequests(); in getRequests()
261 return !mMultiplexer.getRequests().empty(); in isSensorEnabled()
405 RequestMultiplexer<SensorRequest> mMultiplexer; variable