| java.lang.Object | |
| ↳ | android.provider.Checkin |
Contract class for the checkin provider, used to store events and statistics that will be uploaded to a checkin server eventually. Describes the exposed database schema, and offers methods to add events and statistics to be uploaded. TODO: Move this to vendor/google when we have a home for it.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Checkin.Crashes | The crashes table is a log of crash reports, kept separate from the general event log because crashes are large, important, and bursty. | ||||||||||
| Checkin.Events | The events table is a log of important timestamped occurrences. | ||||||||||
| Checkin.Properties | The properties table is a set of tagged values sent with every checkin. | ||||||||||
| Checkin.Stats | The stats table is a list of counter values indexed by a tag name. | ||||||||||
| Checkin.TriggerIntent | Intents with this action cause a checkin attempt. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | AUTHORITY | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Helper function to log an event to the database.
| |||||||||||
Report a crash in CrashData format.
| |||||||||||
Helper function to report a crash.
| |||||||||||
Helper function to update statistics in the database.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Helper function to log an event to the database.
| resolver | from getContentResolver() |
|---|---|
| tag | identifying the type of event being recorded |
| value | associated with event, if any |
Report a crash in CrashData format.
| resolver | from getContentResolver() |
|---|---|
| crash | data to report |
Helper function to report a crash.
| resolver | from getContentResolver() |
|---|---|
| crash | data from CrashData |
Helper function to update statistics in the database. Note that multiple updates to the same tag will be combined.
| tag | identifying what is being observed |
|---|---|
| count | of occurrences |
| sum | of some value over these occurrences |