Lines Matching refs:err
181 int err; in openHal() local
183 if (0 != (err = hw_get_module(FINGERPRINT_HARDWARE_MODULE_ID, &hw_module))) { in openHal()
184 ALOGE("Can't open fingerprint HW Module, error: %d", err); in openHal()
201 if (0 != (err = mModule->common.methods->open(hw_module, NULL, &device))) { in openHal()
202 ALOGE("Can't open fingerprint methods, error: %d", err); in openHal()
212 err = mDevice->set_notify(mDevice, hal_notify_callback); in openHal()
213 if (err < 0) { in openHal()
214 ALOGE("Failed in call to set_notify(), err=%d", err); in openHal()
233 int err; in closeHal() local
234 if (0 != (err = mDevice->common.close(reinterpret_cast<hw_device_t*>(mDevice)))) { in closeHal()
235 ALOGE("Can't close fingerprint module, error: %d", err); in closeHal()
236 return err; in closeHal()
244 int err; in binderDied() local
245 if (0 != (err = closeHal())) { in binderDied()
246 ALOGE("Can't close fingerprint device, error: %d", err); in binderDied()