Home
last modified time | relevance | path

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

/system/chre/platform/slpi/
Dplatform_sensor.cc289 const sns_smgr_buffering_sample_index_s_v01& sensorIndex) { in populateSensorDataHeader() argument
291 sensorIndex.FirstSampleTimestamp); in populateSensorDataHeader()
295 header->readingCount = sensorIndex.SampleCount; in populateSensorDataHeader()
303 const sns_smgr_buffering_sample_index_s_v01& sensorIndex) { in populateThreeAxisEvent() argument
304 populateSensorDataHeader(sensorType, &data->header, sensorIndex); in populateThreeAxisEvent()
306 for (size_t i = 0; i < sensorIndex.SampleCount; i++) { in populateThreeAxisEvent()
308 gSmgrBufferingIndMsg.Samples[i + sensorIndex.FirstSampleIdx]; in populateThreeAxisEvent()
334 const sns_smgr_buffering_sample_index_s_v01& sensorIndex) { in populateFloatEvent() argument
335 populateSensorDataHeader(sensorType, &data->header, sensorIndex); in populateFloatEvent()
337 for (size_t i = 0; i < sensorIndex.SampleCount; i++) { in populateFloatEvent()
[all …]
/system/chre/core/
Dsensor_request_manager.cc76 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in SensorRequestManager() local
79 mSensorRequests[sensorIndex].sensor = in SensorRequestManager()
101 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in getSensorHandle() local
102 sensorHandleIsValid = mSensorRequests[sensorIndex].sensor.isValid(); in getSensorHandle()
123 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in setSensorRequest() local
124 SensorRequests& requests = mSensorRequests[sensorIndex]; in setSensorRequest()
209 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in getSensorInfo() local
210 const Sensor& sensor = mSensorRequests[sensorIndex].sensor; in getSensorInfo()
227 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in removeAllRequests() local
228 SensorRequests& requests = mSensorRequests[sensorIndex]; in removeAllRequests()
[all …]