"git@repo.buzztime.com:halo/bootable_recovery.git" did not exist on "bc29063bf4e2312133d91e211dfe9c86ee811489"
minui: events: refactor event acquisition
Dima Zavin authored

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: default avatarDima Zavin <dima@android.com>
bc29063b
Name Last commit Last update
applypatch Remove the simulator target from all makefiles.
edify make StringValue wrapper okay to call on NULL
etc Add missing commands to recovery init.rc
minelf Working ASLR implementation
minui minui: events: refactor event acquisition
minzip add a one-argument version of package_extract_file
mtdutils Remove the simulator target from all makefiles.
res/images change recovery images to match blue holo theme
testdata add a simple unit test for the OTA package verifier
tools Remove the simulator target from all makefiles.
updater Support multiple recovery updater extensions.
Android.mk Remove the simulator target from all makefiles.
CleanSpec.mk Add an empty CleanSpec.mk
NOTICE Automated import from //branches/master/...@140824,140824
bootloader.c Check pointer for null before dereferencing
bootloader.h bump updater API version to 3; deprecate firmware update command
common.h save a last_install file with the result of the last package install attempt
default_recovery_ui.c Allow applying an OTA package manually from cache.
install.c save a last_install file with the result of the last package install attempt
install.h auto import from //depot/cupcake/@135843
make-overlay.py change the default recovery assets to be in holograph style
recovery.c Allow applying an OTA package manually from cache.
recovery_ui.h Allow applying an OTA package manually from cache.
roots.c save a last_install file with the result of the last package install attempt
roots.h remove the notion of "root path"; support mixed flash types
ui.c
verifier.c
verifier.h
verifier_test.c
verifier_test.sh