/system/chre/core/tests/ |
D | sensor_request_test.cc | 24 using chre::SensorRequest; 26 TEST(SensorRequest, DefaultMinimalPriority) { in TEST() argument 27 SensorRequest request; in TEST() 33 TEST(SensorRequest, ActiveContinuousIsHigherPriorityThanActiveOneShot) { in TEST() argument 34 SensorRequest activeContinuous(SensorMode::ActiveContinuous, Nanoseconds(0), in TEST() 36 SensorRequest activeOneShot(SensorMode::ActiveOneShot, Nanoseconds(0), in TEST() 38 SensorRequest mergedRequest; in TEST() 46 TEST(SensorRequest, ActiveOneShotIsHigherPriorityThanPassiveContinuous) { in TEST() argument 47 SensorRequest activeOneShot(SensorMode::ActiveOneShot, Nanoseconds(0), in TEST() 49 SensorRequest passiveContinuous(SensorMode::PassiveContinuous, Nanoseconds(0), in TEST() [all …]
|
/system/chre/core/ |
D | sensor_request.cc | 26 Nanoseconds getBatchInterval(const SensorRequest &request) { in getBatchInterval() 40 SensorRequest::SensorRequest() in SensorRequest() function in chre::SensorRequest 41 : SensorRequest(SensorMode::Off, Nanoseconds(CHRE_SENSOR_INTERVAL_DEFAULT), in SensorRequest() 44 SensorRequest::SensorRequest(SensorMode mode, Nanoseconds interval, in SensorRequest() function in chre::SensorRequest 46 : SensorRequest(kInvalidInstanceId, mode, interval, latency) {} in SensorRequest() 48 SensorRequest::SensorRequest(uint32_t instanceId, SensorMode mode, in SensorRequest() function in chre::SensorRequest 64 bool SensorRequest::isEquivalentTo(const SensorRequest &request) const { in isEquivalentTo() 70 bool SensorRequest::onlyBiasRequestUpdated(const SensorRequest &request) const { in onlyBiasRequestUpdated() 76 bool SensorRequest::mergeWith(const SensorRequest &request) { in mergeWith()
|
D | sensor_request_multiplexer.cc | 23 const SensorRequest *SensorRequestMultiplexer::findRequest( in findRequest() 27 const DynamicVector<SensorRequest> &requests = getRequests(); in findRequest() 29 const SensorRequest &sensorRequest = requests[i]; in findRequest()
|
D | sensor_request_manager.cc | 32 const SensorRequest &sensorRequest) { in isSensorRequestValid() 116 const DynamicVector<SensorRequest> &requests = in postSamplingStatus() 163 const SensorRequest &sensorRequest) { in setSensorRequest() 175 SensorRequest request = sensorRequest; in setSensorRequest() 247 const SensorRequest &previousRequest = in setSensorRequest() 297 for (const SensorRequest &request : sensor.getRequests()) { in removeAllRequests() 336 const DynamicVector<SensorRequest> &SensorRequestManager::getRequests( in getRequests() 370 SensorRequest previousRequest = in configureBiasEvents() 675 const SensorRequest &sensorRequest) { in addSensorRequestLog() 683 const SensorRequest &request, in addRequest() [all …]
|
/system/chre/core/include/chre/core/ |
D | sensor_request.h | 37 class SensorRequest { 43 SensorRequest(); 54 SensorRequest(SensorMode mode, Nanoseconds interval, Nanoseconds latency); 67 SensorRequest(uint32_t instanceId, SensorMode mode, Nanoseconds interval, 77 bool isEquivalentTo(const SensorRequest &request) const; 86 bool onlyBiasRequestUpdated(const SensorRequest &request) const; 95 bool mergeWith(const SensorRequest &request);
|
D | sensor_request_multiplexer.h | 29 class SensorRequestMultiplexer : public RequestMultiplexer<SensorRequest> { 43 const SensorRequest *findRequest(uint32_t instanceId, size_t *index) const;
|
D | sensor_request_manager.h | 107 const SensorRequest &sensorRequest); 157 const DynamicVector<SensorRequest> &getRequests(uint32_t sensorHandle) const; 388 bool addRequest(Sensor &sensor, const SensorRequest &request, 405 const SensorRequest &request, bool *requestChanged); 474 const SensorRequest &sensorRequest); 491 const SensorRequest &prevSensorRequest);
|
D | sensor.h | 78 const SensorRequest &getMaximalRequest() const { in getMaximalRequest() 85 const DynamicVector<SensorRequest> &getRequests() const { in getRequests()
|
/system/chre/platform/shared/ |
D | chre_api_sensor.cc | 28 using chre::SensorRequest; 97 SensorRequest sensorRequest(nanoapp->getInstanceId(), sensorMode, in chreSensorConfigure()
|
D | platform_sensor_manager.cc | 84 const SensorRequest &request) { in configureSensor()
|
/system/chre/platform/include/chre/platform/ |
D | platform_sensor_manager.h | 85 bool configureSensor(Sensor &sensor, const SensorRequest &request);
|
/system/chre/platform/slpi/see/ |
D | platform_sensor_manager.cc | 711 const SensorRequest &request) { in configureSensor()
|