Searched refs:sensorIndex (Results 1 – 2 of 2) sorted by relevance
91 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in init() local98 mSensorRequests[sensorIndex].setSensor(std::move(sensors[i])); in init()113 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in getSensorHandle() local114 sensorHandleIsValid = mSensorRequests[sensorIndex].isSensorSupported(); in getSensorHandle()135 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in setSensorRequest() local136 SensorRequests& requests = mSensorRequests[sensorIndex]; in setSensorRequest()229 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in getSensorInfo() local230 if (!mSensorRequests[sensorIndex].isSensorSupported()) { in getSensorInfo()242 const Sensor& sensor = mSensorRequests[sensorIndex].getSensor(); in getSensorInfo()263 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in removeAllRequests() local[all …]
370 const sns_smgr_buffering_sample_index_s_v01& sensorIndex) { in populateSensorDataHeader() argument374 sensorIndex.FirstSampleTimestamp); in populateSensorDataHeader()381 header->readingCount = sensorIndex.SampleCount; in populateSensorDataHeader()388 const sns_smgr_buffering_sample_index_s_v01& sensorIndex) { in populateThreeAxisEvent() argument389 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() argument418 populateSensorDataHeader(sensorType, &data->header, sensorIndex); in populateFloatEvent()420 for (size_t i = 0; i < sensorIndex.SampleCount; i++) { in populateFloatEvent()[all …]