Lines Matching full:activate
81 checkReturn(mSensors->activate(list[i].sensorHandle, 0 /* enabled */));
122 checkReturn(mSensors->activate(handle, 0 /* enabled */));
230 status_t SensorDevice::activate(void* ident, int handle, int enabled) {
245 "SensorDevice::activate: ident=%p, handle=0x%08x, enabled=%d, count=%zu",
252 ALOGE("SensorDevice::activate, isClientDisabledLocked(%p):true, handle:%d",
259 // This is the first connection, we need to activate the underlying h/w sensor.
263 // Log error. Every activate call should be preceded by a batch() call.
264 ALOGE("\t >>>ERROR: activate called without batch");
279 // This is the last connection, we need to de-activate the underlying h/w sensor.
301 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w activate handle=%d enabled=%d", handle,
303 err = StatusFromResult(checkReturn(mSensors->activate(handle, enabled)));
425 checkReturn(mSensors->activate(sensor_handle, 1 /* enabled */)));
441 checkReturn(mSensors->activate(sensor_handle, 0 /* enabled */));