Lines Matching defs:err
176 ssize_t err;
188 err = (ssize_t)events.size();
190 err = StatusFromResult(result);
216 return err;
233 status_t err(NO_ERROR);
303 err = StatusFromResult(checkReturn(mSensors->activate(handle, enabled)));
304 ALOGE_IF(err, "Error %s sensor %d (%s)", enabled ? "activating" : "disabling", handle,
305 strerror(-err));
307 if (err != NO_ERROR && enabled) {
313 return err;
361 status_t err(NO_ERROR);
366 err = StatusFromResult(
369 if (err != NO_ERROR) {
370 ALOGE("sensor batch failed %p 0x%08x %" PRId64 " %" PRId64 " err=%s",
372 info.bestBatchParams.mTBatch, strerror(-err));
376 return err;
416 status_t err = StatusFromResult(
421 ALOGE_IF(err, "Error calling batch on sensor %d (%s)", sensor_handle, strerror(-err));
423 if (err == NO_ERROR) {
424 err = StatusFromResult(
426 ALOGE_IF(err, "Error activating sensor %d (%s)", sensor_handle, strerror(-err));