utils: Allow non android namespaces to use ALOGD_IF_SLOW

Change-Id: I9207b64954fae2f56cc5f6aa5796a2e737400623
Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event

See b.android.com/55873

Change-Id: I92c549e1a595662d4df8fa0e47675ccb2b8814fd
Exit dumpstate on SIGPIPE to avoid cascading child crashes

When dumpstate ignores SIGPIPE it can lead to a cascade of tombstones /
coredumps since many of its children don't handle or ignore it.  It's
best to just exit dumpstate once the pipe is broken.

Change-Id: Ic0c57ecf4171f0c0a07837e51c41cb1876e1350c
Merge "utils: Allow non android namespaces to use ALOGD_IF_SLOW"
Merge "Exit dumpstate on SIGPIPE to avoid cascading child crashes"
fix mem leak on error handling

Change-Id: I40d8e371c46184aa701fa676246201a9d8f6e27d
Merge "Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event"
Merge "fix mem leak on error handling"
Merge branch 'master' of https://android.googlesource.com/platform/frameworks/native