Which are now supported by Jack.
Retain a few preconditions checks that enforce contract.
Disable the one assert we had...because it failed in tests.
Change-Id: I2f6cb01e1af1534be4428ce4a3ee625a163dd163
Clearcut does not like negative or zero values for its histograms.
Also, consolidate all metrics constants in the Metrics.java file. In
cases where values are being obtained from elsewhere (e.g. State.action
constants), map those constants to constants defined in Metrics.java.
This will reduce occurrences of constants changes accidentally screwing
up metrics data.
BUG=26737132
Change-Id: Ia9fb88a49c3102afc2464d20653e2ee21cfc591f
Check for null URIs when logging metrics for DocsUI launches. This
prevents a NPE caused if DocsUI is started by an intent with a null URI.
BUG=26848462
Change-Id: Iea02488581f582f60eabf61deec1e89c13449d78
Log to two new histograms - one for operations originating from system
providers, the other for operations originating from external providers.
Events in these histograms are bucketed by
- type (copy, move, delete, etc)
- destination (system vs external provider, with a special bucket for
intra-provider operations)
- result (success vs failure)
BUG=26737132
Change-Id: Ic24c7a22fa3c1227e23cfbd42ae80ca1f70a19ba
- Create new categories in MetricsLogger for DocumentsUI events.
- Add logging code to DocumentsUI for launch events and viewing roots.
BUG=26737132
Change-Id: Ib703878a39dd03b57e68a4d5a1d6cf8fe2936c5a