Commit graph

16 commits

Author SHA1 Message Date
Sasha Levitskiy
e0a2988b82 Fingerprint: Add enumerate function to FP HAL
Change-Id: I4a1da563a96a1e097ea56e0dced8c02820aa8485
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-05-12 16:35:15 -07:00
Sasha Levitskiy
7eb7235c33 Fingerprint: Add storage path to set_active_group()
Change-Id: Ic6e7ad21cd3a253a38a6291bf08517c7e441af2b
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-05-07 19:25:00 -07:00
Sasha Levitskiy
468b567316 Fingerprint: Add an API to get authenticator id
Change-Id: If45ebc228425eaa43bf9abde934f8bb4e7d97e6c
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-04-16 21:52:28 +00:00
Sasha Levitskiy
6eced703e6 Fingerprint: Add auth token to enroll
Change-Id: Ied10a03213b8473b1a625229a75b7af6126d635a
2015-04-14 15:25:08 -07:00
Jim Miller
1e1f7ba5c9 Clean up FingerprintManager API and make it public.
Change-Id: I416dcc42fd70926875cc77e0c2cc958fdfcd9f9d
2015-04-11 09:21:56 -07:00
Jim Miller
1fb1e33454 Update fingerprint.h for new API
This adds vendor-specific messaging capabilities to the
HAL driver to avoid the possibility of vendors clobbering
general-purpose methods. The framework translates these
additional messages as an offset into a custom message array.

Additionally, authenticate() now takes a group id to restrict
authentication to a subset of possible fingerprints.

Bug 16487912

Change-Id: I8a92a6c86b4729af03a5576b4a150b1c73fbc9cc
2015-03-24 19:27:57 -07:00
Sasha Levitskiy
3b7402ef30 hardware: libhardware: introduce new fingerprint HAL 2.0 features.
Change-Id: I4ab0a511417742a4b0b912ebf98a3773ec22bb10
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-02-17 15:57:35 -08:00
Jim Miller
953524b2bd Minor cleanup of HAL fingerprint API
Change-Id: I7a4b1caadfe499d2394c8645e45903759b672e8b
2014-06-16 21:06:13 -07:00
Sasha Levitskiy
ba45e05a6a HAL: Fingerprint: Incremental scan notification.
Change-Id: If943fe6b46a8261ca936e07a36e11c10c7e6d63a
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-06-11 10:17:25 -07:00
Sasha Levitskiy
969466c75b Libhardware: HAL: Fingerprint: Add template collection progress hint; remove match confidence.
Change-Id: I62ce57054b7e0cfda8aa260176e504113677d993
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-05-16 15:48:25 -07:00
Stewart Miles
84d35492b1 Described restrictions for common HAL object methods.
Inheritance of HAL object is performed by composing a child structure of a
single parent structure located at offset 0 followed by new data members
and function pointers in the child structure.

For example,

struct child {
  struct parent common;
  int a_data_member;
  void (*a_method)(struct child *c, int v);
};

HAL code assumes this layout when accessing child structures given a pointer
to a parent structure such that users write code like the following...

void child_method(struct *parent, int v) {
  struct child * c = (struct child*)parent;
  // do stuff with c
}

Code above will break if a member is added before "common" in "struct child".

This change adds comments that describe the restriction on the location of
parent HAL objects within a derived HAL object.  HAL objects that already
have comments that describe the required location of parent objects are not
modified.

Change-Id: Ibe4300275286ef275b2097534c84f1029d761d87
2014-05-12 12:35:37 -07:00
Sasha Levitskiy
0d1cd3fcc2 Hardware: Fingerprint: HAL adds removed notification, normalizes names.
Change-Id: Id0a8e120043c00bf351aa1c9d3f0c06c2e4af947
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-30 15:17:31 -07:00
Sasha Levitskiy
cc14f23c97 Hardware: Fingerprint: Fix structure name.
Change-Id: I7a2593837148ad80df970d89950f396c7704e71b
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-24 09:52:47 -07:00
Sasha Levitskiy
3b9ee8d82f Hardware: Fingerprint: Fix the remove() argument, typos.
Change-Id: I99e8e2f24f0264c2217d67a75fe437756596053c
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-23 10:05:57 -07:00
Sasha Levitskiy
7308284e4e Hardware: Fingerprint: Move the HAL to an async model, add some vendor requested functionality.
Change-Id: Ib99e3edb99579ac4495918eb57d1022d75dccb57
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-22 10:50:50 -07:00
Sasha Levitskiy
a747c069c6 Hardware: Fingerprint: Introducing Fingerprint HAL
Change-Id: I4e55c42841c3b6a1327a16bdf6d1d4bb3847c7f3
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-07 18:14:34 +00:00