java.lang.Object | |
↳ | lineageos.providers.DataUsageContract |
The DataUsageProvdier contract containing definitions for the supported URIs and columns
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ACTIVE |
DataUsage Active State - dynamically computed by the DataUsage algorithm to
determine warning type to display to the user
0 - first warning type is generated, once a warning generation is triggered
1 - Nth warning type is generated, once a warning generation is triggered
Type: INTEGER |
|||||||||
String | BYTES | Number of bytes consumed by the App so far. | |||||||||
int | COLUMN_OF_ACTIVE | ||||||||||
int | COLUMN_OF_BYTES | ||||||||||
int | COLUMN_OF_ENABLE | ||||||||||
int | COLUMN_OF_EXTRA | ||||||||||
int | COLUMN_OF_FAST_AVG | ||||||||||
int | COLUMN_OF_FAST_SAMPLES | ||||||||||
int | COLUMN_OF_ID | Column index for each field in the database row | |||||||||
int | COLUMN_OF_LABEL | ||||||||||
int | COLUMN_OF_SLOW_AVG | ||||||||||
int | COLUMN_OF_SLOW_SAMPLES | ||||||||||
int | COLUMN_OF_UID | ||||||||||
String | CONTENT_ITEM_TYPE | The mime type of a single item | |||||||||
String | CONTENT_TYPE | The mime type of a directory of items | |||||||||
String | DATAUSAGE_AUTHORITY | The authority for the DataUsage provider | |||||||||
String | DATAUSAGE_TABLE | ||||||||||
String | ENABLE |
DataUsage Enable Configuration - statically set by the Settings App
0 - no data usage warning are generated
1 - data usage algorithm is evaluated and warnings are generated
Type: INTEGER |
|||||||||
String | EXTRA |
Extra information used debugging purposes - collects up to 1000 samples so that
algorithm can be manually verified
Type: TEXT |
|||||||||
String | FAST_AVG |
The fast bandwidth consumption average accumulated over 'fast' number of samples
Type: INTEGER (long) |
|||||||||
String | FAST_SAMPLES |
Number of fast samples accumulated so far, analogous algorithm to 'slow_samples'
Type: INTEGER (long) |
|||||||||
String | LABEL |
The Name of the Application that corresponds to the uid
Type: TEXT |
|||||||||
String | SLOW_AVG |
The slow bandwidth consumption average accumulated over 'SLOW' number of samples
Type: INTEGER (long) |
|||||||||
String | SLOW_SAMPLES | Number of slow samples accumulated so far, once the number of samples reaches a MAX number of samples, the 'slow_samples' pegs at MAX and new samples are factored into 'slow_avg' by "taking out" one sample. | |||||||||
String | UID |
The UID of the application whose bandwidth is stored in this row
Type: INTEGER |
|||||||||
String | _ID |
The unique ID for a row
Type: INTEGER |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BASE_CONTENT_URI | The content URI for the top-level datausage authority | ||||||||||
CONTENT_URI | The content URI for this table | ||||||||||
PROJECTION_ALL | A projection of all columns in the datausage table. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
DataUsage Active State - dynamically computed by the DataUsage algorithm to determine warning type to display to the user 0 - first warning type is generated, once a warning generation is triggered 1 - Nth warning type is generated, once a warning generation is triggered
Type: INTEGER
Number of bytes consumed by the App so far. It is used to determine the number of bytes consumed between samples
Type: INTEGER (long)
Column index for each field in the database row
The mime type of a single item
The mime type of a directory of items
The authority for the DataUsage provider
DataUsage Enable Configuration - statically set by the Settings App 0 - no data usage warning are generated 1 - data usage algorithm is evaluated and warnings are generated
Type: INTEGER
Extra information used debugging purposes - collects up to 1000 samples so that algorithm can be manually verified
Type: TEXT
The fast bandwidth consumption average accumulated over 'fast' number of samples
Type: INTEGER (long)
Number of fast samples accumulated so far, analogous algorithm to 'slow_samples'
Type: INTEGER (long)
The Name of the Application that corresponds to the uid
Type: TEXT
The slow bandwidth consumption average accumulated over 'SLOW' number of samples
Type: INTEGER (long)
Number of slow samples accumulated so far, once the number of samples reaches a MAX number of samples, the 'slow_samples' pegs at MAX and new samples are factored into 'slow_avg' by "taking out" one sample. slow_samples < MAX: slow_avg = (slow_avg * slow_samples + new_sample)/(slow_samples+1) slow_samples == MAX: slow_avg = (slow_avg * (MAX-1) + new_sample)/MAX
Type: Integer (long>
The UID of the application whose bandwidth is stored in this row
Type: INTEGER
The unique ID for a row
Type: INTEGER
The content URI for the top-level datausage authority
A projection of all columns in the datausage table.