Searched refs:mSensors (Results 1 – 4 of 4) sorted by relevance
129 for (size_t i = 0; i < mSensors.size(); i++) { in ~SensorRequestManager()131 removeAllRequests(mSensors[i]); in ~SensorRequestManager()140 mSensors = mPlatformSensorManager.getSensors(); in init()150 for (uint32_t i = 0; i < mSensors.size(); i++) { in getSensorHandle()151 if ((mSensors[i].getSensorType() == sensorType) && in getSensorHandle()152 (mSensors[i].getSensorIndex() == sensorIndex) && in getSensorHandle()153 (BITMASK_HAS_VALUE(mSensors[i].getTargetGroupMask(), targetGroupId))) { in getSensorHandle()171 if (sensorHandle >= mSensors.size()) { in setSensorRequest()174 Sensor &sensor = mSensors[sensorHandle]; in setSensorRequest()286 if (sensorHandle >= mSensors.size()) { in getSensorInfo()[all …]
477 mSensors[kAccelSensorIndex].samplingInterval + in handleAccelSensorDataEvent()495 mSensors[kGyroSensorIndex].samplingInterval + in handleGyroSensorDataEvent()507 mSensors[kInstantMotionSensorIndex].enabled = false; in handleInstantMotionSensorDataEvent()518 if (eventData->sensorHandle == mSensors[kAccelSensorIndex].handle && in handleSensorSamplingChangeEvent()520 mSensors[kAccelSensorIndex].samplingInterval) { in handleSensorSamplingChangeEvent()521 mSensors[kAccelSensorIndex].samplingInterval = eventData->status.interval; in handleSensorSamplingChangeEvent()522 } else if (eventData->sensorHandle == mSensors[kGyroSensorIndex].handle && in handleSensorSamplingChangeEvent()524 mSensors[kGyroSensorIndex].samplingInterval) { in handleSensorSamplingChangeEvent()525 mSensors[kGyroSensorIndex].samplingInterval = eventData->status.interval; in handleSensorSamplingChangeEvent()632 for (size_t i = 0; i < ARRAY_SIZE(mSensors); i++) { in handleSensorStartCommand()[all …]
334 SensorState mSensors[kNumSensors] = { variable
336 DynamicVector<Sensor> mSensors; variable