sdcard: Allow building as a static library

 * Split main() out in order to allow linking with a multi-call
   executable such as recovery.

Change-Id: I3325135e47e4dd5af3912f5ce67ec64007d54a63
fix up adb to prefer /sbin/sh if it exists

Change-Id: I5c15731c95d123488e90aaeac5b497f556b53363
audio: Changes for LPA/Tunnel mode

 Intitial changes to enable LPA/Tunnel mode

Change-Id: I099480931661c1190b53363d2ee6716a78b81ccb
system/core: Add command NATIVE_WINDOW_SET_BUFFERS_SIZE

Add native window command to set user defined buffer size.

Change-Id: Id6d1f96daba81e8aba83479b5bda6ce0bfabb6e7
Merge remote-tracking branch 'cyanogen/cm-12.0' into cm-12.0