Searched refs:sensorIndex (Results 1 – 2 of 2) sorted by relevance
75 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in SensorRequestManager() local82 mSensorRequests[sensorIndex].setSensor(std::move(sensors[i])); in SensorRequestManager()106 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in getSensorHandle() local107 sensorHandleIsValid = mSensorRequests[sensorIndex].isSensorSupported(); in getSensorHandle()128 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in setSensorRequest() local129 SensorRequests& requests = mSensorRequests[sensorIndex]; in setSensorRequest()222 size_t sensorIndex = getSensorTypeArrayIndex(sensorType); in getSensorInfo() local223 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 …]
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 …]