Searched refs:sensor_handle (Results 1 – 3 of 3) sorted by relevance
413 const int sensor_handle = mActivationCount.keyAt(i); in enableAllSensors() local415 sensor_handle); in enableAllSensors()418 sensor_handle, in enableAllSensors()421 ALOGE_IF(err, "Error calling batch on sensor %d (%s)", sensor_handle, strerror(-err)); in enableAllSensors()425 checkReturn(mSensors->activate(sensor_handle, 1 /* enabled */))); in enableAllSensors()426 ALOGE_IF(err, "Error activating sensor %d (%s)", sensor_handle, strerror(-err)); in enableAllSensors()438 const int sensor_handle = mActivationCount.keyAt(i); in disableAllSensors() local440 sensor_handle); in disableAllSensors()441 checkReturn(mSensors->activate(sensor_handle, 0 /* enabled */)); in disableAllSensors()
234 int32_t sensor_handle = buffer[i].sensor; in sendEvents() local241 sensor_handle = buffer[i].meta_data.sensor; in sendEvents()244 ssize_t index = mSensorInfo.indexOfKey(sensor_handle); in sendEvents()286 } while ((i<numEvents) && ((buffer[i].sensor == sensor_handle && in sendEvents()289 buffer[i].meta_data.sensor == sensor_handle))); in sendEvents()
727 const int sensor_handle = mSensorEventBuffer[i].meta_data.sensor; in threadLoop() local728 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop()