usagestats

package
v0.0.0-...-d2356ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package usagestats is a generated protocol buffer package.

It is generated from these files:

github.com/google/battery-historian/pb/usagestats_proto/android_battery_usage.proto
github.com/google/battery-historian/pb/usagestats_proto/android_package_info.proto

It has these top-level messages:

SystemInfo
PackageInfo

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageInfo

type PackageInfo struct {
	// Apps / service name. (e.g. com.google.android.apps.books)
	PkgName *string `protobuf:"bytes,1,req,name=pkg_name" json:"pkg_name,omitempty"`
	// App version number
	VersionCode *int32 `protobuf:"varint,2,opt,name=version_code" json:"version_code,omitempty"`
	// Version name
	VersionName *string `protobuf:"bytes,3,opt,name=version_name" json:"version_name,omitempty"`
	// First install time
	FirstInstallTime *int64 `protobuf:"varint,4,opt,name=first_install_time" json:"first_install_time,omitempty"`
	// Last update time
	LastUpdateTime *int64 `protobuf:"varint,5,opt,name=last_update_time" json:"last_update_time,omitempty"`
	// The sharedUserId assigned to this package by the device.
	Uid *int32 `protobuf:"varint,6,opt,name=uid" json:"uid,omitempty"`
	// The string label of the sharedUserId this package claims, if any.
	SharedUserId *string `protobuf:"bytes,7,opt,name=shared_user_id" json:"shared_user_id,omitempty"`
	// Whether or not the package is a system app (was installed in the device's
	// system image).
	// http://developer.android.com/reference/android/content/pm/ApplicationInfo.html#FLAG_SYSTEM
	IsSystemApp *bool `protobuf:"varint,8,opt,name=is_system_app" json:"is_system_app,omitempty"`
	// Whether or not the package has been installed as an update to a built-in
	// system app. This boolean is meaningless if is_system_app is false.
	// http://developer.android.com/reference/android/content/pm/ApplicationInfo.html#FLAG_UPDATED_SYSTEM_APP
	IsUpdatedSystemApp *bool  `protobuf:"varint,9,opt,name=is_updated_system_app" json:"is_updated_system_app,omitempty"`
	XXX_unrecognized   []byte `json:"-"`
}

func (*PackageInfo) Descriptor

func (*PackageInfo) Descriptor() ([]byte, []int)

func (*PackageInfo) GetFirstInstallTime

func (m *PackageInfo) GetFirstInstallTime() int64

func (*PackageInfo) GetIsSystemApp

func (m *PackageInfo) GetIsSystemApp() bool

func (*PackageInfo) GetIsUpdatedSystemApp

func (m *PackageInfo) GetIsUpdatedSystemApp() bool

func (*PackageInfo) GetLastUpdateTime

func (m *PackageInfo) GetLastUpdateTime() int64

func (*PackageInfo) GetPkgName

func (m *PackageInfo) GetPkgName() string

func (*PackageInfo) GetSharedUserId

func (m *PackageInfo) GetSharedUserId() string

func (*PackageInfo) GetUid

func (m *PackageInfo) GetUid() int32

func (*PackageInfo) GetVersionCode

func (m *PackageInfo) GetVersionCode() int32

func (*PackageInfo) GetVersionName

func (m *PackageInfo) GetVersionName() string

func (*PackageInfo) ProtoMessage

func (*PackageInfo) ProtoMessage()

func (*PackageInfo) Reset

func (m *PackageInfo) Reset()

func (*PackageInfo) String

func (m *PackageInfo) String() string

type SystemInfo

type SystemInfo struct {
	// Installed Package List
	InstalledPackages []*PackageInfo `protobuf:"bytes,1,rep,name=installed_packages" json:"installed_packages,omitempty"`
	// e.g. hammerhead-userdebug L MASTER eng.xx... dev-keys Build
	BuildDisplay *string `protobuf:"bytes,2,opt,name=build_display" json:"build_display,omitempty"`
	// e.g. google/hammerhead/hammerhead:L/MASTER/
	//        eng.abcd.20140304.184123:userdebug/dev-keys
	BuildFingerprint *string `protobuf:"bytes,3,opt,name=build_fingerprint" json:"build_fingerprint,omitempty"`
	// Bootloader version e.g. HHZ11k
	Bootloader *string `protobuf:"bytes,4,opt,name=bootloader" json:"bootloader,omitempty"`
	// e.g. T-Mobile
	NetworkOperator *string `protobuf:"bytes,5,opt,name=network_operator" json:"network_operator,omitempty"`
	// e.g. userdebug
	BuildType *string `protobuf:"bytes,6,opt,name=build_type" json:"build_type,omitempty"`
	// e.g. hammerhead
	Device *string `protobuf:"bytes,7,opt,name=device" json:"device,omitempty"`
	// e.g. M8974A-2.0.50.1.02
	BasebandRadio *string `protobuf:"bytes,8,opt,name=baseband_radio" json:"baseband_radio,omitempty"`
	// e.g. hammerhead
	Hardware *string `protobuf:"bytes,9,opt,name=hardware" json:"hardware,omitempty"`
	// Checkin/OTA groups for the device
	//    e.g. auto.droidfood, auto.googlefood.lmp
	Groups []string `protobuf:"bytes,10,rep,name=groups" json:"groups,omitempty"`
	// e.g. 22
	SdkVersion *int32 `protobuf:"varint,11,opt,name=sdk_version" json:"sdk_version,omitempty"`
	// e.g. ES
	CountryCode *string `protobuf:"bytes,12,opt,name=country_code" json:"country_code,omitempty"`
	// e.g. Europe/London
	TimeZone         *string `protobuf:"bytes,13,opt,name=time_zone" json:"time_zone,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SystemInfo) Descriptor

func (*SystemInfo) Descriptor() ([]byte, []int)

func (*SystemInfo) GetBasebandRadio

func (m *SystemInfo) GetBasebandRadio() string

func (*SystemInfo) GetBootloader

func (m *SystemInfo) GetBootloader() string

func (*SystemInfo) GetBuildDisplay

func (m *SystemInfo) GetBuildDisplay() string

func (*SystemInfo) GetBuildFingerprint

func (m *SystemInfo) GetBuildFingerprint() string

func (*SystemInfo) GetBuildType

func (m *SystemInfo) GetBuildType() string

func (*SystemInfo) GetCountryCode

func (m *SystemInfo) GetCountryCode() string

func (*SystemInfo) GetDevice

func (m *SystemInfo) GetDevice() string

func (*SystemInfo) GetGroups

func (m *SystemInfo) GetGroups() []string

func (*SystemInfo) GetHardware

func (m *SystemInfo) GetHardware() string

func (*SystemInfo) GetInstalledPackages

func (m *SystemInfo) GetInstalledPackages() []*PackageInfo

func (*SystemInfo) GetNetworkOperator

func (m *SystemInfo) GetNetworkOperator() string

func (*SystemInfo) GetSdkVersion

func (m *SystemInfo) GetSdkVersion() int32

func (*SystemInfo) GetTimeZone

func (m *SystemInfo) GetTimeZone() string

func (*SystemInfo) ProtoMessage

func (*SystemInfo) ProtoMessage()

func (*SystemInfo) Reset

func (m *SystemInfo) Reset()

func (*SystemInfo) String

func (m *SystemInfo) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL