Home | History | Annotate | Download | only in sensorservice

Lines Matching refs:handle

61                 mActivationCount.add(list[i].handle, model);
64 list[i].handle, 0);
80 const Info& info = mActivationCount.valueFor(list[i].handle);
81 result.appendFormat("handle=0x%08x, active-count=%d, batch_period(ms)={ ", list[i].handle,
90 result.appendFormat("handle=0x%08x, active-count=%d, batch_timeout(ms)={ ", list[i].handle,
121 void SensorDevice::autoDisable(void *ident, int handle) {
122 Info& info( mActivationCount.editValueFor(handle) );
127 status_t SensorDevice::activate(void* ident, int handle, int enabled)
134 Info& info( mActivationCount.editValueFor(handle) );
137 "SensorDevice::activate: ident=%p, handle=0x%08x, enabled=%d, count=%d",
138 ident, handle, enabled, info.batchParams.size());
166 "\t>>> actuating h/w batch %d %d %lld %lld ", handle,
169 mSensorDevice->batch(mSensorDevice, handle,info.bestBatchParams.flags,
180 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w activate handle=%d enabled=%d", handle, enabled);
182 reinterpret_cast<struct sensors_poll_device_t *> (mSensorDevice), handle, enabled);
183 ALOGE_IF(err, "Error %s sensor %d (%s)", enabled ? "activating" : "disabling", handle,
194 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w setDelay %d %lld ", handle,
198 handle, info.bestBatchParams.batchDelay);
203 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
214 return mSensorDevice->batch(mSensorDevice, handle, flags, samplingPeriodNs,
220 errDryRun = mSensorDevice->batch(mSensorDevice, handle, flags | SENSORS_BATCH_DRY_RUN,
234 "SensorDevice::batch: ident=%p, handle=0x%08x, flags=%d, period_ns=%lld timeout=%lld",
235 ident, handle, flags, samplingPeriodNs, maxBatchReportLatencyNs);
238 Info& info(mActivationCount.editValueFor(handle));
261 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w BATCH %d %d %lld %lld ", handle,
264 err = mSensorDevice->batch(mSensorDevice, handle, info.bestBatchParams.flags,
273 ALOGE("sensor batch failed %p %d %d %lld %lld err=%s", mSensorDevice, handle,
282 status_t SensorDevice::setDelay(void* ident, int handle, int64_t samplingPeriodNs)
289 Info& info( mActivationCount.editValueFor(handle) );
303 handle, info.bestBatchParams.batchDelay);
312 status_t SensorDevice::flush(void* ident, int handle) {
316 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w flush %d", handle);
317 return mSensorDevice->flush(mSensorDevice, handle);