rockbox/firmware/target/hosted/android
Thomas Martitz 0cf2cc1607 Android: Change how detecting call state (introduced in r27746) works, from polling to event based.
* For some reason, the polling methid is much more inefficient than I thought. According to htop it caused up to 15% CPU load on some phones (e.g. Galaxy S).
The event based causes no CPU load.
Rockbox' idle CPU load is now back to 0%, while it was previously dominated by polling the call state.

* Also stop on outgoing calls (no need to explicitely pause for making a call anymore).
* Factor out the detection mechanism to separate files.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28564 a1c6a512-1295-4272-9138-f99709370657
2010-11-12 21:04:13 +00:00
..
app Remote android button handling (again). do the press/unpress more like other targets (i.e correctly). The DPAD is special in that the press/unpress happens too quickly, so always post it with the BUTTON_REL. This means all keymaps using the dpad need to remember it will always have a BUTTON_REL (which also means they cant do repeats, which are impossible anyway). 2010-11-03 14:34:57 +00:00
button-android.c remove an unused variable and #include 2010-11-07 11:10:43 +00:00
buttonmap.h Rockbox as an application: Commit current Android port progress. 2010-08-02 20:34:47 +00:00
debug-android.c Redirect (L)DEBUGFs to adb logcat in DEBUG enabled builds. 2010-09-20 17:38:47 +00:00
dir-target.h Fix sdl application build 2010-09-06 11:36:02 +00:00
fs-android.c Ged rid of uisimulator/common/io.c for android builds. 2010-09-01 21:29:34 +00:00
kernel-android.c Android: Change how detecting call state (introduced in r27746) works, from polling to event based. 2010-11-12 21:04:13 +00:00
lc-android.c Extend lc_open() to also being able to load overlay plugins. 2010-09-09 16:17:21 +00:00
lcd-android.c Touchscreen: Improved scroll threshold 2010-11-10 15:25:15 +00:00
pcm-android.c Redirect (L)DEBUGFs to adb logcat in DEBUG enabled builds. 2010-09-20 17:38:47 +00:00
powermgmt-android.c Android: don't compile stubs.c and kill off libuisimulator entirely. 2010-09-02 00:24:40 +00:00
system-android.c Android: Change how detecting call state (introduced in r27746) works, from polling to event based. 2010-11-12 21:04:13 +00:00
system-target.h Redirect (L)DEBUGFs to adb logcat in DEBUG enabled builds. 2010-09-20 17:38:47 +00:00
telephony-android.c Android: Change how detecting call state (introduced in r27746) works, from polling to event based. 2010-11-12 21:04:13 +00:00
thread-android-arm.c Rockbox as an application: Commit current Android port progress. 2010-08-02 20:34:47 +00:00