Sync persist property immediately,in case of suddenly remove the battery.

Change-Id: I83c5812c69db532f4675f5dbfa508e55999c8dfe
HAVE_POSIX_CLOCKS doesn't imply CLOCK_BOOTTIME.

HAVE_POSIX_CLOCKS imples clock_gettime,settime and
CLOCK_REALTIME / CLOCK_MONOTONIC.

CLOCK_BOOTTIME appears only on newer versions of glibc
and might only be supported on newer kernels.

Change-Id: I66e724a3593538c3b80de2c5f81a964d3fa96eaf
Merge "HAVE_POSIX_CLOCKS doesn't imply CLOCK_BOOTTIME."
logd: Add logd_test

* Test statistics output, all four main log id types
  are checked to be present, and output is properly
  formatted with header (ascii new-line terminated
  byte count) and trailer (newline formfeed) frames.
* On dev build test dgram_qlen, circumvent if
  liblog benchmarks executed first though.
* Test if kernel and user space loggers are
  present, and if any content has leaked to both.
* test benchmark and use it to verify worst UID pruning

Change-Id: I890c89f64825956f40108de806ed750b0170ac6c
Avoid logging functions from signal handler.

(cherry picked from commit 9007677fcbcd7cf01725e155920a8abfcb323c56)

Change-Id: Ic0163f43308c6a281ab3757d90933e5127843fed
Merge "Avoid logging functions from signal handler."
Merge "logd: Add logd_test"
adb: Add USB vendor ID for Prestigio

Change-Id: Ib9e79043961b9b1fa27d87f5bc815000e7965706
Signed-off-by: DanielMo <DanielMo@fih-foxconn.com>
logd: liblog: logcat: debuggerd: Add LOG_ID_CRASH

Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
libutils: BlobCache 64 bit compile issues

Change-Id: I60e9bddfff04f19834b83bdc26a83ca7173363c3
logd: libsysutils: logd startup outside init environment

Change-Id: I3426b6c3eebdd0c8258e966dcaaaa2825d7a23d1
Merge "libutils: BlobCache 64 bit compile issues"
libutils: FileMap 64 bit compile issues

Change-Id: Ie7a0aeb2a7e2d2a90aa2b97c657ea7ec566bf793
libutils: FileMap styling adjustments

Change-Id: I487ebe67a46a7b8f680e722141dd216bbd396f3e
Merge changes I487ebe67,Ie7a0aeb2

* changes:
  libutils: FileMap styling adjustments
  libutils: FileMap 64 bit compile issues
Merge "logd: libsysutils: logd startup outside init environment"
Merge "logd: liblog: logcat: debuggerd: Add LOG_ID_CRASH"
Merge "adb: Add USB vendor ID for Prestigio"
Add Silvermont architecture cache sizes

Adds Silvermont specific cache sizes for memset16/32 SSE optimization.

Change-Id: Ib5ea086d57544e74ac384ee1ef516b8511392f70
Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>
Merge "Sync persist property immediately,in case of suddenly remove the battery."