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 …]
484 mSensors[kAccelSensorIndex].samplingInterval + in handleAccelSensorDataEvent()502 mSensors[kGyroSensorIndex].samplingInterval + in handleGyroSensorDataEvent()514 mSensors[kInstantMotionSensorIndex].enabled = false; in handleInstantMotionSensorDataEvent()525 if (eventData->sensorHandle == mSensors[kAccelSensorIndex].handle && in handleSensorSamplingChangeEvent()527 mSensors[kAccelSensorIndex].samplingInterval) { in handleSensorSamplingChangeEvent()528 mSensors[kAccelSensorIndex].samplingInterval = eventData->status.interval; in handleSensorSamplingChangeEvent()529 } else if (eventData->sensorHandle == mSensors[kGyroSensorIndex].handle && in handleSensorSamplingChangeEvent()531 mSensors[kGyroSensorIndex].samplingInterval) { in handleSensorSamplingChangeEvent()532 mSensors[kGyroSensorIndex].samplingInterval = eventData->status.interval; in handleSensorSamplingChangeEvent()639 for (size_t i = 0; i < ARRAY_SIZE(mSensors); i++) { in handleSensorStartCommand()[all …]
329 SensorState mSensors[kNumSensors] = { variable
336 DynamicVector<Sensor> mSensors; variable