History log of /external/libese/esed/Weaver.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e837c1c673004ad2f4fbc1e18440586105e07519 26-May-2017 Andrew Scull <ascull@google.com> esed: Remove use of android::hardware::Status

Bug: 38163768
Test: Build
Change-Id: If67eb63d1b8c51b272b3e57a1decdf28a308ebea
/external/libese/esed/Weaver.cpp
fc7b1e27555dd6ba21e7ef75419b1d375130620a 10-May-2017 Andrew Scull <ascull@google.com> esed: don't use HW binder status.

Previously, this would return EX_ILLEGAL_ARGUMENT with an error message
for debugging. Now, it returns FAILED and logs the reason. A new status
code is not needed as clients of the HAL don't need to distinguish this
cause of failure in the usual case and the log has the information
needed for debugging.

Change-Id: I30587f0bf3e2776987de39a0577a88131533fb46
Test: manual -- enroll and authenticate using Weaver
Fix: 38163768
/external/libese/esed/Weaver.cpp
e47ba832ec6c5fa6076ec651de7315c6d9e74035 19-Apr-2017 Will Drewry <drewry@google.com> esed: OemLock HAL implementation.

This change adds basic OemLock behavior
using libese-app-boot as well as a client
integration test (which should later move into
VTS-style testing).

It also moves OemLock and Weaver over to
a ScopedEseConnection which will open and close
the ese based on use. At present, it will log
on error and let later errors handle failures.
In the future, it can aid in helping with power
down delay requests and the HAL endpoints can
handle init() failures explicitly.

Test: starts eѕed and run the integration tests. Also confirm failure of
device lock flipping when production=true and boot_priv is high.
Bug: 35628284
Change-Id: I67442ec04ded2dc8f1ed1f37fe6b89af1e7e98e9
/external/libese/esed/Weaver.cpp
5ca0a141626e959341cd088c700aa9eecf91980d 19-Apr-2017 Andrew Scull <ascull@google.com> Detect when the Weaver applet is not installed.

Report no available storage in the Weaver applet when the applet is not
installed to allow the framework to fallback to a software mechanism
rather than failing becase the Weaver applet isn't there.

Test: Removed applet and zero was returned, restored applet and expected
number of slots were reported.

Change-Id: I5bead1ca68dbebe0cce148de3632c1a8b24a464d
/external/libese/esed/Weaver.cpp
6024d162366e47ee275700b9668bbcccb01fb69f 17-Apr-2017 Andrew Scull <ascull@google.com> Implementation of Weaver HAL

Bug: 35628284
Test: esed_integration_tests
Change-Id: I2adc2c00272641922627607c823383486a4ed7cb
/external/libese/esed/Weaver.cpp