audio_policy: Prevent dumping string NULL termination

Change-Id: Ia2e08de45a5e4880c9547a5cf8f93e72d4dd6baa
wifi: add presto changes

Import wifi changes from presto repository

Change-Id: I515f5171d22fbbc132f0f0504c33153671b6e1af
wifi: Add option for a device-specific wifi

This patch adds TARGET_CUSTOM_WIFI which can be used to replace the
standard wifi.c with a custom implementation without breaking things
for devices that assume default functionality. (Derived from
Gingerbread:566d2f2)

Change-Id: Ief8c51c4c33f879c7771af8769c83f1f89979034