Home
last modified time | relevance | path

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

/system/chre/core/
Dsensor_request_manager.cc75 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in SensorRequestManager() local
82 mSensorRequests[sensorIndex].setSensor(std::move(sensors[i])); in SensorRequestManager()
106 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in getSensorHandle() local
107 sensorHandleIsValid = mSensorRequests[sensorIndex].isSensorSupported(); in getSensorHandle()
128 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in setSensorRequest() local
129 SensorRequests& requests = mSensorRequests[sensorIndex]; in setSensorRequest()
222 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in getSensorInfo() local
223 if (!mSensorRequests[sensorIndex].isSensorSupported()) { in getSensorInfo()
235 const Sensor& sensor = mSensorRequests[sensorIndex].getSensor(); in getSensorInfo()
256 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in removeAllRequests() local
[all …]
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc370 const sns_smgr_buffering_sample_index_s_v01& sensorIndex) { in populateSensorDataHeader() argument
374 sensorIndex.FirstSampleTimestamp); in populateSensorDataHeader()
381 header->readingCount = sensorIndex.SampleCount; in populateSensorDataHeader()
388 const sns_smgr_buffering_sample_index_s_v01& sensorIndex) { in populateThreeAxisEvent() argument
389 populateSensorDataHeader(sensorType, &data->header, sensorIndex); in populateThreeAxisEvent()
391 for (size_t i = 0; i < sensorIndex.SampleCount; i++) { in populateThreeAxisEvent()
393 bufferingIndMsg.Samples[i + sensorIndex.FirstSampleIdx]; in populateThreeAxisEvent()
417 const sns_smgr_buffering_sample_index_s_v01& sensorIndex) { in populateFloatEvent() argument
418 populateSensorDataHeader(sensorType, &data->header, sensorIndex); in populateFloatEvent()
420 for (size_t i = 0; i < sensorIndex.SampleCount; i++) { in populateFloatEvent()
[all …]