Searched refs:sensor_handle (Results 1 – 4 of 4) sorted by relevance
301 int32_t sensor_handle = buffer[i].sensor; in sendEvents() local308 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()
927 const int sensor_handle = mActivationCount.keyAt(i); in enableAllSensors() local929 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() local956 sensor_handle); in disableAllSensors()957 checkReturn(mSensors->activate(sensor_handle, 0 /* enabled */)); in disableAllSensors()
957 const int sensor_handle = mSensorEventBuffer[i].meta_data.sensor; in threadLoop() local958 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop()
209 optional int32 sensor_handle = 2; field241 optional int32 sensor_handle = 2; field