java.lang.Object | |
↳ | android.provider.htcCheckin |
Contract class for checkin provider. Describes the exposed database schema, and offers methods to add events and statistics to be uploaded.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
htcCheckin.Crashes | The crashes table is a log of crash reports, kept separate from the general event log because crashes are large, important, and bursty. | ||||||||||
htcCheckin.Events | The events table is a log of important timestamped occurrences. | ||||||||||
htcCheckin.IntentAction | Intents with this action cause a checkin attempt. | ||||||||||
htcCheckin.Message | |||||||||||
htcCheckin.Properties | The properties table is a set of tagged values sent with every checkin. | ||||||||||
htcCheckin.Stats | The stats table is a list of counter values indexed by a tag name. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | AUTHORITY | Note: Using the same AUTHORITY with C's provider to avoid many change to framework. |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Note: Using the same AUTHORITY with C's provider to avoid many change to framework. For HEP w/o GMS, this provider will replace C's to make framework operating property.
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 |