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