Lines Matching refs:mSensors
149 SensorBase* mSensors[numSensorDrivers]; member
164 mSensors[acc] = new AdxlSensor(); in sensors_poll_context_t()
167 mSensors[acc] = new KionixSensor(); in sensors_poll_context_t()
169 mPollFds[acc].fd = mSensors[acc]->getFd(); in sensors_poll_context_t()
173 mSensors[akm] = new AkmSensor(); in sensors_poll_context_t()
174 mPollFds[akm].fd = mSensors[akm]->getFd(); in sensors_poll_context_t()
192 delete mSensors[i]; in ~sensors_poll_context_t()
221 mSensors[handleToDriver(ID_A)]->setEnable(ID_A, enabled); in activate()
222 mSensors[handleToDriver(ID_M)]->setEnable(ID_M, enabled); in activate()
228 err = mSensors[drv]->setEnable(handle, enabled); in activate()
259 int en = mSensors[drv]->getEnable(handle); in setDelay_sub()
260 int64_t cur = mSensors[drv]->getDelay(handle); in setDelay_sub()
266 err = mSensors[drv]->setDelay(handle, ns); in setDelay_sub()
271 err = mSensors[drv]->setDelay(handle, ns); in setDelay_sub()
285 SensorBase* const sensor(mSensors[i]); in pollEvents()
293 ((AkmSensor*)(mSensors[akm]))->setAccel(&data[nb-1]); in pollEvents()