Add function pointers for read, write, and eventfd in Sys
wrapper and call these instead of directly calling system calls.
CRs-Fixed: 814136
Change-Id: I9964df85be2f6eaa83371b71971c642a768830f8
- Send a cancellation request to display event thread before waiting
for it join. This thread waits for poll to return indefinitely
which may not return if all of the events (vsync etc) are in
disabled state.
- Drop this call for Android for now as this api is not supported in
bionic.
- Fix GetVSyncState return value.
- Fix pwrite return value in case of set on idle time out.
Change-Id: I7da5be4c8a77fa986450dedb914fa2dba2751da9
- Add Sys class which encapsulates all system calls.
- Fix crash if display initialization failed.
Change-Id: I622aa7f415bf10a6c65a730cbe0dcf2426bae963