Searched refs:mSensors (Results 1 – 3 of 3) sorted by relevance
43 static const connected_sensor_t mSensors[] = { variable71 .connected_sensors = mSensors,72 .num_connected_sensors = sizeof(mSensors) / sizeof(*mSensors),
77 static struct Sensor mSensors[MAX_REGISTERED_SENSORS]; variable114 if (mSensors[i].handle == handle) in sensorFindByHandle()115 return mSensors + i; in sensorFindByHandle()139 s = mSensors + idx; in sensorRegisterEx()200 atomicBitsetClearBit(mSensorsUsed, s - mSensors); in sensorUnregister()577 if (mSensors[i].handle && mSensors[i].si->sensorType == sensorType && !idx--) { in sensorFind()579 *handleP = mSensors[i].handle; in sensorFind()580 return mSensors[i].si; in sensorFind()840 if (HANDLE_TO_TID(mSensors[i].handle) == tid) { in sensorUnregisterAll()841 sensorUnregister(mSensors[i].handle); in sensorUnregisterAll()
609 SensorBase* mSensors[numSensorDrivers]; member653 mSensors[cwmcu] = new CwMcuSensor(); in sensors_poll_context_t()654 mPollFds[cwmcu].fd = mSensors[cwmcu]->getFd(); in sensors_poll_context_t()672 delete mSensors[i]; in ~sensors_poll_context_t()681 int err = mSensors[index]->setEnable(handle, enabled); in activate()694 return mSensors[index]->setDelay(handle, ns); in setDelay()704 SensorBase* const sensor(mSensors[i]); in pollEvents()748 int err = mSensors[index]->batch(handle, flags, period_ns, timeout); in batch()760 int err = mSensors[index]->flush(handle); in flush()