Home
last modified time | relevance | path

Searched refs:mSensors (Results 1 – 4 of 4) sorted by relevance

/system/chre/core/
Dsensor_request_manager.cc129 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 …]
/system/chre/apps/test/common/chre_stress_test/src/
Dchre_stress_test_manager.cc477 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 …]
/system/chre/apps/test/common/chre_stress_test/inc/
Dchre_stress_test_manager.h334 SensorState mSensors[kNumSensors] = { variable
/system/chre/core/include/chre/core/
Dsensor_request_manager.h336 DynamicVector<Sensor> mSensors; variable