summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/metrics/Metrics.java
Commit message (Collapse)AuthorAgeFilesLines
* Add battery events to primes.erfanian2018-06-121-0/+3
| | | | | | | Bug: 80425147 Test: tap PiperOrigin-RevId: 200211179 Change-Id: Icff35da693d713298a4cd6dcae90d9cbb1a71cdb
* Support extracting info from a Call in PhoneLookuplinyuh2018-04-191-1/+2
| | | | | | | Bug: 70988915 Test: CompositePhoneLookupTest, PhoneLookupTest PiperOrigin-RevId: 193592973 Change-Id: I27b6a63049117ce6d31e50aea9c56c14f01d0e1d
* Added impression logging for AnnotatedCallLog rebuild operations.zachh2018-03-021-5/+6
| | | | | | | Bug: 70989667 Test: unit PiperOrigin-RevId: 187694255 Change-Id: Ie6ec70a70a4c59cbdfe25c34003d21fa2f751564
* Added timing to some more AnnotatedCallLog operations.zachh2018-03-021-0/+26
| | | | | | | | | | | | | | | | | This includes: 1) Made RefreshAnnotatedCallLogWorker.refresh() methods return a result which is "not dirty", "dirty but no changes needed" or "dirty and changes need". It will be interesting to see how often these cases occur (will log impressions in a future CL) so I thought we might as well log the latency of each case separately as well. 2) To support 1) added a new method to FutureTimer which allows you to compute the event name from the result of the timed Future. Also needed to update the Metrics interface to support deferring the event name when starting a timer via a generic token. 3) Timing the coalesce operation which is very heavyweight. 4) Made StubMetrics do some logcat logging to easily observe timing information using AOSP Bug: 70989667 Test: unit PiperOrigin-RevId: 187691203 Change-Id: I5f19a2fc94d86639486299b65b0edd66eeaab52e
* Added same primes metrics that existed in Dialtacts to NUI.calderwoodra2018-03-011-0/+2
| | | | | | Test: n/a PiperOrigin-RevId: 187442952 Change-Id: I9463e2c976102276ebc5886531397ad0cf160b78
* Track initial call log building metrics separately from incremental building ↵zachh2018-02-231-0/+9
| | | | | | | | | | | | | metrics. This required creating "CallLogState" which is currently just a boolean value which can only be turned on once (when the annotated call log flow finishes for the first time). This CL also changes CompositePhoneLookup to no longer implement PhoneLookup. This was done to support a now reverted implementation of CallLogState but it's easier for me to keep the change and it shouldn't be harmful. Bug: 70989667 Test: unit PiperOrigin-RevId: 186852257 Change-Id: I3f342737aaf909f8230b8a69d9c21e6e5c19b84e
* Added some logcat and metrics logging for new call log.zachh2018-02-221-0/+14
| | | | | | | Bug: 70989667 Test: unit PiperOrigin-RevId: 186726722 Change-Id: I1a68ae1e01b101b1624e4f5ede1a8d639d481ad2
* Moved metrics related methods out of LoggingBindings.zachh2018-02-221-2/+13
| | | | | | Test: existing PiperOrigin-RevId: 186413083 Change-Id: I96c88c46b0ecc01167b655fa30fc47aaa6a9e351
* Record jank metrics in old and new call logs.zachh2018-02-221-0/+6
| | | | | | | Bug: 70989667 Test: unit PiperOrigin-RevId: 186410938 Change-Id: I0671ab0bbbe957b8f034c673e6309204284756d2
* Created a "Metrics" interface.zachh2018-02-221-0/+39
Bug: 70989667 Test: existing PiperOrigin-RevId: 185773466 Change-Id: Ib40632fe87682f672df2f5e94a0e5bc4ca5970e9