No description
Find a file
Mark Salyzyn 46186a7238 logcat: test: standardize rest() to let logs land when injecting
Add an internal rest() function to set the standard for how long we
should wait for a log message to land end to end into the logs.  Add
a retry on -EBUSY for all descriptive tests along with a rest() after
log injection so the tests can try to survive heavy Denial Of Service
(DOS) loads.  Some of the resting was done at a coarse 1 second, when
200ms will do just fine.

Fix a few pesky issues surrounding test reliability and correctness:
- stdint.h include missing.
- missing a logcat_executable, means logcatd.descriptive testing was
  testing logcat instead.
- count of interfering tests is 3 now: logcat, liblogcat and logcatd, if
  they all run in the same PID, we have to not fail.
- Added a missed opportunity to add uniqueness to logcat.descriptive sync
  test.

Test: gTest logcat-unit-tests
Bug: 31456426
Change-Id: Iaf2bee97878957f654613bb2e78e32379bb8d1b7
2017-04-14 12:50:59 -07:00
adb Move adb backup/restore helptext to adb shell bu help. 2017-04-11 19:15:17 +01:00
adf libadfhwc: Fix adf_hwc_close 2017-03-02 17:40:16 +00:00
base Merge "Add android::base::ScopeGuard" 2017-04-06 22:41:02 +00:00
bootstat Add test config to bootstat_tests 2017-04-05 14:49:47 +00:00
cpio Possible null pointer miss on realloc 2017-03-23 22:41:14 +01:00
debuggerd Merge "crash_dump: during early boot, output to kmsg on userdebug." 2017-04-10 20:51:59 +00:00
demangle Make demangle work more like c++filt. 2017-03-28 17:38:01 -07:00
fastboot Merge "Show install path in "adb --version" and "fastboot --version"." 2017-04-04 01:16:11 +00:00
fingerprintd fingerprint: bump hw api version to 2.1 [DO NOT MERGE] 2017-01-27 22:11:15 +00:00
fs_mgr fs_mgr: support AVB in fs_mgr_update_verity_state() 2017-04-14 12:10:49 +08:00
gatekeeperd Merge "liblog: use log/log.h when utilizing ALOG macros" am: 01e12b4ee7 am: c3b346ea93 2017-01-11 19:26:19 +00:00
healthd Merge "healthd: Implement scheduleUpdate" 2017-03-23 00:48:48 +00:00
include Moved include/backtrace to libbacktrace/include 2017-04-11 11:22:43 -07:00
init Merge changes I6a29c678,I76212f65 2017-04-14 14:16:20 +00:00
libappfuse Add test config to libappfuse_test 2017-03-31 17:11:50 -07:00
libbacktrace Moved include/backtrace to libbacktrace/include 2017-04-11 11:22:43 -07:00
libbinderwrapper Convert libbinderwrapper_test_support to be a static library 2017-03-03 17:14:04 -08:00
libcrypto_utils Rely on the platform -std default. 2016-10-10 14:31:12 -07:00
libcutils libcutils: fix system-background tasks shown in top command 2017-04-12 16:25:25 +08:00
libdiskconfig liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libion liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
liblog liblog: android_log_event_list class permit -EBUSY retry 2017-04-13 13:16:59 -07:00
libmemtrack liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libmemunreachable liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libmetricslogger libmetricslogger: Use libBionicGtestMain instead of a custom test runner. 2017-02-13 13:41:44 -08:00
libnativebridge NativeBridge: add "linked namespace" semantic corresponding to linker 2017-03-29 17:34:11 -07:00
libnativeloader NativeBridge: add "linked namespace" semantic corresponding to linker 2017-03-29 17:34:11 -07:00
libnetutils liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libpackagelistparser liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libpixelflinger liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libprocessgroup add killProcessGroupOnce 2017-03-29 16:33:15 -07:00
libprocinfo Enable more modules on linux_bionic builds 2017-03-15 15:44:00 -07:00
libsparse Remove "_host" and "_static" suffix from libsparse definition. 2017-01-11 19:15:11 -08:00
libsuspend Merge "liblog: use log/log.h when utilizing ALOG macros" am: 01e12b4ee7 2017-01-11 19:20:50 +00:00
libsync libsync: Replace inserting tuple into unordered_map in favour of pair. 2017-01-30 23:39:03 +00:00
libsystem Moved all files from include/system to libsystem/include/system 2017-04-06 10:28:50 -07:00
libsysutils There's no longer a limit to property names. 2017-02-28 14:12:54 -08:00
libunwindstack Implement maps parsing. 2017-04-06 15:01:02 -07:00
libusbhost usb-bulk-transfer: Clarify sign-iy-ness of param 2016-09-21 15:51:35 +00:00
libutils libutils: mark as vendor_available 2017-04-12 08:59:41 -07:00
libziparchive ZipWriter: Keep LFH and CFH in sync 2017-04-11 01:45:25 +00:00
lmkd liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
logcat logcat: test: standardize rest() to let logs land when injecting 2017-04-14 12:50:59 -07:00
logd Force set timezone to UTC in logd. 2017-04-12 14:33:17 -07:00
logwrapper Merge "logwrapper: add a benchmark for android_fork_execvp_ext" 2017-03-23 11:56:10 +00:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
reboot Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
rootdir init.rc: create /data/misc/reboot owned by system 2017-04-13 18:01:13 -07:00
run-as Define range of GIDs for cached app data. 2016-12-13 13:28:08 -07:00
sdcard Merge "Switch sdcardfs over to bind mounts." 2016-11-30 05:20:40 +00:00
shell_and_utilities Switch to a shell_and_utilities phony module. 2017-04-03 17:14:26 +00:00
toolbox Add a reasonably full implementation of gzip/gunzip/zcat. 2017-04-10 10:56:40 -07:00
trusty trusty: keymaster: update device tests to use 2.0 API 2017-04-10 17:33:49 -07:00
tzdatacheck Update to support staging behavior 2017-03-29 10:56:45 +01:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
.clang-format-2 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.clang-format-4 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk
CleanSpec.mk init.rc: have hwservicemanager start the HAL class 2016-09-26 00:23:51 -07:00
MODULE_LICENSE_APACHE2
NOTICE
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00