summaryrefslogtreecommitdiffstats
path: root/libmetricslogger
Commit message (Collapse)AuthorAgeFilesLines
* DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into masterXin Li2018-12-111-1/+1
|\ | | | | | | | | Bug: 120502534 Change-Id: Id4f4f66ffb8104d953957f1c44dff6f549a387bb
| * metricslogger: fix ACTION_BATTERY_CAUSED_SHUTDOWN not matching protoThierry Strudel2018-07-191-1/+1
| | | | | | | | | | | | | | Bug: 111664962 Test: "pixelstats_client -s" uses the right ATOM value Change-Id: I2944c6d9f79298ce88812fad218552b92afee97a Signed-off-by: Thierry Strudel <tstrudel@google.com>
* | Remove libmetricslogger_staticHoward Ro2018-10-181-9/+0
| | | | | | | | | | | | | | | | | | | | | | In aosp/790068, libmetricslogger is converted from cc_library_shared to cc_library so there's no reason to keep both libmetricslogger and libmetricslogger_static. All necessary dependencies are now cleaned up therefore this can now be removed. Change-Id: I09808d71771ac032f8b2b2d71944721fb03d3575 Fixes: 117829226 Test: compiles without failures
* | Make native metrics logger write to statsd socketHoward Ro2018-10-183-4/+48
| | | | | | | | | | | | Bug: 110537511 Test: compiles without failures and verified the correct metric Change-Id: Ie8019a20a2112ed6cbbc0999d68592efb8f0f538
* | Move to new isolation test runner.Christopher Ferris2018-09-271-1/+1
|/ | | | | Test: Ran tests. Change-Id: I1c226111d4667daded90320e1d2b944c5566d34f
* Merge "Add cwren to libmetricslogger OWNERS" into pi-devAndrew Chant2018-05-241-0/+1
|\
| * Add cwren to libmetricslogger OWNERSAndrew Chant2018-05-231-0/+1
| | | | | | | | | | | | Bug: 69978775 Test: None. Change-Id: Ic48e37fa4a1fa192bcd948954dc056219535e0b8
* | Add Hardware Reliabilty metrics to C headerAndrew Chant2018-05-221-0/+59
|/ | | | | | | | | Expose Hardware Reliabilty TRON metrics constants for logging via C++ interfaces. Bug: 69978775 Test: Logged events from Pixelstats HAL Change-Id: I9a1c4467d31f64ae3c43e35b0a4cf5a92157c39f
* Add support for logging package name.Mathew Inwood2018-05-012-0/+7
| | | | | | | | | The functionality already exists in Java, add it to the C++ class too. Bug: 77517571 Test: m Test: Exercised by ag/3984344 in art Change-Id: Id27a6c506783a02e4334498dadf55167efab097f
* Add support for logging complex events from C++.Mathew Inwood2018-04-193-0/+77
| | | | | | | | | Also include relevant new metric_logger.proto values. Test: m Test: Exercised by ag/3890335 in art Bug: 77517571 Change-Id: Ia527f2b94c7a6147ad9d537376266e5ffc597b04
* Add OWNERS.Elliott Hughes2017-12-071-0/+1
| | | | | | Bug: N/A Test: N/A Change-Id: Ie785058c0f5eb9b4086c98ccba6e63e3ed411b65
* libmetricslogger: Fix the out-of-sync proto IDs for boot reason.James Hawkins2017-10-061-2/+2
| | | | | | | | Long-term fix is to generate from proto directly. b/65625014 Bug: 67508816 Test: None Change-Id: Ifa671fa5d3816807836fd18cd66a12a7caebb5a1
* libmetricslogger: Lookup tag ID by name at runtime.James Hawkins2017-09-192-9/+12
| | | | | | | | This allows the removal of the hardcoded value (which can become obsolete). Bug: 65991710 Test: none Change-Id: I4c9c668dbfe728852ab70d2a0ac8e6bb82a77ad3
* libmetricslogger: Fix one incorrect (deprecated) logtag and oneJames Hawkins2017-09-192-6/+4
| | | | | | | | | duplicate logtag. Bug: 65841976 Bug: 65961260 Test: none Change-Id: I6491c3c05e3a56b45d4a77cfa83f8e14eb226e64
* bootstat: Log the ro.boot.bootreason property through the new ↵James Hawkins2017-09-153-3/+25
| | | | | | | | platform_reason Tron field. Bug: 63584589 Test: none Change-Id: Ifd6f3d4432d764b5ffc7db10dec5e573214f7c97
* Remove LOCAL_CLANG and clang: trueLennart Wieboldt2017-07-251-1/+0
| | | | | | | | clang is the default compiler since Android nougat Test: mma & verified it´s still build with clang Change-Id: I34adaeef2f6558a09f26027271222bad94780507 Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
* Revert "Mark libmetricslogger vendor_available."Steven Moreland2017-07-171-1/+0
| | | | | | | | | This reverts commit 7f96d493705dd00757597018e6befa20b15bfc8b. Reason for revert: depends on private liblog APIs - log/log_event_list.h is not in the vndk Change-Id: I448c2f1059bd6b225d8efff87eb3948e931de47a
* Mark libmetricslogger vendor_available.Jayant Chowdhary2017-05-241-0/+1
| | | | | | | | | | | | | libmetricslogger is a library which belongs to vndk-cap. Mark it vendor_available to enable vndk abi stability checks on it. Details: https://android-review.googlesource.com/368372 Test: mm -j64 Bug: 38244611 Change-Id: If4bb63d3769317bc7cfc0f2f326e8bdd7b565ebe
* Add the functionality for logging counters.Ruchi Kandoi2017-05-174-13/+27
| | | | | | | Also correct clang-format for libmetricslogger Test: Run libmetriclogger_test Change-Id: If61f0bdc394a43e249ec4691da70175eeaf4cec6
* port metrics_logger to v2 formatChris Wren2017-05-173-2/+16
| | | | | | | Bug: 34450377 Test: manual, needs to be a cross-language test Change-Id: Ib89a48f2c52428deff863b0c28f3c10e7333c8a2 (cherry picked from commit 081492552cdb4af7551a1bdb676c9ea071b863de)
* libmetricslogger: Use libBionicGtestMain instead of a custom test runner.James Hawkins2017-02-133-33/+2
| | | | | | | | Also remove commented out code I accidentally left in. Bug: 34456830 Test: libmetricslogger_test Change-Id: If76d3013ec7eaa71cef67c6db04d810745e3833e
* libmetricslogger: Refactor Tron metrics histogram logging out ofJames Hawkins2017-01-315-0/+179
bootstat. To be shared with other native components that want to log histograms. Bug: 34456830 Test: libmetricslogger_test Change-Id: I94a1a91c6d33e443d66bc480158dc2470d6c9031