Home
last modified time | relevance | path

Searched refs:sensor_handle (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp301 int32_t sensor_handle = buffer[i].sensor; in sendEvents() local
308 sensor_handle = buffer[i].meta_data.sensor; in sendEvents()
313 if (mSensorInfo.count(sensor_handle) == 0) { in sendEvents()
318 FlushInfo& flushInfo = mSensorInfo[sensor_handle]; in sendEvents()
353 } while ((i<numEvents) && ((buffer[i].sensor == sensor_handle && in sendEvents()
356 buffer[i].meta_data.sensor == sensor_handle))); in sendEvents()
DSensorDevice.cpp927 const int sensor_handle = mActivationCount.keyAt(i); in enableAllSensors() local
929 sensor_handle); in enableAllSensors()
931 sensor_handle, in enableAllSensors()
934 ALOGE_IF(err, "Error calling batch on sensor %d (%s)", sensor_handle, strerror(-err)); in enableAllSensors()
937 err = checkReturnAndGetStatus(mSensors->activate(sensor_handle, 1 /* enabled */)); in enableAllSensors()
938 ALOGE_IF(err, "Error activating sensor %d (%s)", sensor_handle, strerror(-err)); in enableAllSensors()
954 const int sensor_handle = mActivationCount.keyAt(i); in disableAllSensors() local
956 sensor_handle); in disableAllSensors()
957 checkReturn(mSensors->activate(sensor_handle, 0 /* enabled */)); in disableAllSensors()
DSensorService.cpp957 const int sensor_handle = mSensorEventBuffer[i].meta_data.sensor; in threadLoop() local
958 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop()
/frameworks/base/core/proto/android/service/
Dsensor_service.proto209 optional int32 sensor_handle = 2; field
241 optional int32 sensor_handle = 2; field