summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSasha Levitskiy <sanek@google.com>2015-06-02 11:29:12 -0700
committerSasha Levitskiy <sanek@google.com>2015-06-08 14:00:39 -0700
commita70ab95eeaf61594594a57e4de957dac47889c96 (patch)
tree540b1c310ad9f751a27c40bf1979ee428a04433d
parentc88122614c1593bc9384564b10f11bd7bb7e3b64 (diff)
downloadhardware_libhardware-a70ab95eeaf61594594a57e4de957dac47889c96.zip
hardware_libhardware-a70ab95eeaf61594594a57e4de957dac47889c96.tar.gz
hardware_libhardware-a70ab95eeaf61594594a57e4de957dac47889c96.tar.bz2
Fingerprint: Remove unused API elements.
Change-Id: Iba2f6a5bc7a2923c3e9b92684a2fab2190f14fd5 Signed-off-by: Sasha Levitskiy <sanek@google.com>
-rw-r--r--include/hardware/fingerprint.h28
-rw-r--r--modules/fingerprint/fingerprint.c2
2 files changed, 2 insertions, 28 deletions
diff --git a/include/hardware/fingerprint.h b/include/hardware/fingerprint.h
index 869502e..1fb803a 100644
--- a/include/hardware/fingerprint.h
+++ b/include/hardware/fingerprint.h
@@ -56,38 +56,12 @@ typedef struct fingerprint_finger_id {
uint32_t fid;
} fingerprint_finger_id_t;
-/* The progress indication may be augmented by a bitmap encoded indication
-* of what finger area is considered as collected.
-* Bit numbers mapped to physical location:
-*
-* distal
-* +--+--+--+--+--+
-* | 4| 3| 2| 1| 0|
-* | 9| 8| 7| 6| 5|
-* medial |14|13|12|11|10| lateral
-* |19|18|17|16|15|
-* |24|23|22|21|20|
-* +--+--+--+--+--+
-* proximal
-*
-*/
-typedef uint32_t finger_map_bmp;
-
-typedef enum fingerprint_enroll_msg_type {
- FINGERPRINT_ENROLL_MSG_NONE = 0,
- FINGERPRINT_ENROLL_MSG_PREDEFINED = 1, /* TODO: define standard enroll cues */
- FINGERPRINT_ENROLL_MSG_BITMAP = 2, /* typeof(fingerprint_enroll.msg) == *finger_map_bmp */
- FINGERPRINT_ENROLL_MSG_VENDOR = 3
-} fingerprint_enroll_msg_type_t;
-
typedef struct fingerprint_enroll {
fingerprint_finger_id_t finger;
/* samples_remaining goes from N (no data collected, but N scans needed)
* to 0 (no more data is needed to build a template). */
uint32_t samples_remaining;
- fingerprint_enroll_msg_type_t msg_type;
- size_t msg_size;
- void *msg;
+ uint64_t msg; /* Vendor specific message. Used for user guidance */
} fingerprint_enroll_t;
typedef struct fingerprint_removed {
diff --git a/modules/fingerprint/fingerprint.c b/modules/fingerprint/fingerprint.c
index 33ede62..e81b182 100644
--- a/modules/fingerprint/fingerprint.c
+++ b/modules/fingerprint/fingerprint.c
@@ -58,7 +58,7 @@ static int fingerprint_remove(struct fingerprint_device __unused *dev,
}
static int fingerprint_set_active_group(struct fingerprint_device __unused *dev,
- uint32_t __unused gid) {
+ uint32_t __unused gid, const char __unused *store_path) {
return FINGERPRINT_ERROR;
}