fingerprint_device 結構體參考資料
#include <
fingerprint.h
>
資料欄位 |
|
| struct hw_device_t | 通用 |
| fingerprint_notify_t | notify |
| int(* | set_notify )(struct fingerprint_device *dev, fingerprint_notify_t notify ) |
| uint64_t(* | pre_enroll )(struct fingerprint_device *dev) |
| int(* | enroll )(struct fingerprint_device *dev, const hw_auth_token_t *hat, uint32_t gid, uint32_t timeout_sec) |
| int(* | post_enroll )(struct fingerprint_device *dev) |
| uint64_t(* | get_authenticator_id )(struct fingerprint_device *dev) |
| int(* | cancel )(struct fingerprint_device *dev) |
| int(* | enumerate )(struct fingerprint_device *dev) |
| int(* | remove )(struct fingerprint_device *dev, uint32_t gid, uint32_t fid) |
| int(* | set_active_group )(struct fingerprint_device *dev, uint32_t gid, const char *store_path) |
| int(* | authenticate (struct fingerprint_device *dev, uint64_t operation_id, uint32_t gid) |
| void * | 保留 [4] |
詳細說明
定義位於檔案 fingerprint.h 的 121 行。
欄位說明文件
| int(* authenticate)(struct fingerprint_device *dev, uint64_t operation_id, uint32_t gid) |
定義位於檔案 fingerprint.h 的 251 行。
| int(* cancel)(struct fingerprint_device *dev) |
定義位於檔案 fingerprint.h 的 204 行。
| struct hw_device_t common |
指紋裝置的常用方法。這個 必須是 fingerprint_device 的首位成員,因為這個結構的使用者會在已知 hw_device_t 參照 fingerprint_device 的情況下,將 hw_device_t 轉換為 fingerprint_device 指標。
定義位於檔案 fingerprint.h 的 128 行。
| int(* enroll)(struct fingerprint_device *dev, const hw_auth_token_t *hat, uint32_t gid, uint32_t timeout_sec) |
定義位於檔案 fingerprint.h 的 173 行。
| int(* enumerate)(struct fingerprint_device *dev) |
定義位於檔案 fingerprint.h 的 218 行。
| uint64_t(* get_authenticator_id)(struct fingerprint_device *dev) |
定義位於檔案 fingerprint.h 的 194 行。
| fingerprint_notify_t notify |
定義位於檔案 fingerprint.h 的 134 行。
| int(* post_enroll)(struct fingerprint_device *dev) |
定義位於檔案 fingerprint.h 的 184 行。
| uint64_t(* pre_enroll)(struct fingerprint_device *dev) |
定義位於檔案 fingerprint.h 的 157 行。
| int(* remove)(struct fingerprint_device *dev, uint32_t gid, uint32_t fid) |
定義位於檔案 fingerprint.h 的 231 行。
| void* reserved[4] |
定義位於檔案 fingerprint.h 的 254 行。
| int(* set_active_group)(struct FingerprintDevice *dev, uint32_t gid, const char *store_path) |
定義位於檔案 fingerprint.h 的 242 行。
| int(* set_notify)(struct fingerprint_device *dev, fingerprint_notify_t notify ) |
定義位於檔案 fingerprint.h 的 145 行。
這個結構體的說明文件是由下列檔案產生:
- hardware/libhardware/include/hardware/ fingerprint.h