Documentation
¶
Overview ¶
Package checkinutil contains common/utility functions and data structures that are used in parsing of checkin format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BatteryReport ¶
type BatteryReport struct {
TimeUsec int64 // End time, therefore, the time this report was taken.
TimeZone string
AndroidID int64
DeviceGroup []string
CheckinRule []string
BuildID string // aka. Build Fingerprint
Product string
Radio string
Bootloader string
SDKVersion int32
IsAltMode bool // True if the android wear device is paired to an ALT mode companion
CellOperator string
CountryCode string
RawBatteryStats [][]string
RawPackageManager [][]string
}
BatteryReport is a lightweight struct (compared to BatteryStats proto) to store Android checkin reports including batterystats and package manager dumps.
type ChildInfo ¶
type ChildInfo struct {
// predefined parent name (e.g., GOOGLE_SERVICES for gms and gsf)
Parent string
// true if the app is HeadChild
Head bool
}
ChildInfo contains linkage information for App.Child.
type IntCounter ¶
type IntCounter int
IntCounter implements Counter.
func (*IntCounter) Count ¶
func (c *IntCounter) Count(_ string, inc int)
Count increments the underlying int by inc.
type PrefixCounter ¶
PrefixCounter is a wrapper that allows including a prefix to counted names.
func (*PrefixCounter) Count ¶
func (c *PrefixCounter) Count(name string, inc int)
Count increments the named counter by inc.
Click to show internal directories.
Click to hide internal directories.