Lines Matching refs:handle

67                 mActivationCount.add(list[i].handle, model);  in ANDROID_SINGLETON_STATIC_INSTANCE()
70 list[i].handle, 0); in ANDROID_SINGLETON_STATIC_INSTANCE()
87 const Info& info = mActivationCount.valueFor(list[i].handle); in dump()
88 result.appendFormat("handle=0x%08x, active-count=%zu, batch_period(ms)={ ", list[i].handle, in dump()
97 result.appendFormat("handle=0x%08x, active-count=%zu, batch_timeout(ms)={ ", list[i].handle, in dump()
128 void SensorDevice::autoDisable(void *ident, int handle) { in autoDisable() argument
129 Info& info( mActivationCount.editValueFor(handle) ); in autoDisable()
134 status_t SensorDevice::activate(void* ident, int handle, int enabled) in activate() argument
141 Info& info( mActivationCount.editValueFor(handle) ); in activate()
145 ident, handle, enabled, info.batchParams.size()); in activate()
173 "\t>>> actuating h/w batch %d %d %" PRId64 " %" PRId64, handle, in activate()
176 mSensorDevice->batch(mSensorDevice, handle,info.bestBatchParams.flags, in activate()
187 … ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w activate handle=%d enabled=%d", handle, enabled); in activate()
189 reinterpret_cast<struct sensors_poll_device_t *> (mSensorDevice), handle, enabled); in activate()
190 ALOGE_IF(err, "Error %s sensor %d (%s)", enabled ? "activating" : "disabling", handle, in activate()
201 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w setDelay %d %" PRId64, handle, in activate()
205 handle, info.bestBatchParams.batchDelay); in activate()
210 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, in batch() argument
226 ident, handle, flags, samplingPeriodNs, maxBatchReportLatencyNs); in batch()
229 Info& info(mActivationCount.editValueFor(handle)); in batch()
253 … ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w BATCH %d %d %" PRId64 " %" PRId64, handle, in batch()
256 err = mSensorDevice->batch(mSensorDevice, handle, info.bestBatchParams.flags, in batch()
266 mSensorDevice, handle, in batch()
275 status_t SensorDevice::setDelay(void* ident, int handle, int64_t samplingPeriodNs) in setDelay() argument
282 Info& info( mActivationCount.editValueFor(handle) ); in setDelay()
296 handle, info.bestBatchParams.batchDelay); in setDelay()
305 status_t SensorDevice::flush(void* ident, int handle) { in flush() argument
309 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w flush %d", handle); in flush()
310 return mSensorDevice->flush(mSensorDevice, handle); in flush()