summaryrefslogtreecommitdiff
path: root/core/java/android/metrics/LogMaker.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove @TestApi from @SystemApi symbolsAnton Hansson2020-10-201-2/+0
| | | | | | | | | | | | | I ran these commands: cd frameworks/base grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@SystemApi[\s\n]+(\@\w+[\s\n]+)?\@TestApi/\@SystemApi\1/gs' grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@TestApi[\s\n]+(\@\w+[\s\n]+)?\@SystemApi/\1\@SystemApi/gs' Bug: 171179806 Test: m checkapi Change-Id: I772790b783b0a8730b8bf680c9e569a886b8d789
* Update language to comply with Android’s inclusive language guidanceChris Wren2020-07-231-1/+1
| | | | | | | | See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: comments only change Change-Id: I6012e3b30ef81149d8f52708de4fc1ec2a4fa8b1
* Added some TestApi that are already used by CTSWale Ogunwale2019-02-211-0/+2
| | | | | | | | Allows us to remove the use of private platform API from CTS. Bug: 124134247 Test: builds Change-Id: Iceb81ff7c9385e877d2612fbb7b506245d116928
* MetricsLogger writes to both event log and statsdHoward Ro2018-10-031-0/+8
| | | | | | | | | For the intermediate period, MetricsLogger logs to both event buffer in logd as well as stastd socket. Bug: 110537511 Test: statsd, statsd_test Change-Id: Ie349b1d202e07c585ab5b085141865f20d1f57cd
* use the dedicated latency field in logmakerChris Wren2018-03-141-1/+1
| | | | | | Bug: 65724609 Test: runtest systemui Change-Id: Ic5d3f569c06f641454c356f64f773db59140fedc
* expose the UID in the EventLog APIChris Wren2017-04-281-0/+31
| | | | | | Bug: 32806111 Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics Change-Id: I16800a33bc6d4d37b3addd71b675fd760bd5d7b8
* guard against nulls in LogMakerChris Wren2017-04-181-3/+7
| | | | | | Bug: 36909905 Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics Change-Id: Ibd12bf12f9b1ed5fbc926ec04bbfa429ff98f7d2
* Log screen-on latency with tronMakoto Onuki2017-04-171-0/+10
| | | | | | Bug: 36776886 Test: manual test with "adb logcat -b all" and systrace. Change-Id: I9e7188475a79899569046892e6f08c9005b84303
* Clean up and cover more QS metricsJason Monk2017-03-271-0/+11
| | | | | | Change-Id: I4ab5e54398024c8b16ca8223f0639aadcdef4377 Fixes: 34801532 Test: runtest systemui
* add process ID to LogMakerChris Wren2017-03-091-3/+85
| | | | | | Bug: 32806111 Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics Change-Id: I3efa38a6b25502def3ba7ace04b6ba76e4d1a6cb
* add clear methods to LogMakerChris Wren2017-03-071-0/+25
| | | | | | | | To support object reuse. Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics Bug: 36020746 Change-Id: I09e5689da70963e9aba3bd8428a55acfcbe4e92a
* add a comparator for LogMakerChris Wren2017-01-271-0/+21
| | | | | | | | Tests need to be able to compare partial log structures. Bug: 34705522 Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics Change-Id: I4e26e43f5f5ea3fbba5a2a2a9563982c7260671b
* allow clearing fields for LogMaker reuseChris Wren2017-01-261-6/+19
| | | | | | Bug: 34705522 Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics Change-Id: I00a1ef279740c890ff8b059be97c4463c9f1af0e
* Tron logging - Fix isValidValue to match its name, allow nulls.Alison Cichowlas2017-01-251-3/+7
| | | | | Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics/LogMakerTest.java Change-Id: I92567e1873c5178606ac88135b5934d760b4ec24
* Move MetricsReader to SystemApiChris Wren2017-01-241-0/+238
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics && runtest --path frameworks/base/core/tests/coretests/src/com/android/internal/logging/legacy/ Change-Id: If55f0444d5a836f24234182d298ebc128643efc1