No description
Find a file
Dima Zavin bc29063bf4 minui: events: refactor event acquisition
Events are now delivered through a callback mechanism during
a call to ev_dispatch(). This will allow us to extend the events
code to handle other devices/fds, not just input. One such example
is the ability to process uevents.

During initialization, we provide an input callback to ev_init
that gets called when a new event is encountered during dispatch.

ev_get has been removed and replaced with ev_get_input() helper
function that can be called from inside the callback to attempt
to get an input event.

The existing client of ev_get in recovery has been split up such
that the input thread just calls ev_wait(); ev_dispatch(); and
the input_callback handles individual events by using the
ev_get_input() helper.

Change-Id: I24d8e71bd1533876b4ab1ae751ba200fea43c049
Signed-off-by: Dima Zavin <dima@android.com>
2011-09-02 14:55:20 -07:00
applypatch Remove the simulator target from all makefiles. 2011-07-11 22:11:45 -07:00
edify make StringValue wrapper okay to call on NULL 2010-02-24 15:05:07 -08:00
etc Add missing commands to recovery init.rc 2011-07-07 13:29:43 -07:00
minelf Working ASLR implementation 2010-08-02 14:17:33 -07:00
minui minui: events: refactor event acquisition 2011-09-02 14:55:20 -07:00
minzip add a one-argument version of package_extract_file 2010-02-01 14:40:12 -08:00
mtdutils Remove the simulator target from all makefiles. 2011-07-11 22:11:45 -07:00
res/images change recovery images to match blue holo theme 2011-08-19 16:56:31 -07:00
testdata add a simple unit test for the OTA package verifier 2009-12-09 17:01:45 -08:00
tools Remove the simulator target from all makefiles. 2011-07-11 22:11:45 -07:00
updater Support multiple recovery updater extensions. 2011-07-14 15:12:20 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:11:45 -07:00
bootloader.c Check pointer for null before dereferencing 2011-07-13 15:24:38 -07:00
bootloader.h bump updater API version to 3; deprecate firmware update command 2010-02-03 09:20:07 -08:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:04:03 -08:00
common.h save a last_install file with the result of the last package install attempt 2011-04-12 09:28:10 -07:00
default_recovery_ui.c Allow applying an OTA package manually from cache. 2011-06-24 11:53:58 -07:00
install.c save a last_install file with the result of the last package install attempt 2011-04-12 09:28:10 -07:00
install.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
make-overlay.py change the default recovery assets to be in holograph style 2011-03-02 10:38:02 -08:00
NOTICE Automated import from //branches/master/...@140824,140824 2009-03-24 18:36:42 -07:00
recovery.c Allow applying an OTA package manually from cache. 2011-06-24 11:53:58 -07:00
recovery_ui.h Allow applying an OTA package manually from cache. 2011-06-24 11:53:58 -07:00
roots.c save a last_install file with the result of the last package install attempt 2011-04-12 09:28:10 -07:00
roots.h remove the notion of "root path"; support mixed flash types 2010-09-21 14:13:45 -07:00
ui.c minui: events: refactor event acquisition 2011-09-02 14:55:20 -07:00
verifier.c log which key a package verified against in recovery 2011-03-15 12:11:08 -07:00
verifier.h do not merge: cherry-picked 60151a295c from master branch 2009-08-17 13:21:04 -07:00
verifier_test.c add a simple unit test for the OTA package verifier 2009-12-09 17:01:45 -08:00
verifier_test.sh add a simple unit test for the OTA package verifier 2009-12-09 17:01:45 -08:00