libusbhost: Fix issue of multiple inotify event at same time.

libusbhost can handle multiple inotify events at same time on Kit kat.
In original implementation, the function-level ret is assigned with
length of read and used for while loop.
if want to add a new watch for subdirectory,inotify_add_watch will
update the function-level ret with watch descriptor.
It impact on while loop to do exit.

Add local result to avoid it.

Change-Id: I101041ccfd54eaac14969a45e90ab2e49bdff578
Signed-off-by: Bo Huang <bo.b.huang@intel.com>
Small cleanup of duplicated test values.

A few flags were duplicates of flags already passed when using the TEST
targets.

Change-Id: I8f0d09915f5b830050fe25635a0852e8536e3aca
logd: add logd.auditd property

- permit us a mechanism to disable auditd
- standardize property boolean

Bug: 14275676
Change-Id: I76f245c6aee511ed44274159e0ea55915b484dda
Merge "Small cleanup of duplicated test values."
Merge "logd: add logd.auditd property"
Add prefx to netlink failure and dispatchCommand overflow logs.

Prefix ensures proper user-consent filter.

(cherry picked from commit 564244cd3809aee58c7e18114970bb88bce9e9e9)

Bug:5848002
Change-Id: Iee7287773f0af52c225a821ee0e9d643c83cc060
Merge "Add prefx to netlink failure and dispatchCommand overflow logs."
libsysutils: turn on -Werror

- Deal with some -Wunused / -Wunused-variable issues

Change-Id: I428a0032a8743c68c97f528d5f305ba63fee1d29
Merge "libsysutils: turn on -Werror"
Use real time signal for threads instead of SIGURG.

This guarantees that any application is not also using this signal
for some other purpose.

Change-Id: I7c9bbb0ec8bb4e13322ecda951bcd43c6bf6ee1a
libsysutil: turn off -Werror

temporary to work out issue with git_mirror-asop-master build

Change-Id: Ie65c65abb0a70dc134fded15db8b9d98e1701edd
Merge "libsysutil: turn off -Werror"
Merge "Use real time signal for threads instead of SIGURG."
logd: oneline statistics does not report PID gone

- oneline, add check for gone
- Add pidGone() method, which caches the gone status

Change-Id: I8f03daeafb58583c2b08ec6b540486c05da0872d
ueventd: Ueventd changes the permission of sysfs files for max/min
cpufreq

The owner and permissions for the sysfs file
/sys/devices/system/cpu*/cpufreq/scaling_max/min_freq is changed.
This would allow the PowerHAL to change the max/min cpufreq even after
the associated CPU's are hotplugged out and back in.

Change-Id: Ibe0b4aaf3db555ed48e89a7fcd0c5fd3a18cf233
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Merge "ueventd: Ueventd changes the permission of sysfs files for max/min cpufreq"
init: 64-bit build issue

(cherry pick from Icc5344abc184adf4247175d85b2da08af4636e49)

Change-Id: I88b0c9b20720ac62ebae8359ded4ab77b4ebcdde
libsysutil: turn on -Werror (part deux)

- x86_64 format warnings

Change-Id: I81c2702f564bcada946f6a10f34bbf34c90f766b
fastboot: Make tags_offset a command line option.

cherry picked from commit bdf513c5f25b3c2051af737c37a7734c4559208e

Change-Id: I4ceca528f88cc8ede5742f8a67bec972e41eebe7
Merge "logd: oneline statistics does not report PID gone"