Searched refs:sensor_handle (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorDevice.cpp | 747 const int sensor_handle = mActivationCount.keyAt(i); in enableAllSensors() local 749 sensor_handle); in enableAllSensors() 750 status_t err = mHalWrapper->batch(sensor_handle, info.bestBatchParams.mTSample, in enableAllSensors() 752 ALOGE_IF(err, "Error calling batch on sensor %d (%s)", sensor_handle, strerror(-err)); in enableAllSensors() 755 err = mHalWrapper->activate(sensor_handle, 1 /* enabled */); in enableAllSensors() 756 ALOGE_IF(err, "Error activating sensor %d (%s)", sensor_handle, strerror(-err)); in enableAllSensors() 772 const int sensor_handle = mActivationCount.keyAt(i); in disableAllSensors() local 774 sensor_handle); in disableAllSensors() 775 mHalWrapper->activate(sensor_handle, 0 /* enabled */); in disableAllSensors()
|
D | SensorEventConnection.cpp | 303 int32_t sensor_handle = buffer[i].sensor; in sendEvents() local 310 sensor_handle = buffer[i].meta_data.sensor; in sendEvents() 315 if (mSensorInfo.count(sensor_handle) == 0) { in sendEvents() 320 FlushInfo& flushInfo = mSensorInfo[sensor_handle]; in sendEvents() 355 } while ((i<numEvents) && ((buffer[i].sensor == sensor_handle && in sendEvents() 358 buffer[i].meta_data.sensor == sensor_handle))); in sendEvents()
|
D | SensorService.cpp | 1239 const int sensor_handle = mSensorEventBuffer[i].meta_data.sensor; in threadLoop() local 1240 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop()
|
/frameworks/base/core/proto/android/service/ |
D | sensor_service.proto | 209 optional int32 sensor_handle = 2; field 241 optional int32 sensor_handle = 2; field
|