Lines Matching refs:msg
44 void FingerprintDaemonProxy::hal_notify_callback(const fingerprint_msg_t *msg) {
52 switch (msg->type) {
54 ALOGD("onError(%d)", msg->data.error);
55 callback->onError(device, msg->data.error);
58 ALOGD("onAcquired(%d)", msg->data.acquired.acquired_info);
59 callback->onAcquired(device, msg->data.acquired.acquired_info);
63 msg->data.authenticated.finger.fid,
64 msg->data.authenticated.finger.gid);
65 if (msg->data.authenticated.finger.fid != 0) {
66 const uint8_t* hat = reinterpret_cast<const uint8_t *>(&msg->data.authenticated.hat);
67 instance->notifyKeystore(hat, sizeof(msg->data.authenticated.hat));
70 msg->data.authenticated.finger.fid,
71 msg->data.authenticated.finger.gid);
75 msg->data.enroll.finger.fid,
76 msg->data.enroll.finger.gid,
77 msg->data.enroll.samples_remaining);
79 msg->data.enroll.finger.fid,
80 msg->data.enroll.finger.gid,
81 msg->data.enroll.samples_remaining);
85 msg->data.removed.finger.fid,
86 msg->data.removed.finger.gid);
88 msg->data.removed.finger.fid,
89 msg->data.removed.finger.gid);
93 msg->data.enumerated.finger.fid,
94 msg->data.enumerated.finger.gid,
95 msg->data.enumerated.remaining_templates);
97 msg->data.enumerated.finger.fid,
98 msg->data.enumerated.finger.gid,
99 msg->data.enumerated.remaining_templates);
102 ALOGE("invalid msg type: %d", msg->type);