summaryrefslogtreecommitdiffstats
path: root/logd/tests
Commit message (Collapse)AuthorAgeFilesLines
* logd: test modernizationMark Salyzyn2015-06-011-47/+35
| | | | | | | (cherry pick from commit 62d6a2a921d5ee5cc455e6ae5e62d4ad2474fd25) Bug: 19603976 Change-Id: Ie920c128e7e6a436fea7a96c7d68bc39e13a2ad4
* Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed.Elliott Hughes2015-04-021-1/+0
| | | | Change-Id: I720b8ef1050da45a7833adef8219b6acb2cf3a38
* Revert "logd: Add minimum time bucket statistics"Mark Salyzyn2015-03-041-158/+0
| | | | | | | | | | | | | This forward port reverts commit e457b74ce6ee6d799812dc2ec5e4b8b18bcd3e91 No longer as necessary once we add liblog: Instrument logging of logd write drops Although this provided an indication of how close statistically we were to overloading logd it is simpler to understand fails thus to hunt and peck a corrected value for /proc/sys/net/unix/max_dgram_qlen Change-Id: I2b30e0fc30625a48fd11a12c2d2cc6a41f26226f
* logd: fix format-extra-args warning.Chih-Hung Hsieh2014-09-121-1/+5
| | | | Bug: 17409250 Change-Id: Id50ebb57754b12d69ed605d0e2901b8e05c607c6
* logd: test: disable kernel LOGGERMark Salyzyn2014-07-101-5/+3
| | | | | Bug: 15384806 Change-Id: I3072d6dd0618fa9ebe151c78a85eb121327f9df3
* logd: test: deal with spam filter turned offMark Salyzyn2014-06-181-14/+39
| | | | Change-Id: I759c65e869d0c7cd81063fa7993ba3d67ef9cd06
* logd: test: modernizeMark Salyzyn2014-06-182-10/+11
| | | | | | | | - Correct default tense for kernel or user logger - harden code that parses the benchmark data - give more meaning to the spam filter test Change-Id: I97699037ca9d56718f53f08d22be79092fb431de
* logd: turn on -WerrorMark Salyzyn2014-05-021-3/+1
| | | | | | - Deal with some -Wunused / -Wunused-variable issues Change-Id: Ic86cd7b0680868ad0536198b71a34cb19134fc21
* logd: enable UID spam filter and testMark Salyzyn2014-04-251-2/+51
| | | | Change-Id: Ie9c7a744e341e6e64afa14973d4d095717c97933
* liblog: Statistics truncated to 16384 bytesMark Salyzyn2014-04-211-1/+20
| | | | | | | | | | | - if network read/write broken up, reassemble the pieces. - Use a 20ms poll to check if a new fragment has been sent by the other side. - fixup logd-unit-tests to take a (simplified) fragment from the liblog changes. Bug: 14164765 Change-Id: I98ff87888c119e1e8349717646d0f733e8971bc8
* logd: liblog: logcat: debuggerd: Add LOG_ID_CRASHMark Salyzyn2014-04-161-1/+1
| | | | Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
* logd: Add logd_testMark Salyzyn2014-04-152-0/+664
* 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