Lines Matching refs:sensorHandle
117 Return<Result> MultihalSensors::activate(const int32_t sensorHandle, in activate() argument
119 if (!isSensorHandleValid(sensorHandle)) { in activate()
127 newActiveMask = m_activeSensorsMask | (1u << sensorHandle); in activate()
129 newActiveMask = m_activeSensorsMask & ~(1u << sensorHandle); in activate()
136 if (!activateQemuSensorImpl(m_qemuSensorsFd.get(), sensorHandle, enabled)) { in activate()
145 Return<Result> MultihalSensors::batch(const int32_t sensorHandle, in batch() argument
150 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in batch()
162 Return<Result> MultihalSensors::flush(const int32_t sensorHandle) { in flush() argument
163 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in flush()
169 if (!(m_activeSensorsMask & (1u << sensorHandle))) { in flush()
174 event.sensorHandle = sensorHandle; in flush()
191 const SensorInfo* sensor = getSensorInfoByHandle(event.sensorHandle); in injectSensorData_2_1()
218 getSensorInfoByHandle(event.sensorHandle)->flags & in postSensorEventLocked()
243 Return<void> MultihalSensors::configDirectReport(int32_t sensorHandle, in configDirectReport() argument
247 (void)sensorHandle; in configDirectReport()