Lines Matching full:activate
62 mSensorDevice->activate(
127 status_t SensorDevice::activate(void* ident, int handle, int enabled)
137 "SensorDevice::activate: ident=%p, handle=0x%08x, enabled=%d, count=%d",
145 // This is the first connection, we need to activate the underlying h/w sensor.
149 // Log error. Every activate call should be preceded by a batch() call.
150 ALOGE("\t >>>ERROR: activate called without batch");
157 // This is the last connection, we need to de-activate the underlying h/w sensor.
180 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w activate handle=%d enabled=%d", handle, enabled);
181 err = mSensorDevice->activate(
268 // For older devices which do not support batch, call setDelay() after activate() is
269 // called. Some older devices may not support calling setDelay before activate(), so
270 // call setDelay in SensorDevice::activate() method.