Searched refs:sensor_handle (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorDevice.cpp | 355 const int sensor_handle = mActivationCount.keyAt(i); in enableAllSensors() local 357 sensor_handle); in enableAllSensors() 360 err = mSensorDevice->batch(mSensorDevice, sensor_handle, in enableAllSensors() 363 ALOGE_IF(err, "Error calling batch on sensor %d (%s)", sensor_handle, strerror(-err)); in enableAllSensors() 369 sensor_handle, 1); in enableAllSensors() 370 ALOGE_IF(err, "Error activating sensor %d (%s)", sensor_handle, strerror(-err)); in enableAllSensors() 376 sensor_handle, info.bestBatchParams.batchDelay); in enableAllSensors() 377 ALOGE_IF(err, "Error calling setDelay sensor %d (%s)", sensor_handle, strerror(-err)); in enableAllSensors() 388 const int sensor_handle = mActivationCount.keyAt(i); in disableAllSensors() local 390 sensor_handle); in disableAllSensors() [all …]
|
D | SensorEventConnection.cpp | 216 int32_t sensor_handle = buffer[i].sensor; in sendEvents() local 223 sensor_handle = buffer[i].meta_data.sensor; in sendEvents() 226 ssize_t index = mSensorInfo.indexOfKey(sensor_handle); in sendEvents() 266 } while ((i<numEvents) && ((buffer[i].sensor == sensor_handle && in sendEvents() 269 buffer[i].meta_data.sensor == sensor_handle))); in sendEvents()
|
D | SensorService.cpp | 592 const int sensor_handle = mSensorEventBuffer[i].meta_data.sensor; in threadLoop() local 593 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop()
|