Searched refs:sensor_handle (Results 1 – 3 of 3) sorted by relevance
760 const int sensor_handle = mActivationCount.keyAt(i); in enableAllSensors() local762 sensor_handle); in enableAllSensors()764 sensor_handle, in enableAllSensors()767 ALOGE_IF(err, "Error calling batch on sensor %d (%s)", sensor_handle, strerror(-err)); in enableAllSensors()770 err = checkReturnAndGetStatus(mSensors->activate(sensor_handle, 1 /* enabled */)); in enableAllSensors()771 ALOGE_IF(err, "Error activating sensor %d (%s)", sensor_handle, strerror(-err)); in enableAllSensors()787 const int sensor_handle = mActivationCount.keyAt(i); in disableAllSensors() local789 sensor_handle); in disableAllSensors()790 checkReturn(mSensors->activate(sensor_handle, 0 /* enabled */)); in disableAllSensors()
242 int32_t sensor_handle = buffer[i].sensor; in sendEvents() local249 sensor_handle = buffer[i].meta_data.sensor; in sendEvents()252 ssize_t index = mSensorInfo.indexOfKey(sensor_handle); in sendEvents()295 } while ((i<numEvents) && ((buffer[i].sensor == sensor_handle && in sendEvents()298 buffer[i].meta_data.sensor == sensor_handle))); in sendEvents()
809 const int sensor_handle = mSensorEventBuffer[i].meta_data.sensor; in threadLoop() local810 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop()