Home | History | Annotate | Download | only in sensorservice

Lines Matching full:handle

67                 mActivationCount.add(list[i].handle, model);
70 list[i].handle, 0);
87 const Info& info = mActivationCount.valueFor(list[i].handle);
89 result.appendFormat("handle=0x%08x, active-count=%zu, batch_period(ms)={ ", list[i].handle,
98 result.appendFormat("handle=0x%08x, active-count=%zu, batch_timeout(ms)={ ", list[i].handle,
129 void SensorDevice::autoDisable(void *ident, int handle) {
130 Info& info( mActivationCount.editValueFor(handle) );
135 status_t SensorDevice::activate(void* ident, int handle, int enabled)
142 Info& info( mActivationCount.editValueFor(handle) );
145 "SensorDevice::activate: ident=%p, handle=0x%08x, enabled=%d, count=%zu",
146 ident, handle, enabled, info.batchParams.size());
178 "\t>>> actuating h/w batch %d %d %" PRId64 " %" PRId64, handle,
181 mSensorDevice->batch(mSensorDevice, handle,info.bestBatchParams.flags,
196 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w activate handle=%d enabled=%d", handle,
199 reinterpret_cast<struct sensors_poll_device_t *> (mSensorDevice), handle, enabled);
200 ALOGE_IF(err, "Error %s sensor %d (%s)", enabled ? "activating" : "disabling", handle,
211 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w setDelay %d %" PRId64, handle,
215 handle, info.bestBatchParams.batchDelay);
220 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
235 "SensorDevice::batch: ident=%p, handle=0x%08x, flags=%d, period_ns=%" PRId64 " timeout=%" PRId64,
236 ident, handle, flags, samplingPeriodNs, maxBatchReportLatencyNs);
239 Info& info(mActivationCount.editValueFor(handle));
263 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w BATCH %d %d %" PRId64 " %" PRId64, handle,
266 err = mSensorDevice->batch(mSensorDevice, handle, info.bestBatchParams.flags,
276 mSensorDevice, handle,
285 status_t SensorDevice::setDelay(void* ident, int handle, int64_t samplingPeriodNs)
293 Info& info( mActivationCount.editValueFor(handle) );
307 handle, info.bestBatchParams.batchDelay);
315 status_t SensorDevice::flush(void* ident, int handle) {
320 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w flush %d", handle);
321 return mSensorDevice->flush(mSensorDevice, handle);
342 ALOGD_IF(DEBUG_CONNECTIONS, "\t>> reenable actuating h/w sensor enable handle=%d ",
375 ALOGD_IF(DEBUG_CONNECTIONS, "\t>> actuating h/w sensor disable handle=%d ",
391 "sensor_event handle=%d ts=%lld data=%.2f, %.2f, %.2f %.2f %.2f %.2f",