Documentation ¶
Overview ¶
Package batterystats is a generated protocol buffer package.
It is generated from these files:
github.com/google/battery-historian/pb/batterystats_proto/batterystats.proto
It has these top-level messages:
BatteryStats BatteryStatsFilterSpec
Index ¶
- Variables
- type BatteryStats
- func (m *BatteryStats) GetAggregationType() BatteryStats_AggregationType
- func (m *BatteryStats) GetAndroidIdx() string
- func (m *BatteryStats) GetApp() []*BatteryStats_App
- func (m *BatteryStats) GetBootloader() string
- func (m *BatteryStats) GetBuild() *build.Build
- func (m *BatteryStats) GetCarrier() string
- func (m *BatteryStats) GetCheckinRule() []string
- func (m *BatteryStats) GetCountryCode() string
- func (m *BatteryStats) GetDeviceGroup() []string
- func (m *BatteryStats) GetEndTimeStr() string
- func (m *BatteryStats) GetEndTimeUsec() int64
- func (m *BatteryStats) GetGmsVersion() int32
- func (m *BatteryStats) GetIsDiff() bool
- func (m *BatteryStats) GetIsGoogler() bool
- func (m *BatteryStats) GetIsLatest() bool
- func (m *BatteryStats) GetIsOriginal() bool
- func (m *BatteryStats) GetIsUserRelease() bool
- func (m *BatteryStats) GetLocalEndTimeStr() string
- func (m *BatteryStats) GetLocalStartTimeStr() string
- func (m *BatteryStats) GetRadio() string
- func (m *BatteryStats) GetRecordId() string
- func (m *BatteryStats) GetReportVersion() int32
- func (m *BatteryStats) GetSdkVersion() int32
- func (m *BatteryStats) GetStartTimeStr() string
- func (m *BatteryStats) GetStartTimeUsec() int64
- func (m *BatteryStats) GetSystem() *BatteryStats_System
- func (m *BatteryStats) GetTimeZone() string
- func (*BatteryStats) ProtoMessage()
- func (m *BatteryStats) Reset()
- func (m *BatteryStats) String() string
- type BatteryStatsFilterSpec
- type BatteryStatsFilterSpec_Filter
- type BatteryStatsFilterSpec_Section
- func (m *BatteryStatsFilterSpec_Section) GetFilter() []*BatteryStatsFilterSpec_Filter
- func (m *BatteryStatsFilterSpec_Section) GetName() string
- func (*BatteryStatsFilterSpec_Section) ProtoMessage()
- func (m *BatteryStatsFilterSpec_Section) Reset()
- func (m *BatteryStatsFilterSpec_Section) String() string
- type BatteryStats_AggregationType
- type BatteryStats_App
- func (m *BatteryStats_App) GetApk() *BatteryStats_App_Apk
- func (m *BatteryStats_App) GetChild() []*BatteryStats_App_Child
- func (m *BatteryStats_App) GetForeground() *BatteryStats_App_Foreground
- func (m *BatteryStats_App) GetHeadChild() *BatteryStats_App_Child
- func (m *BatteryStats_App) GetName() string
- func (m *BatteryStats_App) GetNetwork() *BatteryStats_App_Network
- func (m *BatteryStats_App) GetPowerUseItem() *BatteryStats_App_PowerUseItem
- func (m *BatteryStats_App) GetProcess() []*BatteryStats_App_Process
- func (m *BatteryStats_App) GetScheduledJob() []*BatteryStats_App_ScheduledJob
- func (m *BatteryStats_App) GetSensor() []*BatteryStats_App_Sensor
- func (m *BatteryStats_App) GetStateTime() *BatteryStats_App_StateTime
- func (m *BatteryStats_App) GetSync() []*BatteryStats_App_Sync
- func (m *BatteryStats_App) GetUid() int32
- func (m *BatteryStats_App) GetUserActivity() []*BatteryStats_App_UserActivity
- func (m *BatteryStats_App) GetVersionCode() int32
- func (m *BatteryStats_App) GetVibrator() *BatteryStats_App_Vibrator
- func (m *BatteryStats_App) GetWakelock() []*BatteryStats_App_Wakelock
- func (m *BatteryStats_App) GetWifi() *BatteryStats_App_Wifi
- func (*BatteryStats_App) ProtoMessage()
- func (m *BatteryStats_App) Reset()
- func (m *BatteryStats_App) String() string
- type BatteryStats_App_Apk
- type BatteryStats_App_Apk_Service
- func (m *BatteryStats_App_Apk_Service) GetLaunches() float32
- func (m *BatteryStats_App_Apk_Service) GetName() string
- func (m *BatteryStats_App_Apk_Service) GetStartTimeMsec() float32
- func (m *BatteryStats_App_Apk_Service) GetStarts() float32
- func (*BatteryStats_App_Apk_Service) ProtoMessage()
- func (m *BatteryStats_App_Apk_Service) Reset()
- func (m *BatteryStats_App_Apk_Service) String() string
- type BatteryStats_App_Child
- type BatteryStats_App_Foreground
- type BatteryStats_App_Network
- func (m *BatteryStats_App_Network) GetMobileActiveCount() float32
- func (m *BatteryStats_App_Network) GetMobileActiveTimeMsec() float32
- func (m *BatteryStats_App_Network) GetMobileBytesRx() float32
- func (m *BatteryStats_App_Network) GetMobileBytesTx() float32
- func (m *BatteryStats_App_Network) GetMobilePacketsRx() float32
- func (m *BatteryStats_App_Network) GetMobilePacketsTx() float32
- func (m *BatteryStats_App_Network) GetWifiBytesRx() float32
- func (m *BatteryStats_App_Network) GetWifiBytesTx() float32
- func (m *BatteryStats_App_Network) GetWifiPacketsRx() float32
- func (m *BatteryStats_App_Network) GetWifiPacketsTx() float32
- func (*BatteryStats_App_Network) ProtoMessage()
- func (m *BatteryStats_App_Network) Reset()
- func (m *BatteryStats_App_Network) String() string
- type BatteryStats_App_PowerUseItem
- type BatteryStats_App_Process
- func (m *BatteryStats_App_Process) GetAnrs() float32
- func (m *BatteryStats_App_Process) GetCrashes() float32
- func (m *BatteryStats_App_Process) GetForegroundTimeMsec() float32
- func (m *BatteryStats_App_Process) GetName() string
- func (m *BatteryStats_App_Process) GetStarts() float32
- func (m *BatteryStats_App_Process) GetSystemTimeMsec() float32
- func (m *BatteryStats_App_Process) GetUserTimeMsec() float32
- func (*BatteryStats_App_Process) ProtoMessage()
- func (m *BatteryStats_App_Process) Reset()
- func (m *BatteryStats_App_Process) String() string
- type BatteryStats_App_ScheduledJob
- func (m *BatteryStats_App_ScheduledJob) GetCount() float32
- func (m *BatteryStats_App_ScheduledJob) GetName() string
- func (m *BatteryStats_App_ScheduledJob) GetTotalTimeMsec() float32
- func (*BatteryStats_App_ScheduledJob) ProtoMessage()
- func (m *BatteryStats_App_ScheduledJob) Reset()
- func (m *BatteryStats_App_ScheduledJob) String() string
- type BatteryStats_App_Sensor
- func (m *BatteryStats_App_Sensor) GetCount() float32
- func (m *BatteryStats_App_Sensor) GetNumber() int32
- func (m *BatteryStats_App_Sensor) GetTotalTimeMsec() float32
- func (*BatteryStats_App_Sensor) ProtoMessage()
- func (m *BatteryStats_App_Sensor) Reset()
- func (m *BatteryStats_App_Sensor) String() string
- type BatteryStats_App_StateTime
- func (m *BatteryStats_App_StateTime) GetActiveTimeMsec() float32
- func (m *BatteryStats_App_StateTime) GetForegroundTimeMsec() float32
- func (m *BatteryStats_App_StateTime) GetRunningTimeMsec() float32
- func (*BatteryStats_App_StateTime) ProtoMessage()
- func (m *BatteryStats_App_StateTime) Reset()
- func (m *BatteryStats_App_StateTime) String() string
- type BatteryStats_App_Sync
- type BatteryStats_App_UserActivity
- func (m *BatteryStats_App_UserActivity) GetCount() float32
- func (m *BatteryStats_App_UserActivity) GetName() BatteryStats_App_UserActivity_Name
- func (*BatteryStats_App_UserActivity) ProtoMessage()
- func (m *BatteryStats_App_UserActivity) Reset()
- func (m *BatteryStats_App_UserActivity) String() string
- type BatteryStats_App_UserActivity_Name
- type BatteryStats_App_Vibrator
- type BatteryStats_App_Wakelock
- func (m *BatteryStats_App_Wakelock) GetFullCount() float32
- func (m *BatteryStats_App_Wakelock) GetFullTimeMsec() float32
- func (m *BatteryStats_App_Wakelock) GetName() string
- func (m *BatteryStats_App_Wakelock) GetPartialCount() float32
- func (m *BatteryStats_App_Wakelock) GetPartialTimeMsec() float32
- func (m *BatteryStats_App_Wakelock) GetWindowCount() float32
- func (m *BatteryStats_App_Wakelock) GetWindowTimeMsec() float32
- func (*BatteryStats_App_Wakelock) ProtoMessage()
- func (m *BatteryStats_App_Wakelock) Reset()
- func (m *BatteryStats_App_Wakelock) String() string
- type BatteryStats_App_Wifi
- func (m *BatteryStats_App_Wifi) GetFullWifiLockTimeMsec() float32
- func (m *BatteryStats_App_Wifi) GetIdleTimeMsec() float32
- func (m *BatteryStats_App_Wifi) GetRunningTimeMsec() float32
- func (m *BatteryStats_App_Wifi) GetRxTimeMsec() float32
- func (m *BatteryStats_App_Wifi) GetScanCount() float32
- func (m *BatteryStats_App_Wifi) GetScanTimeMsec() float32
- func (m *BatteryStats_App_Wifi) GetTxTimeMsec() float32
- func (*BatteryStats_App_Wifi) ProtoMessage()
- func (m *BatteryStats_App_Wifi) Reset()
- func (m *BatteryStats_App_Wifi) String() string
- type BatteryStats_System
- func (m *BatteryStats_System) GetBattery() *BatteryStats_System_Battery
- func (m *BatteryStats_System) GetBatteryDischarge() *BatteryStats_System_BatteryDischarge
- func (m *BatteryStats_System) GetBatteryLevel() *BatteryStats_System_BatteryLevel
- func (m *BatteryStats_System) GetBluetoothState() []*BatteryStats_System_BluetoothState
- func (m *BatteryStats_System) GetChargeStep() []*BatteryStats_System_ChargeStep
- func (m *BatteryStats_System) GetDataConnection() []*BatteryStats_System_DataConnection
- func (m *BatteryStats_System) GetDischargeStep() []*BatteryStats_System_DischargeStep
- func (m *BatteryStats_System) GetGlobalBluetooth() *BatteryStats_System_GlobalBluetooth
- func (m *BatteryStats_System) GetGlobalNetwork() *BatteryStats_System_GlobalNetwork
- func (m *BatteryStats_System) GetGlobalWifi() *BatteryStats_System_GlobalWifi
- func (m *BatteryStats_System) GetKernelWakelock() []*BatteryStats_System_KernelWakelock
- func (m *BatteryStats_System) GetMisc() *BatteryStats_System_Misc
- func (m *BatteryStats_System) GetPowerUseItem() []*BatteryStats_System_PowerUseItem
- func (m *BatteryStats_System) GetPowerUseSummary() *BatteryStats_System_PowerUseSummary
- func (m *BatteryStats_System) GetScreenBrightness() []*BatteryStats_System_ScreenBrightness
- func (m *BatteryStats_System) GetSignalScanningTime() *BatteryStats_System_SignalScanningTime
- func (m *BatteryStats_System) GetSignalStrength() []*BatteryStats_System_SignalStrength
- func (m *BatteryStats_System) GetWakeupReason() []*BatteryStats_System_WakeupReason
- func (m *BatteryStats_System) GetWifiSignalStrength() []*BatteryStats_System_WifiSignalStrength
- func (m *BatteryStats_System) GetWifiState() []*BatteryStats_System_WifiState
- func (m *BatteryStats_System) GetWifiSupplicantState() []*BatteryStats_System_WifiSupplicantState
- func (*BatteryStats_System) ProtoMessage()
- func (m *BatteryStats_System) Reset()
- func (m *BatteryStats_System) String() string
- type BatteryStats_System_Battery
- func (m *BatteryStats_System_Battery) GetBatteryRealtimeMsec() float32
- func (m *BatteryStats_System_Battery) GetBatteryUptimeMsec() float32
- func (m *BatteryStats_System_Battery) GetScreenOffRealtimeMsec() float32
- func (m *BatteryStats_System_Battery) GetScreenOffUptimeMsec() float32
- func (m *BatteryStats_System_Battery) GetStartClockTimeMsec() int64
- func (m *BatteryStats_System_Battery) GetStartCount() float32
- func (m *BatteryStats_System_Battery) GetTotalRealtimeMsec() float32
- func (m *BatteryStats_System_Battery) GetTotalUptimeMsec() float32
- func (*BatteryStats_System_Battery) ProtoMessage()
- func (m *BatteryStats_System_Battery) Reset()
- func (m *BatteryStats_System_Battery) String() string
- type BatteryStats_System_BatteryDischarge
- func (m *BatteryStats_System_BatteryDischarge) GetLowerBound() float32
- func (m *BatteryStats_System_BatteryDischarge) GetScreenOff() float32
- func (m *BatteryStats_System_BatteryDischarge) GetScreenOn() float32
- func (m *BatteryStats_System_BatteryDischarge) GetUpperBound() float32
- func (*BatteryStats_System_BatteryDischarge) ProtoMessage()
- func (m *BatteryStats_System_BatteryDischarge) Reset()
- func (m *BatteryStats_System_BatteryDischarge) String() string
- type BatteryStats_System_BatteryLevel
- func (m *BatteryStats_System_BatteryLevel) GetCurrentLevel() float32
- func (m *BatteryStats_System_BatteryLevel) GetStartLevel() float32
- func (*BatteryStats_System_BatteryLevel) ProtoMessage()
- func (m *BatteryStats_System_BatteryLevel) Reset()
- func (m *BatteryStats_System_BatteryLevel) String() string
- type BatteryStats_System_BluetoothState
- func (m *BatteryStats_System_BluetoothState) GetCount() float32
- func (m *BatteryStats_System_BluetoothState) GetName() BatteryStats_System_BluetoothState_Name
- func (m *BatteryStats_System_BluetoothState) GetTimeMsec() float32
- func (*BatteryStats_System_BluetoothState) ProtoMessage()
- func (m *BatteryStats_System_BluetoothState) Reset()
- func (m *BatteryStats_System_BluetoothState) String() string
- type BatteryStats_System_BluetoothState_Name
- type BatteryStats_System_ChargeStep
- func (m *BatteryStats_System_ChargeStep) GetDisplayState() BatteryStats_System_DisplayState_State
- func (m *BatteryStats_System_ChargeStep) GetIdleMode() BatteryStats_System_IdleMode_Mode
- func (m *BatteryStats_System_ChargeStep) GetLevel() float32
- func (m *BatteryStats_System_ChargeStep) GetPowerSaveMode() BatteryStats_System_PowerSaveMode_Mode
- func (m *BatteryStats_System_ChargeStep) GetTimeMsec() float32
- func (*BatteryStats_System_ChargeStep) ProtoMessage()
- func (m *BatteryStats_System_ChargeStep) Reset()
- func (m *BatteryStats_System_ChargeStep) String() string
- type BatteryStats_System_DataConnection
- func (m *BatteryStats_System_DataConnection) GetCount() float32
- func (m *BatteryStats_System_DataConnection) GetName() BatteryStats_System_DataConnection_Name
- func (m *BatteryStats_System_DataConnection) GetTimeMsec() float32
- func (*BatteryStats_System_DataConnection) ProtoMessage()
- func (m *BatteryStats_System_DataConnection) Reset()
- func (m *BatteryStats_System_DataConnection) String() string
- type BatteryStats_System_DataConnection_Name
- type BatteryStats_System_DischargeStep
- func (m *BatteryStats_System_DischargeStep) GetDisplayState() BatteryStats_System_DisplayState_State
- func (m *BatteryStats_System_DischargeStep) GetIdleMode() BatteryStats_System_IdleMode_Mode
- func (m *BatteryStats_System_DischargeStep) GetLevel() float32
- func (m *BatteryStats_System_DischargeStep) GetPowerSaveMode() BatteryStats_System_PowerSaveMode_Mode
- func (m *BatteryStats_System_DischargeStep) GetTimeMsec() float32
- func (*BatteryStats_System_DischargeStep) ProtoMessage()
- func (m *BatteryStats_System_DischargeStep) Reset()
- func (m *BatteryStats_System_DischargeStep) String() string
- type BatteryStats_System_DisplayState
- type BatteryStats_System_DisplayState_State
- type BatteryStats_System_GlobalBluetooth
- func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothIdleTimeMsec() float32
- func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothPowerMah() float32
- func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothRxTimeMsec() float32
- func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothTxTimeMsec() float32
- func (*BatteryStats_System_GlobalBluetooth) ProtoMessage()
- func (m *BatteryStats_System_GlobalBluetooth) Reset()
- func (m *BatteryStats_System_GlobalBluetooth) String() string
- type BatteryStats_System_GlobalNetwork
- func (m *BatteryStats_System_GlobalNetwork) GetMobileBytesRx() float32
- func (m *BatteryStats_System_GlobalNetwork) GetMobileBytesTx() float32
- func (m *BatteryStats_System_GlobalNetwork) GetMobilePacketsRx() float32
- func (m *BatteryStats_System_GlobalNetwork) GetMobilePacketsTx() float32
- func (m *BatteryStats_System_GlobalNetwork) GetWifiBytesRx() float32
- func (m *BatteryStats_System_GlobalNetwork) GetWifiBytesTx() float32
- func (m *BatteryStats_System_GlobalNetwork) GetWifiPacketsRx() float32
- func (m *BatteryStats_System_GlobalNetwork) GetWifiPacketsTx() float32
- func (*BatteryStats_System_GlobalNetwork) ProtoMessage()
- func (m *BatteryStats_System_GlobalNetwork) Reset()
- func (m *BatteryStats_System_GlobalNetwork) String() string
- type BatteryStats_System_GlobalWifi
- func (m *BatteryStats_System_GlobalWifi) GetWifiIdleTimeMsec() float32
- func (m *BatteryStats_System_GlobalWifi) GetWifiOnTimeMsec() float32
- func (m *BatteryStats_System_GlobalWifi) GetWifiPowerMah() float32
- func (m *BatteryStats_System_GlobalWifi) GetWifiRunningTimeMsec() float32
- func (m *BatteryStats_System_GlobalWifi) GetWifiRxTimeMsec() float32
- func (m *BatteryStats_System_GlobalWifi) GetWifiTxTimeMsec() float32
- func (*BatteryStats_System_GlobalWifi) ProtoMessage()
- func (m *BatteryStats_System_GlobalWifi) Reset()
- func (m *BatteryStats_System_GlobalWifi) String() string
- type BatteryStats_System_IdleMode
- type BatteryStats_System_IdleMode_Mode
- type BatteryStats_System_KernelWakelock
- func (m *BatteryStats_System_KernelWakelock) GetCount() float32
- func (m *BatteryStats_System_KernelWakelock) GetName() string
- func (m *BatteryStats_System_KernelWakelock) GetTimeMsec() float32
- func (*BatteryStats_System_KernelWakelock) ProtoMessage()
- func (m *BatteryStats_System_KernelWakelock) Reset()
- func (m *BatteryStats_System_KernelWakelock) String() string
- type BatteryStats_System_Misc
- func (m *BatteryStats_System_Misc) GetBluetoothOnTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetConnectivityChanges() float32
- func (m *BatteryStats_System_Misc) GetDeviceIdleModeEnabledCount() float32
- func (m *BatteryStats_System_Misc) GetDeviceIdleModeEnabledTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetDeviceIdlingCount() float32
- func (m *BatteryStats_System_Misc) GetDeviceIdlingTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetFullWakelockTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetInteractiveTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetLowPowerModeEnabledTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetMobileActiveAdjustedTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetMobileActiveTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetMobileBytesRx() float32
- func (m *BatteryStats_System_Misc) GetMobileBytesTx() float32
- func (m *BatteryStats_System_Misc) GetPartialWakelockTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetPhoneOnTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetScreenOffTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetScreenOnTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetWifiBytesRx() float32
- func (m *BatteryStats_System_Misc) GetWifiBytesTx() float32
- func (m *BatteryStats_System_Misc) GetWifiOnTimeMsec() float32
- func (m *BatteryStats_System_Misc) GetWifiRunningTimeMsec() float32
- func (*BatteryStats_System_Misc) ProtoMessage()
- func (m *BatteryStats_System_Misc) Reset()
- func (m *BatteryStats_System_Misc) String() string
- type BatteryStats_System_PowerSaveMode
- type BatteryStats_System_PowerSaveMode_Mode
- type BatteryStats_System_PowerUseItem
- func (m *BatteryStats_System_PowerUseItem) GetComputedPowerMah() float32
- func (m *BatteryStats_System_PowerUseItem) GetName() BatteryStats_System_PowerUseItem_Name
- func (*BatteryStats_System_PowerUseItem) ProtoMessage()
- func (m *BatteryStats_System_PowerUseItem) Reset()
- func (m *BatteryStats_System_PowerUseItem) String() string
- type BatteryStats_System_PowerUseItem_Name
- type BatteryStats_System_PowerUseSummary
- func (m *BatteryStats_System_PowerUseSummary) GetBatteryCapacityMah() float32
- func (m *BatteryStats_System_PowerUseSummary) GetComputedPowerMah() float32
- func (m *BatteryStats_System_PowerUseSummary) GetMaxDrainedPowerMah() float32
- func (m *BatteryStats_System_PowerUseSummary) GetMinDrainedPowerMah() float32
- func (*BatteryStats_System_PowerUseSummary) ProtoMessage()
- func (m *BatteryStats_System_PowerUseSummary) Reset()
- func (m *BatteryStats_System_PowerUseSummary) String() string
- type BatteryStats_System_ScreenBrightness
- func (m *BatteryStats_System_ScreenBrightness) GetName() BatteryStats_System_ScreenBrightness_Name
- func (m *BatteryStats_System_ScreenBrightness) GetTimeMsec() float32
- func (*BatteryStats_System_ScreenBrightness) ProtoMessage()
- func (m *BatteryStats_System_ScreenBrightness) Reset()
- func (m *BatteryStats_System_ScreenBrightness) String() string
- type BatteryStats_System_ScreenBrightness_Name
- type BatteryStats_System_SignalScanningTime
- type BatteryStats_System_SignalStrength
- func (m *BatteryStats_System_SignalStrength) GetCount() float32
- func (m *BatteryStats_System_SignalStrength) GetName() BatteryStats_System_SignalStrength_Name
- func (m *BatteryStats_System_SignalStrength) GetTimeMsec() float32
- func (*BatteryStats_System_SignalStrength) ProtoMessage()
- func (m *BatteryStats_System_SignalStrength) Reset()
- func (m *BatteryStats_System_SignalStrength) String() string
- type BatteryStats_System_SignalStrength_Name
- type BatteryStats_System_WakeupReason
- func (m *BatteryStats_System_WakeupReason) GetCount() float32
- func (m *BatteryStats_System_WakeupReason) GetName() string
- func (m *BatteryStats_System_WakeupReason) GetTimeMsec() float32
- func (*BatteryStats_System_WakeupReason) ProtoMessage()
- func (m *BatteryStats_System_WakeupReason) Reset()
- func (m *BatteryStats_System_WakeupReason) String() string
- type BatteryStats_System_WifiSignalStrength
- func (m *BatteryStats_System_WifiSignalStrength) GetCount() float32
- func (m *BatteryStats_System_WifiSignalStrength) GetName() BatteryStats_System_WifiSignalStrength_Name
- func (m *BatteryStats_System_WifiSignalStrength) GetTimeMsec() float32
- func (*BatteryStats_System_WifiSignalStrength) ProtoMessage()
- func (m *BatteryStats_System_WifiSignalStrength) Reset()
- func (m *BatteryStats_System_WifiSignalStrength) String() string
- type BatteryStats_System_WifiSignalStrength_Name
- type BatteryStats_System_WifiState
- func (m *BatteryStats_System_WifiState) GetCount() float32
- func (m *BatteryStats_System_WifiState) GetName() BatteryStats_System_WifiState_Name
- func (m *BatteryStats_System_WifiState) GetTimeMsec() float32
- func (*BatteryStats_System_WifiState) ProtoMessage()
- func (m *BatteryStats_System_WifiState) Reset()
- func (m *BatteryStats_System_WifiState) String() string
- type BatteryStats_System_WifiState_Name
- type BatteryStats_System_WifiSupplicantState
- func (m *BatteryStats_System_WifiSupplicantState) GetCount() float32
- func (m *BatteryStats_System_WifiSupplicantState) GetName() BatteryStats_System_WifiSupplicantState_Name
- func (m *BatteryStats_System_WifiSupplicantState) GetTimeMsec() float32
- func (*BatteryStats_System_WifiSupplicantState) ProtoMessage()
- func (m *BatteryStats_System_WifiSupplicantState) Reset()
- func (m *BatteryStats_System_WifiSupplicantState) String() string
- type BatteryStats_System_WifiSupplicantState_Name
Constants ¶
This section is empty.
Variables ¶
var BatteryStats_AggregationType_name = map[int32]string{
0: "SINCE_CHARGED",
1: "LAST",
2: "CURRENT",
3: "SINCE_UNPLUGGED",
}
var BatteryStats_AggregationType_value = map[string]int32{
"SINCE_CHARGED": 0,
"LAST": 1,
"CURRENT": 2,
"SINCE_UNPLUGGED": 3,
}
var BatteryStats_App_UserActivity_Name_name = map[int32]string{
0: "OTHER",
1: "BUTTON",
2: "TOUCH",
}
var BatteryStats_App_UserActivity_Name_value = map[string]int32{
"OTHER": 0,
"BUTTON": 1,
"TOUCH": 2,
}
var BatteryStats_System_BluetoothState_Name_name = map[int32]string{
0: "INACTIVE",
1: "LOW",
2: "MEDIUM",
3: "HIGH",
}
var BatteryStats_System_BluetoothState_Name_value = map[string]int32{
"INACTIVE": 0,
"LOW": 1,
"MEDIUM": 2,
"HIGH": 3,
}
var BatteryStats_System_DataConnection_Name_name = map[int32]string{
0: "NONE",
1: "GPRS",
2: "EDGE",
3: "UMTS",
4: "CDMA",
5: "EVDO_0",
6: "EVDO_A",
7: "ONE_X_RTT",
8: "HSDPA",
9: "HSUPA",
10: "HSPA",
11: "IDEN",
12: "EVDO_B",
13: "LTE",
14: "EHRPD",
15: "HSPAP",
16: "OTHER",
}
var BatteryStats_System_DataConnection_Name_value = map[string]int32{
"NONE": 0,
"GPRS": 1,
"EDGE": 2,
"UMTS": 3,
"CDMA": 4,
"EVDO_0": 5,
"EVDO_A": 6,
"ONE_X_RTT": 7,
"HSDPA": 8,
"HSUPA": 9,
"HSPA": 10,
"IDEN": 11,
"EVDO_B": 12,
"LTE": 13,
"EHRPD": 14,
"HSPAP": 15,
"OTHER": 16,
}
var BatteryStats_System_DisplayState_State_name = map[int32]string{
0: "MIXED",
1: "ON",
2: "OFF",
3: "DOZE",
4: "DOZE_SUSPEND",
}
var BatteryStats_System_DisplayState_State_value = map[string]int32{
"MIXED": 0,
"ON": 1,
"OFF": 2,
"DOZE": 3,
"DOZE_SUSPEND": 4,
}
var BatteryStats_System_IdleMode_Mode_name = map[int32]string{
0: "NO_DATA",
1: "MIXED",
2: "ON",
3: "OFF",
}
var BatteryStats_System_IdleMode_Mode_value = map[string]int32{
"NO_DATA": 0,
"MIXED": 1,
"ON": 2,
"OFF": 3,
}
var BatteryStats_System_PowerSaveMode_Mode_name = map[int32]string{
0: "MIXED",
1: "ON",
2: "OFF",
}
var BatteryStats_System_PowerSaveMode_Mode_value = map[string]int32{
"MIXED": 0,
"ON": 1,
"OFF": 2,
}
var BatteryStats_System_PowerUseItem_Name_name = map[int32]string{
0: "IDLE",
1: "CELL",
2: "PHONE",
3: "WIFI",
4: "BLUETOOTH",
5: "SCREEN",
6: "APP",
7: "USER",
8: "UNACCOUNTED",
9: "OVERCOUNTED",
10: "DEFAULT",
11: "FLASHLIGHT",
}
var BatteryStats_System_PowerUseItem_Name_value = map[string]int32{
"IDLE": 0,
"CELL": 1,
"PHONE": 2,
"WIFI": 3,
"BLUETOOTH": 4,
"SCREEN": 5,
"APP": 6,
"USER": 7,
"UNACCOUNTED": 8,
"OVERCOUNTED": 9,
"DEFAULT": 10,
"FLASHLIGHT": 11,
}
var BatteryStats_System_ScreenBrightness_Name_name = map[int32]string{
0: "DARK",
1: "DIM",
2: "MEDIUM",
3: "LIGHT",
4: "BRIGHT",
}
var BatteryStats_System_ScreenBrightness_Name_value = map[string]int32{
"DARK": 0,
"DIM": 1,
"MEDIUM": 2,
"LIGHT": 3,
"BRIGHT": 4,
}
var BatteryStats_System_SignalStrength_Name_name = map[int32]string{
0: "NONE_OR_UNKNOWN",
1: "POOR",
2: "MODERATE",
3: "GOOD",
4: "GREAT",
}
var BatteryStats_System_SignalStrength_Name_value = map[string]int32{
"NONE_OR_UNKNOWN": 0,
"POOR": 1,
"MODERATE": 2,
"GOOD": 3,
"GREAT": 4,
}
var BatteryStats_System_WifiSignalStrength_Name_name = map[int32]string{
0: "NONE",
1: "POOR",
2: "MODERATE",
3: "GOOD",
4: "GREAT",
}
var BatteryStats_System_WifiSignalStrength_Name_value = map[string]int32{
"NONE": 0,
"POOR": 1,
"MODERATE": 2,
"GOOD": 3,
"GREAT": 4,
}
var BatteryStats_System_WifiState_Name_name = map[int32]string{
0: "OFF",
1: "OFF_SCANNING",
2: "ON_NO_NETWORKS",
3: "ON_DISCONNECTED",
4: "ON_CONNECTED_STA",
5: "ON_CONNECTED_P2P",
6: "ON_CONNECTED_STA_P2P",
7: "SOFT_AP",
}
var BatteryStats_System_WifiState_Name_value = map[string]int32{
"OFF": 0,
"OFF_SCANNING": 1,
"ON_NO_NETWORKS": 2,
"ON_DISCONNECTED": 3,
"ON_CONNECTED_STA": 4,
"ON_CONNECTED_P2P": 5,
"ON_CONNECTED_STA_P2P": 6,
"SOFT_AP": 7,
}
var BatteryStats_System_WifiSupplicantState_Name_name = map[int32]string{
0: "INVALID",
1: "DISCONNECTED",
2: "INTERFACE_DISABLED",
3: "INACTIVE",
4: "SCANNING",
5: "AUTHENTICATING",
6: "ASSOCIATING",
7: "ASSOCIATED",
8: "FOUR_WAY_HANDSHAKE",
9: "GROUP_HANDSHAKE",
10: "COMPLETED",
11: "DORMANT",
12: "UNINITIALIZED",
}
var BatteryStats_System_WifiSupplicantState_Name_value = map[string]int32{
"INVALID": 0,
"DISCONNECTED": 1,
"INTERFACE_DISABLED": 2,
"INACTIVE": 3,
"SCANNING": 4,
"AUTHENTICATING": 5,
"ASSOCIATING": 6,
"ASSOCIATED": 7,
"FOUR_WAY_HANDSHAKE": 8,
"GROUP_HANDSHAKE": 9,
"COMPLETED": 10,
"DORMANT": 11,
"UNINITIALIZED": 12,
}
Functions ¶
This section is empty.
Types ¶
type BatteryStats ¶
type BatteryStats struct { // Unique ID for the record. Concatenation of end_time_usec, shard, and the index in the shard. RecordId *string `protobuf:"bytes,1,opt,name=record_id" json:"record_id,omitempty"` // Encrypted android_id. Cleared for user/release-keys builds. AndroidIdx *string `protobuf:"bytes,2,opt,name=android_idx" json:"android_idx,omitempty"` // When aggregation starts. StartTimeUsec *int64 `protobuf:"varint,3,opt,name=start_time_usec" json:"start_time_usec,omitempty"` // When aggregation ends. EndTimeUsec *int64 `protobuf:"varint,4,opt,name=end_time_usec" json:"end_time_usec,omitempty"` // start_time_usec in "YYYY-MM-DD HH:MM:SS" (MTV time). StartTimeStr *string `protobuf:"bytes,5,opt,name=start_time_str" json:"start_time_str,omitempty"` // end_time_usec in "YYYY-MM-DD HH:MM:SS" (MTV time). EndTimeStr *string `protobuf:"bytes,6,opt,name=end_time_str" json:"end_time_str,omitempty"` // start_time_str in local time. LocalStartTimeStr *string `protobuf:"bytes,7,opt,name=local_start_time_str" json:"local_start_time_str,omitempty"` // end_time_str in local time. LocalEndTimeStr *string `protobuf:"bytes,8,opt,name=local_end_time_str" json:"local_end_time_str,omitempty"` // e.g., auto.googlefood.jellybean. DeviceGroup []string `protobuf:"bytes,9,rep,name=device_group" json:"device_group,omitempty"` // e.g., user-domain-google.com. CheckinRule []string `protobuf:"bytes,10,rep,name=checkin_rule" json:"checkin_rule,omitempty"` // True if it's Googler's data. IsGoogler *bool `protobuf:"varint,11,opt,name=is_googler" json:"is_googler,omitempty"` // True if it's user/release-keys. IsUserRelease *bool `protobuf:"varint,12,opt,name=is_user_release" json:"is_user_release,omitempty"` // Info from the build fingerprint. Build *build.Build `protobuf:"bytes,13,opt,name=build" json:"build,omitempty"` // Android SDK version. SdkVersion *int32 `protobuf:"varint,14,opt,name=sdk_version" json:"sdk_version,omitempty"` // GMS Core version. GmsVersion *int32 `protobuf:"varint,15,opt,name=gms_version" json:"gms_version,omitempty"` // System bootloader version. Bootloader *string `protobuf:"bytes,16,opt,name=bootloader" json:"bootloader,omitempty"` // Radio subsystem version. Radio *string `protobuf:"bytes,17,opt,name=radio" json:"radio,omitempty"` // e.g., Verizon Wireless/US. Carrier *string `protobuf:"bytes,18,opt,name=carrier" json:"carrier,omitempty"` // e.g., US. CountryCode *string `protobuf:"bytes,19,opt,name=country_code" json:"country_code,omitempty"` // e.g., America/Los_Angeles. TimeZone *string `protobuf:"bytes,20,opt,name=time_zone" json:"time_zone,omitempty"` // Checkin report version. ReportVersion *int32 `protobuf:"varint,21,opt,name=report_version" json:"report_version,omitempty"` // True for the original report. IsOriginal *bool `protobuf:"varint,22,opt,name=is_original" json:"is_original,omitempty"` // True for the latest report among originals sharing start_clock_time_msec. IsLatest *bool `protobuf:"varint,23,opt,name=is_latest" json:"is_latest,omitempty"` // True for the report generated from diff between originals or if such // operation does not make sense. Note is_original and is_diff are not // mutually exclusive. IsDiff *bool `protobuf:"varint,24,opt,name=is_diff" json:"is_diff,omitempty"` AggregationType *BatteryStats_AggregationType `` /* 127-byte string literal not displayed */ App []*BatteryStats_App `protobuf:"bytes,26,rep,name=app" json:"app,omitempty"` System *BatteryStats_System `protobuf:"bytes,27,opt,name=system" json:"system,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats) GetAggregationType ¶
func (m *BatteryStats) GetAggregationType() BatteryStats_AggregationType
func (*BatteryStats) GetAndroidIdx ¶
func (m *BatteryStats) GetAndroidIdx() string
func (*BatteryStats) GetApp ¶
func (m *BatteryStats) GetApp() []*BatteryStats_App
func (*BatteryStats) GetBootloader ¶
func (m *BatteryStats) GetBootloader() string
func (*BatteryStats) GetBuild ¶
func (m *BatteryStats) GetBuild() *build.Build
func (*BatteryStats) GetCarrier ¶
func (m *BatteryStats) GetCarrier() string
func (*BatteryStats) GetCheckinRule ¶
func (m *BatteryStats) GetCheckinRule() []string
func (*BatteryStats) GetCountryCode ¶
func (m *BatteryStats) GetCountryCode() string
func (*BatteryStats) GetDeviceGroup ¶
func (m *BatteryStats) GetDeviceGroup() []string
func (*BatteryStats) GetEndTimeStr ¶
func (m *BatteryStats) GetEndTimeStr() string
func (*BatteryStats) GetEndTimeUsec ¶
func (m *BatteryStats) GetEndTimeUsec() int64
func (*BatteryStats) GetGmsVersion ¶
func (m *BatteryStats) GetGmsVersion() int32
func (*BatteryStats) GetIsDiff ¶
func (m *BatteryStats) GetIsDiff() bool
func (*BatteryStats) GetIsGoogler ¶
func (m *BatteryStats) GetIsGoogler() bool
func (*BatteryStats) GetIsLatest ¶
func (m *BatteryStats) GetIsLatest() bool
func (*BatteryStats) GetIsOriginal ¶
func (m *BatteryStats) GetIsOriginal() bool
func (*BatteryStats) GetIsUserRelease ¶
func (m *BatteryStats) GetIsUserRelease() bool
func (*BatteryStats) GetLocalEndTimeStr ¶
func (m *BatteryStats) GetLocalEndTimeStr() string
func (*BatteryStats) GetLocalStartTimeStr ¶
func (m *BatteryStats) GetLocalStartTimeStr() string
func (*BatteryStats) GetRadio ¶
func (m *BatteryStats) GetRadio() string
func (*BatteryStats) GetRecordId ¶
func (m *BatteryStats) GetRecordId() string
func (*BatteryStats) GetReportVersion ¶
func (m *BatteryStats) GetReportVersion() int32
func (*BatteryStats) GetSdkVersion ¶
func (m *BatteryStats) GetSdkVersion() int32
func (*BatteryStats) GetStartTimeStr ¶
func (m *BatteryStats) GetStartTimeStr() string
func (*BatteryStats) GetStartTimeUsec ¶
func (m *BatteryStats) GetStartTimeUsec() int64
func (*BatteryStats) GetSystem ¶
func (m *BatteryStats) GetSystem() *BatteryStats_System
func (*BatteryStats) GetTimeZone ¶
func (m *BatteryStats) GetTimeZone() string
func (*BatteryStats) ProtoMessage ¶
func (*BatteryStats) ProtoMessage()
func (*BatteryStats) Reset ¶
func (m *BatteryStats) Reset()
func (*BatteryStats) String ¶
func (m *BatteryStats) String() string
type BatteryStatsFilterSpec ¶
type BatteryStatsFilterSpec struct { Section []*BatteryStatsFilterSpec_Section `protobuf:"bytes,1,rep,name=section" json:"section,omitempty"` XXX_unrecognized []byte `json:"-"` }
Regexp filters for PII.
func (*BatteryStatsFilterSpec) GetSection ¶
func (m *BatteryStatsFilterSpec) GetSection() []*BatteryStatsFilterSpec_Section
func (*BatteryStatsFilterSpec) ProtoMessage ¶
func (*BatteryStatsFilterSpec) ProtoMessage()
func (*BatteryStatsFilterSpec) Reset ¶
func (m *BatteryStatsFilterSpec) Reset()
func (*BatteryStatsFilterSpec) String ¶
func (m *BatteryStatsFilterSpec) String() string
type BatteryStatsFilterSpec_Filter ¶
type BatteryStatsFilterSpec_Filter struct { Pattern *string `protobuf:"bytes,1,opt,name=pattern" json:"pattern,omitempty"` Replacement *string `protobuf:"bytes,2,opt,name=replacement" json:"replacement,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStatsFilterSpec_Filter) GetPattern ¶
func (m *BatteryStatsFilterSpec_Filter) GetPattern() string
func (*BatteryStatsFilterSpec_Filter) GetReplacement ¶
func (m *BatteryStatsFilterSpec_Filter) GetReplacement() string
func (*BatteryStatsFilterSpec_Filter) ProtoMessage ¶
func (*BatteryStatsFilterSpec_Filter) ProtoMessage()
func (*BatteryStatsFilterSpec_Filter) Reset ¶
func (m *BatteryStatsFilterSpec_Filter) Reset()
func (*BatteryStatsFilterSpec_Filter) String ¶
func (m *BatteryStatsFilterSpec_Filter) String() string
type BatteryStatsFilterSpec_Section ¶
type BatteryStatsFilterSpec_Section struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Filter []*BatteryStatsFilterSpec_Filter `protobuf:"bytes,2,rep,name=filter" json:"filter,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStatsFilterSpec_Section) GetFilter ¶
func (m *BatteryStatsFilterSpec_Section) GetFilter() []*BatteryStatsFilterSpec_Filter
func (*BatteryStatsFilterSpec_Section) GetName ¶
func (m *BatteryStatsFilterSpec_Section) GetName() string
func (*BatteryStatsFilterSpec_Section) ProtoMessage ¶
func (*BatteryStatsFilterSpec_Section) ProtoMessage()
func (*BatteryStatsFilterSpec_Section) Reset ¶
func (m *BatteryStatsFilterSpec_Section) Reset()
func (*BatteryStatsFilterSpec_Section) String ¶
func (m *BatteryStatsFilterSpec_Section) String() string
type BatteryStats_AggregationType ¶
type BatteryStats_AggregationType int32
const ( // All of the data in the stats. BatteryStats_SINCE_CHARGED BatteryStats_AggregationType = 0 // Only the last run in the stats. BatteryStats_LAST BatteryStats_AggregationType = 1 // Only the current run in the stats. BatteryStats_CURRENT BatteryStats_AggregationType = 2 // Only the run since the last time the device was unplugged in the stats. BatteryStats_SINCE_UNPLUGGED BatteryStats_AggregationType = 3 )
func (BatteryStats_AggregationType) Enum ¶
func (x BatteryStats_AggregationType) Enum() *BatteryStats_AggregationType
func (BatteryStats_AggregationType) String ¶
func (x BatteryStats_AggregationType) String() string
func (*BatteryStats_AggregationType) UnmarshalJSON ¶
func (x *BatteryStats_AggregationType) UnmarshalJSON(data []byte) error
type BatteryStats_App ¶
type BatteryStats_App struct { // e.g., com.google.android.gms. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // e.g., 4224038. VersionCode *int32 `protobuf:"varint,2,opt,name=version_code" json:"version_code,omitempty"` // e.g., 1000. Uid *int32 `protobuf:"varint,3,opt,name=uid" json:"uid,omitempty"` Child []*BatteryStats_App_Child `protobuf:"bytes,13,rep,name=child" json:"child,omitempty"` // For the most important child (to make it easy to query by dremel). // e.g., gms for Google Services. HeadChild *BatteryStats_App_Child `protobuf:"bytes,18,opt,name=head_child" json:"head_child,omitempty"` Apk *BatteryStats_App_Apk `protobuf:"bytes,4,opt,name=apk" json:"apk,omitempty"` Foreground *BatteryStats_App_Foreground `protobuf:"bytes,5,opt,name=foreground" json:"foreground,omitempty"` Network *BatteryStats_App_Network `protobuf:"bytes,6,opt,name=network" json:"network,omitempty"` PowerUseItem *BatteryStats_App_PowerUseItem `protobuf:"bytes,7,opt,name=power_use_item" json:"power_use_item,omitempty"` Process []*BatteryStats_App_Process `protobuf:"bytes,8,rep,name=process" json:"process,omitempty"` ScheduledJob []*BatteryStats_App_ScheduledJob `protobuf:"bytes,14,rep,name=scheduled_job" json:"scheduled_job,omitempty"` Sensor []*BatteryStats_App_Sensor `protobuf:"bytes,9,rep,name=sensor" json:"sensor,omitempty"` StateTime *BatteryStats_App_StateTime `protobuf:"bytes,15,opt,name=state_time" json:"state_time,omitempty"` Sync []*BatteryStats_App_Sync `protobuf:"bytes,16,rep,name=sync" json:"sync,omitempty"` UserActivity []*BatteryStats_App_UserActivity `protobuf:"bytes,17,rep,name=user_activity" json:"user_activity,omitempty"` Vibrator *BatteryStats_App_Vibrator `protobuf:"bytes,10,opt,name=vibrator" json:"vibrator,omitempty"` Wakelock []*BatteryStats_App_Wakelock `protobuf:"bytes,11,rep,name=wakelock" json:"wakelock,omitempty"` Wifi *BatteryStats_App_Wifi `protobuf:"bytes,12,opt,name=wifi" json:"wifi,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App) GetApk ¶
func (m *BatteryStats_App) GetApk() *BatteryStats_App_Apk
func (*BatteryStats_App) GetChild ¶
func (m *BatteryStats_App) GetChild() []*BatteryStats_App_Child
func (*BatteryStats_App) GetForeground ¶
func (m *BatteryStats_App) GetForeground() *BatteryStats_App_Foreground
func (*BatteryStats_App) GetHeadChild ¶
func (m *BatteryStats_App) GetHeadChild() *BatteryStats_App_Child
func (*BatteryStats_App) GetName ¶
func (m *BatteryStats_App) GetName() string
func (*BatteryStats_App) GetNetwork ¶
func (m *BatteryStats_App) GetNetwork() *BatteryStats_App_Network
func (*BatteryStats_App) GetPowerUseItem ¶
func (m *BatteryStats_App) GetPowerUseItem() *BatteryStats_App_PowerUseItem
func (*BatteryStats_App) GetProcess ¶
func (m *BatteryStats_App) GetProcess() []*BatteryStats_App_Process
func (*BatteryStats_App) GetScheduledJob ¶
func (m *BatteryStats_App) GetScheduledJob() []*BatteryStats_App_ScheduledJob
func (*BatteryStats_App) GetSensor ¶
func (m *BatteryStats_App) GetSensor() []*BatteryStats_App_Sensor
func (*BatteryStats_App) GetStateTime ¶
func (m *BatteryStats_App) GetStateTime() *BatteryStats_App_StateTime
func (*BatteryStats_App) GetSync ¶
func (m *BatteryStats_App) GetSync() []*BatteryStats_App_Sync
func (*BatteryStats_App) GetUid ¶
func (m *BatteryStats_App) GetUid() int32
func (*BatteryStats_App) GetUserActivity ¶
func (m *BatteryStats_App) GetUserActivity() []*BatteryStats_App_UserActivity
func (*BatteryStats_App) GetVersionCode ¶
func (m *BatteryStats_App) GetVersionCode() int32
func (*BatteryStats_App) GetVibrator ¶
func (m *BatteryStats_App) GetVibrator() *BatteryStats_App_Vibrator
func (*BatteryStats_App) GetWakelock ¶
func (m *BatteryStats_App) GetWakelock() []*BatteryStats_App_Wakelock
func (*BatteryStats_App) GetWifi ¶
func (m *BatteryStats_App) GetWifi() *BatteryStats_App_Wifi
func (*BatteryStats_App) ProtoMessage ¶
func (*BatteryStats_App) ProtoMessage()
func (*BatteryStats_App) Reset ¶
func (m *BatteryStats_App) Reset()
func (*BatteryStats_App) String ¶
func (m *BatteryStats_App) String() string
type BatteryStats_App_Apk ¶
type BatteryStats_App_Apk struct { // #wakeup alarms that executed. Not int because some apps share the UID. Wakeups *float32 `protobuf:"fixed32,1,opt,name=wakeups" json:"wakeups,omitempty"` Service []*BatteryStats_App_Apk_Service `protobuf:"bytes,2,rep,name=service" json:"service,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_Apk) GetService ¶
func (m *BatteryStats_App_Apk) GetService() []*BatteryStats_App_Apk_Service
func (*BatteryStats_App_Apk) GetWakeups ¶
func (m *BatteryStats_App_Apk) GetWakeups() float32
func (*BatteryStats_App_Apk) ProtoMessage ¶
func (*BatteryStats_App_Apk) ProtoMessage()
func (*BatteryStats_App_Apk) Reset ¶
func (m *BatteryStats_App_Apk) Reset()
func (*BatteryStats_App_Apk) String ¶
func (m *BatteryStats_App_Apk) String() string
type BatteryStats_App_Apk_Service ¶
type BatteryStats_App_Apk_Service struct { // e.g., com.google.android.gms.icing.service.IndexService. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Time spent started. StartTimeMsec *float32 `protobuf:"fixed32,2,opt,name=start_time_msec" json:"start_time_msec,omitempty"` // #times it was started. Starts *float32 `protobuf:"fixed32,3,opt,name=starts" json:"starts,omitempty"` // #times it was launched. Launches *float32 `protobuf:"fixed32,4,opt,name=launches" json:"launches,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_Apk_Service) GetLaunches ¶
func (m *BatteryStats_App_Apk_Service) GetLaunches() float32
func (*BatteryStats_App_Apk_Service) GetName ¶
func (m *BatteryStats_App_Apk_Service) GetName() string
func (*BatteryStats_App_Apk_Service) GetStartTimeMsec ¶
func (m *BatteryStats_App_Apk_Service) GetStartTimeMsec() float32
func (*BatteryStats_App_Apk_Service) GetStarts ¶
func (m *BatteryStats_App_Apk_Service) GetStarts() float32
func (*BatteryStats_App_Apk_Service) ProtoMessage ¶
func (*BatteryStats_App_Apk_Service) ProtoMessage()
func (*BatteryStats_App_Apk_Service) Reset ¶
func (m *BatteryStats_App_Apk_Service) Reset()
func (*BatteryStats_App_Apk_Service) String ¶
func (m *BatteryStats_App_Apk_Service) String() string
type BatteryStats_App_Child ¶
type BatteryStats_App_Child struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` VersionCode *int32 `protobuf:"varint,2,opt,name=version_code" json:"version_code,omitempty"` VersionName *string `protobuf:"bytes,3,opt,name=version_name" json:"version_name,omitempty"` XXX_unrecognized []byte `json:"-"` }
List of apps sharing the UID. (e.g., gms, gsf for Google Services)
func (*BatteryStats_App_Child) GetName ¶
func (m *BatteryStats_App_Child) GetName() string
func (*BatteryStats_App_Child) GetVersionCode ¶
func (m *BatteryStats_App_Child) GetVersionCode() int32
func (*BatteryStats_App_Child) GetVersionName ¶
func (m *BatteryStats_App_Child) GetVersionName() string
func (*BatteryStats_App_Child) ProtoMessage ¶
func (*BatteryStats_App_Child) ProtoMessage()
func (*BatteryStats_App_Child) Reset ¶
func (m *BatteryStats_App_Child) Reset()
func (*BatteryStats_App_Child) String ¶
func (m *BatteryStats_App_Child) String() string
type BatteryStats_App_Foreground ¶
type BatteryStats_App_Foreground struct { // Duration spent running as foreground activity. TotalTimeMsec *float32 `protobuf:"fixed32,1,opt,name=total_time_msec" json:"total_time_msec,omitempty"` // #times. Count *float32 `protobuf:"fixed32,2,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_Foreground) GetCount ¶
func (m *BatteryStats_App_Foreground) GetCount() float32
func (*BatteryStats_App_Foreground) GetTotalTimeMsec ¶
func (m *BatteryStats_App_Foreground) GetTotalTimeMsec() float32
func (*BatteryStats_App_Foreground) ProtoMessage ¶
func (*BatteryStats_App_Foreground) ProtoMessage()
func (*BatteryStats_App_Foreground) Reset ¶
func (m *BatteryStats_App_Foreground) Reset()
func (*BatteryStats_App_Foreground) String ¶
func (m *BatteryStats_App_Foreground) String() string
type BatteryStats_App_Network ¶
type BatteryStats_App_Network struct { // Mobile data traffic. MobileBytesRx *float32 `protobuf:"fixed32,1,opt,name=mobile_bytes_rx" json:"mobile_bytes_rx,omitempty"` MobileBytesTx *float32 `protobuf:"fixed32,2,opt,name=mobile_bytes_tx" json:"mobile_bytes_tx,omitempty"` // Wifi data traffic. WifiBytesRx *float32 `protobuf:"fixed32,3,opt,name=wifi_bytes_rx" json:"wifi_bytes_rx,omitempty"` WifiBytesTx *float32 `protobuf:"fixed32,4,opt,name=wifi_bytes_tx" json:"wifi_bytes_tx,omitempty"` // In packets. MobilePacketsRx *float32 `protobuf:"fixed32,5,opt,name=mobile_packets_rx" json:"mobile_packets_rx,omitempty"` MobilePacketsTx *float32 `protobuf:"fixed32,6,opt,name=mobile_packets_tx" json:"mobile_packets_tx,omitempty"` WifiPacketsRx *float32 `protobuf:"fixed32,7,opt,name=wifi_packets_rx" json:"wifi_packets_rx,omitempty"` WifiPacketsTx *float32 `protobuf:"fixed32,8,opt,name=wifi_packets_tx" json:"wifi_packets_tx,omitempty"` // Radio active duration. MobileActiveTimeMsec *float32 `protobuf:"fixed32,9,opt,name=mobile_active_time_msec" json:"mobile_active_time_msec,omitempty"` MobileActiveCount *float32 `protobuf:"fixed32,10,opt,name=mobile_active_count" json:"mobile_active_count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_Network) GetMobileActiveCount ¶
func (m *BatteryStats_App_Network) GetMobileActiveCount() float32
func (*BatteryStats_App_Network) GetMobileActiveTimeMsec ¶
func (m *BatteryStats_App_Network) GetMobileActiveTimeMsec() float32
func (*BatteryStats_App_Network) GetMobileBytesRx ¶
func (m *BatteryStats_App_Network) GetMobileBytesRx() float32
func (*BatteryStats_App_Network) GetMobileBytesTx ¶
func (m *BatteryStats_App_Network) GetMobileBytesTx() float32
func (*BatteryStats_App_Network) GetMobilePacketsRx ¶
func (m *BatteryStats_App_Network) GetMobilePacketsRx() float32
func (*BatteryStats_App_Network) GetMobilePacketsTx ¶
func (m *BatteryStats_App_Network) GetMobilePacketsTx() float32
func (*BatteryStats_App_Network) GetWifiBytesRx ¶
func (m *BatteryStats_App_Network) GetWifiBytesRx() float32
func (*BatteryStats_App_Network) GetWifiBytesTx ¶
func (m *BatteryStats_App_Network) GetWifiBytesTx() float32
func (*BatteryStats_App_Network) GetWifiPacketsRx ¶
func (m *BatteryStats_App_Network) GetWifiPacketsRx() float32
func (*BatteryStats_App_Network) GetWifiPacketsTx ¶
func (m *BatteryStats_App_Network) GetWifiPacketsTx() float32
func (*BatteryStats_App_Network) ProtoMessage ¶
func (*BatteryStats_App_Network) ProtoMessage()
func (*BatteryStats_App_Network) Reset ¶
func (m *BatteryStats_App_Network) Reset()
func (*BatteryStats_App_Network) String ¶
func (m *BatteryStats_App_Network) String() string
type BatteryStats_App_PowerUseItem ¶
type BatteryStats_App_PowerUseItem struct { // Estimated power use in mAh. ComputedPowerMah *float32 `protobuf:"fixed32,1,opt,name=computed_power_mah" json:"computed_power_mah,omitempty"` XXX_unrecognized []byte `json:"-"` }
APP only. See System.PowerUseItem for others.
func (*BatteryStats_App_PowerUseItem) GetComputedPowerMah ¶
func (m *BatteryStats_App_PowerUseItem) GetComputedPowerMah() float32
func (*BatteryStats_App_PowerUseItem) ProtoMessage ¶
func (*BatteryStats_App_PowerUseItem) ProtoMessage()
func (*BatteryStats_App_PowerUseItem) Reset ¶
func (m *BatteryStats_App_PowerUseItem) Reset()
func (*BatteryStats_App_PowerUseItem) String ¶
func (m *BatteryStats_App_PowerUseItem) String() string
type BatteryStats_App_Process ¶
type BatteryStats_App_Process struct { // e.g., com.google.process.location. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Time spent executing in user code. UserTimeMsec *float32 `protobuf:"fixed32,2,opt,name=user_time_msec" json:"user_time_msec,omitempty"` // Time in system code. SystemTimeMsec *float32 `protobuf:"fixed32,3,opt,name=system_time_msec" json:"system_time_msec,omitempty"` // Time in the foreground. ForegroundTimeMsec *float32 `protobuf:"fixed32,4,opt,name=foreground_time_msec" json:"foreground_time_msec,omitempty"` // #times the process has been started. Starts *float32 `protobuf:"fixed32,5,opt,name=starts" json:"starts,omitempty"` // #times the process has ANRed. Anrs *float32 `protobuf:"fixed32,6,opt,name=anrs" json:"anrs,omitempty"` // #times the process has crashed. Crashes *float32 `protobuf:"fixed32,7,opt,name=crashes" json:"crashes,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_Process) GetAnrs ¶
func (m *BatteryStats_App_Process) GetAnrs() float32
func (*BatteryStats_App_Process) GetCrashes ¶
func (m *BatteryStats_App_Process) GetCrashes() float32
func (*BatteryStats_App_Process) GetForegroundTimeMsec ¶
func (m *BatteryStats_App_Process) GetForegroundTimeMsec() float32
func (*BatteryStats_App_Process) GetName ¶
func (m *BatteryStats_App_Process) GetName() string
func (*BatteryStats_App_Process) GetStarts ¶
func (m *BatteryStats_App_Process) GetStarts() float32
func (*BatteryStats_App_Process) GetSystemTimeMsec ¶
func (m *BatteryStats_App_Process) GetSystemTimeMsec() float32
func (*BatteryStats_App_Process) GetUserTimeMsec ¶
func (m *BatteryStats_App_Process) GetUserTimeMsec() float32
func (*BatteryStats_App_Process) ProtoMessage ¶
func (*BatteryStats_App_Process) ProtoMessage()
func (*BatteryStats_App_Process) Reset ¶
func (m *BatteryStats_App_Process) Reset()
func (*BatteryStats_App_Process) String ¶
func (m *BatteryStats_App_Process) String() string
type BatteryStats_App_ScheduledJob ¶
type BatteryStats_App_ScheduledJob struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Duration of use. TotalTimeMsec *float32 `protobuf:"fixed32,2,opt,name=total_time_msec" json:"total_time_msec,omitempty"` // #times of use. Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_ScheduledJob) GetCount ¶
func (m *BatteryStats_App_ScheduledJob) GetCount() float32
func (*BatteryStats_App_ScheduledJob) GetName ¶
func (m *BatteryStats_App_ScheduledJob) GetName() string
func (*BatteryStats_App_ScheduledJob) GetTotalTimeMsec ¶
func (m *BatteryStats_App_ScheduledJob) GetTotalTimeMsec() float32
func (*BatteryStats_App_ScheduledJob) ProtoMessage ¶
func (*BatteryStats_App_ScheduledJob) ProtoMessage()
func (*BatteryStats_App_ScheduledJob) Reset ¶
func (m *BatteryStats_App_ScheduledJob) Reset()
func (*BatteryStats_App_ScheduledJob) String ¶
func (m *BatteryStats_App_ScheduledJob) String() string
type BatteryStats_App_Sensor ¶
type BatteryStats_App_Sensor struct { // e.g., 24 (significant motion detector). Number *int32 `protobuf:"varint,1,opt,name=number" json:"number,omitempty"` // Duration of use. TotalTimeMsec *float32 `protobuf:"fixed32,2,opt,name=total_time_msec" json:"total_time_msec,omitempty"` // #times of use. Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_Sensor) GetCount ¶
func (m *BatteryStats_App_Sensor) GetCount() float32
func (*BatteryStats_App_Sensor) GetNumber ¶
func (m *BatteryStats_App_Sensor) GetNumber() int32
func (*BatteryStats_App_Sensor) GetTotalTimeMsec ¶
func (m *BatteryStats_App_Sensor) GetTotalTimeMsec() float32
func (*BatteryStats_App_Sensor) ProtoMessage ¶
func (*BatteryStats_App_Sensor) ProtoMessage()
func (*BatteryStats_App_Sensor) Reset ¶
func (m *BatteryStats_App_Sensor) Reset()
func (*BatteryStats_App_Sensor) String ¶
func (m *BatteryStats_App_Sensor) String() string
type BatteryStats_App_StateTime ¶
type BatteryStats_App_StateTime struct { // Time the app has any processes in foreground state. ForegroundTimeMsec *float32 `protobuf:"fixed32,1,opt,name=foreground_time_msec" json:"foreground_time_msec,omitempty"` // Time the app has any process in active state (not cached). ActiveTimeMsec *float32 `protobuf:"fixed32,2,opt,name=active_time_msec" json:"active_time_msec,omitempty"` // Time the app has any processes running at all. RunningTimeMsec *float32 `protobuf:"fixed32,3,opt,name=running_time_msec" json:"running_time_msec,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_StateTime) GetActiveTimeMsec ¶
func (m *BatteryStats_App_StateTime) GetActiveTimeMsec() float32
func (*BatteryStats_App_StateTime) GetForegroundTimeMsec ¶
func (m *BatteryStats_App_StateTime) GetForegroundTimeMsec() float32
func (*BatteryStats_App_StateTime) GetRunningTimeMsec ¶
func (m *BatteryStats_App_StateTime) GetRunningTimeMsec() float32
func (*BatteryStats_App_StateTime) ProtoMessage ¶
func (*BatteryStats_App_StateTime) ProtoMessage()
func (*BatteryStats_App_StateTime) Reset ¶
func (m *BatteryStats_App_StateTime) Reset()
func (*BatteryStats_App_StateTime) String ¶
func (m *BatteryStats_App_StateTime) String() string
type BatteryStats_App_Sync ¶
type BatteryStats_App_Sync struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Duration of use. TotalTimeMsec *float32 `protobuf:"fixed32,2,opt,name=total_time_msec" json:"total_time_msec,omitempty"` // #times of use. Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_Sync) GetCount ¶
func (m *BatteryStats_App_Sync) GetCount() float32
func (*BatteryStats_App_Sync) GetName ¶
func (m *BatteryStats_App_Sync) GetName() string
func (*BatteryStats_App_Sync) GetTotalTimeMsec ¶
func (m *BatteryStats_App_Sync) GetTotalTimeMsec() float32
func (*BatteryStats_App_Sync) ProtoMessage ¶
func (*BatteryStats_App_Sync) ProtoMessage()
func (*BatteryStats_App_Sync) Reset ¶
func (m *BatteryStats_App_Sync) Reset()
func (*BatteryStats_App_Sync) String ¶
func (m *BatteryStats_App_Sync) String() string
type BatteryStats_App_UserActivity ¶
type BatteryStats_App_UserActivity struct { Name *BatteryStats_App_UserActivity_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_App_UserActivity_Name" json:"name,omitempty"` Count *float32 `protobuf:"fixed32,2,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_UserActivity) GetCount ¶
func (m *BatteryStats_App_UserActivity) GetCount() float32
func (*BatteryStats_App_UserActivity) GetName ¶
func (m *BatteryStats_App_UserActivity) GetName() BatteryStats_App_UserActivity_Name
func (*BatteryStats_App_UserActivity) ProtoMessage ¶
func (*BatteryStats_App_UserActivity) ProtoMessage()
func (*BatteryStats_App_UserActivity) Reset ¶
func (m *BatteryStats_App_UserActivity) Reset()
func (*BatteryStats_App_UserActivity) String ¶
func (m *BatteryStats_App_UserActivity) String() string
type BatteryStats_App_UserActivity_Name ¶
type BatteryStats_App_UserActivity_Name int32
const ( BatteryStats_App_UserActivity_OTHER BatteryStats_App_UserActivity_Name = 0 BatteryStats_App_UserActivity_BUTTON BatteryStats_App_UserActivity_Name = 1 BatteryStats_App_UserActivity_TOUCH BatteryStats_App_UserActivity_Name = 2 )
func (BatteryStats_App_UserActivity_Name) Enum ¶
func (x BatteryStats_App_UserActivity_Name) Enum() *BatteryStats_App_UserActivity_Name
func (BatteryStats_App_UserActivity_Name) String ¶
func (x BatteryStats_App_UserActivity_Name) String() string
func (*BatteryStats_App_UserActivity_Name) UnmarshalJSON ¶
func (x *BatteryStats_App_UserActivity_Name) UnmarshalJSON(data []byte) error
type BatteryStats_App_Vibrator ¶
type BatteryStats_App_Vibrator struct { // Duration of use. TotalTimeMsec *float32 `protobuf:"fixed32,1,opt,name=total_time_msec" json:"total_time_msec,omitempty"` // #times of use. Count *float32 `protobuf:"fixed32,2,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_Vibrator) GetCount ¶
func (m *BatteryStats_App_Vibrator) GetCount() float32
func (*BatteryStats_App_Vibrator) GetTotalTimeMsec ¶
func (m *BatteryStats_App_Vibrator) GetTotalTimeMsec() float32
func (*BatteryStats_App_Vibrator) ProtoMessage ¶
func (*BatteryStats_App_Vibrator) ProtoMessage()
func (*BatteryStats_App_Vibrator) Reset ¶
func (m *BatteryStats_App_Vibrator) Reset()
func (*BatteryStats_App_Vibrator) String ¶
func (m *BatteryStats_App_Vibrator) String() string
type BatteryStats_App_Wakelock ¶
type BatteryStats_App_Wakelock struct { // PII-free wakelock names as a result of: // 1. regexp replacement (e.g., email address). // 2. removal of "unpopular" wakelock names that appear less than X% // (in terms of #unique android_id's) of all daily reports. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Full wakelock. FullTimeMsec *float32 `protobuf:"fixed32,2,opt,name=full_time_msec" json:"full_time_msec,omitempty"` FullCount *float32 `protobuf:"fixed32,3,opt,name=full_count" json:"full_count,omitempty"` // Partial wakelock. PartialTimeMsec *float32 `protobuf:"fixed32,4,opt,name=partial_time_msec" json:"partial_time_msec,omitempty"` PartialCount *float32 `protobuf:"fixed32,5,opt,name=partial_count" json:"partial_count,omitempty"` // Window wakelock. WindowTimeMsec *float32 `protobuf:"fixed32,6,opt,name=window_time_msec" json:"window_time_msec,omitempty"` WindowCount *float32 `protobuf:"fixed32,7,opt,name=window_count" json:"window_count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_Wakelock) GetFullCount ¶
func (m *BatteryStats_App_Wakelock) GetFullCount() float32
func (*BatteryStats_App_Wakelock) GetFullTimeMsec ¶
func (m *BatteryStats_App_Wakelock) GetFullTimeMsec() float32
func (*BatteryStats_App_Wakelock) GetName ¶
func (m *BatteryStats_App_Wakelock) GetName() string
func (*BatteryStats_App_Wakelock) GetPartialCount ¶
func (m *BatteryStats_App_Wakelock) GetPartialCount() float32
func (*BatteryStats_App_Wakelock) GetPartialTimeMsec ¶
func (m *BatteryStats_App_Wakelock) GetPartialTimeMsec() float32
func (*BatteryStats_App_Wakelock) GetWindowCount ¶
func (m *BatteryStats_App_Wakelock) GetWindowCount() float32
func (*BatteryStats_App_Wakelock) GetWindowTimeMsec ¶
func (m *BatteryStats_App_Wakelock) GetWindowTimeMsec() float32
func (*BatteryStats_App_Wakelock) ProtoMessage ¶
func (*BatteryStats_App_Wakelock) ProtoMessage()
func (*BatteryStats_App_Wakelock) Reset ¶
func (m *BatteryStats_App_Wakelock) Reset()
func (*BatteryStats_App_Wakelock) String ¶
func (m *BatteryStats_App_Wakelock) String() string
type BatteryStats_App_Wifi ¶
type BatteryStats_App_Wifi struct { // Duration holding Wifi-lock. FullWifiLockTimeMsec *float32 `protobuf:"fixed32,1,opt,name=full_wifi_lock_time_msec" json:"full_wifi_lock_time_msec,omitempty"` // Duration performing Wifi-scan. ScanTimeMsec *float32 `protobuf:"fixed32,2,opt,name=scan_time_msec" json:"scan_time_msec,omitempty"` // Duration running Wifi. RunningTimeMsec *float32 `protobuf:"fixed32,3,opt,name=running_time_msec" json:"running_time_msec,omitempty"` ScanCount *float32 `protobuf:"fixed32,4,opt,name=scan_count" json:"scan_count,omitempty"` IdleTimeMsec *float32 `protobuf:"fixed32,5,opt,name=idle_time_msec" json:"idle_time_msec,omitempty"` RxTimeMsec *float32 `protobuf:"fixed32,6,opt,name=rx_time_msec" json:"rx_time_msec,omitempty"` TxTimeMsec *float32 `protobuf:"fixed32,7,opt,name=tx_time_msec" json:"tx_time_msec,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_App_Wifi) GetFullWifiLockTimeMsec ¶
func (m *BatteryStats_App_Wifi) GetFullWifiLockTimeMsec() float32
func (*BatteryStats_App_Wifi) GetIdleTimeMsec ¶
func (m *BatteryStats_App_Wifi) GetIdleTimeMsec() float32
func (*BatteryStats_App_Wifi) GetRunningTimeMsec ¶
func (m *BatteryStats_App_Wifi) GetRunningTimeMsec() float32
func (*BatteryStats_App_Wifi) GetRxTimeMsec ¶
func (m *BatteryStats_App_Wifi) GetRxTimeMsec() float32
func (*BatteryStats_App_Wifi) GetScanCount ¶
func (m *BatteryStats_App_Wifi) GetScanCount() float32
func (*BatteryStats_App_Wifi) GetScanTimeMsec ¶
func (m *BatteryStats_App_Wifi) GetScanTimeMsec() float32
func (*BatteryStats_App_Wifi) GetTxTimeMsec ¶
func (m *BatteryStats_App_Wifi) GetTxTimeMsec() float32
func (*BatteryStats_App_Wifi) ProtoMessage ¶
func (*BatteryStats_App_Wifi) ProtoMessage()
func (*BatteryStats_App_Wifi) Reset ¶
func (m *BatteryStats_App_Wifi) Reset()
func (*BatteryStats_App_Wifi) String ¶
func (m *BatteryStats_App_Wifi) String() string
type BatteryStats_System ¶
type BatteryStats_System struct { Battery *BatteryStats_System_Battery `protobuf:"bytes,1,opt,name=battery" json:"battery,omitempty"` BatteryDischarge *BatteryStats_System_BatteryDischarge `protobuf:"bytes,2,opt,name=battery_discharge" json:"battery_discharge,omitempty"` BatteryLevel *BatteryStats_System_BatteryLevel `protobuf:"bytes,3,opt,name=battery_level" json:"battery_level,omitempty"` BluetoothState []*BatteryStats_System_BluetoothState `protobuf:"bytes,4,rep,name=bluetooth_state" json:"bluetooth_state,omitempty"` ChargeStep []*BatteryStats_System_ChargeStep `protobuf:"bytes,18,rep,name=charge_step" json:"charge_step,omitempty"` DataConnection []*BatteryStats_System_DataConnection `protobuf:"bytes,5,rep,name=data_connection" json:"data_connection,omitempty"` DischargeStep []*BatteryStats_System_DischargeStep `protobuf:"bytes,19,rep,name=discharge_step" json:"discharge_step,omitempty"` GlobalBluetooth *BatteryStats_System_GlobalBluetooth `protobuf:"bytes,20,opt,name=global_bluetooth" json:"global_bluetooth,omitempty"` GlobalNetwork *BatteryStats_System_GlobalNetwork `protobuf:"bytes,6,opt,name=global_network" json:"global_network,omitempty"` GlobalWifi *BatteryStats_System_GlobalWifi `protobuf:"bytes,21,opt,name=global_wifi" json:"global_wifi,omitempty"` KernelWakelock []*BatteryStats_System_KernelWakelock `protobuf:"bytes,7,rep,name=kernel_wakelock" json:"kernel_wakelock,omitempty"` Misc *BatteryStats_System_Misc `protobuf:"bytes,8,opt,name=misc" json:"misc,omitempty"` PowerUseItem []*BatteryStats_System_PowerUseItem `protobuf:"bytes,9,rep,name=power_use_item" json:"power_use_item,omitempty"` PowerUseSummary *BatteryStats_System_PowerUseSummary `protobuf:"bytes,10,opt,name=power_use_summary" json:"power_use_summary,omitempty"` ScreenBrightness []*BatteryStats_System_ScreenBrightness `protobuf:"bytes,11,rep,name=screen_brightness" json:"screen_brightness,omitempty"` SignalScanningTime *BatteryStats_System_SignalScanningTime `protobuf:"bytes,12,opt,name=signal_scanning_time" json:"signal_scanning_time,omitempty"` SignalStrength []*BatteryStats_System_SignalStrength `protobuf:"bytes,13,rep,name=signal_strength" json:"signal_strength,omitempty"` WakeupReason []*BatteryStats_System_WakeupReason `protobuf:"bytes,14,rep,name=wakeup_reason" json:"wakeup_reason,omitempty"` WifiSignalStrength []*BatteryStats_System_WifiSignalStrength `protobuf:"bytes,16,rep,name=wifi_signal_strength" json:"wifi_signal_strength,omitempty"` WifiSupplicantState []*BatteryStats_System_WifiSupplicantState `protobuf:"bytes,17,rep,name=wifi_supplicant_state" json:"wifi_supplicant_state,omitempty"` WifiState []*BatteryStats_System_WifiState `protobuf:"bytes,15,rep,name=wifi_state" json:"wifi_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System) GetBattery ¶
func (m *BatteryStats_System) GetBattery() *BatteryStats_System_Battery
func (*BatteryStats_System) GetBatteryDischarge ¶
func (m *BatteryStats_System) GetBatteryDischarge() *BatteryStats_System_BatteryDischarge
func (*BatteryStats_System) GetBatteryLevel ¶
func (m *BatteryStats_System) GetBatteryLevel() *BatteryStats_System_BatteryLevel
func (*BatteryStats_System) GetBluetoothState ¶
func (m *BatteryStats_System) GetBluetoothState() []*BatteryStats_System_BluetoothState
func (*BatteryStats_System) GetChargeStep ¶
func (m *BatteryStats_System) GetChargeStep() []*BatteryStats_System_ChargeStep
func (*BatteryStats_System) GetDataConnection ¶
func (m *BatteryStats_System) GetDataConnection() []*BatteryStats_System_DataConnection
func (*BatteryStats_System) GetDischargeStep ¶
func (m *BatteryStats_System) GetDischargeStep() []*BatteryStats_System_DischargeStep
func (*BatteryStats_System) GetGlobalBluetooth ¶
func (m *BatteryStats_System) GetGlobalBluetooth() *BatteryStats_System_GlobalBluetooth
func (*BatteryStats_System) GetGlobalNetwork ¶
func (m *BatteryStats_System) GetGlobalNetwork() *BatteryStats_System_GlobalNetwork
func (*BatteryStats_System) GetGlobalWifi ¶
func (m *BatteryStats_System) GetGlobalWifi() *BatteryStats_System_GlobalWifi
func (*BatteryStats_System) GetKernelWakelock ¶
func (m *BatteryStats_System) GetKernelWakelock() []*BatteryStats_System_KernelWakelock
func (*BatteryStats_System) GetMisc ¶
func (m *BatteryStats_System) GetMisc() *BatteryStats_System_Misc
func (*BatteryStats_System) GetPowerUseItem ¶
func (m *BatteryStats_System) GetPowerUseItem() []*BatteryStats_System_PowerUseItem
func (*BatteryStats_System) GetPowerUseSummary ¶
func (m *BatteryStats_System) GetPowerUseSummary() *BatteryStats_System_PowerUseSummary
func (*BatteryStats_System) GetScreenBrightness ¶
func (m *BatteryStats_System) GetScreenBrightness() []*BatteryStats_System_ScreenBrightness
func (*BatteryStats_System) GetSignalScanningTime ¶
func (m *BatteryStats_System) GetSignalScanningTime() *BatteryStats_System_SignalScanningTime
func (*BatteryStats_System) GetSignalStrength ¶
func (m *BatteryStats_System) GetSignalStrength() []*BatteryStats_System_SignalStrength
func (*BatteryStats_System) GetWakeupReason ¶
func (m *BatteryStats_System) GetWakeupReason() []*BatteryStats_System_WakeupReason
func (*BatteryStats_System) GetWifiSignalStrength ¶
func (m *BatteryStats_System) GetWifiSignalStrength() []*BatteryStats_System_WifiSignalStrength
func (*BatteryStats_System) GetWifiState ¶
func (m *BatteryStats_System) GetWifiState() []*BatteryStats_System_WifiState
func (*BatteryStats_System) GetWifiSupplicantState ¶
func (m *BatteryStats_System) GetWifiSupplicantState() []*BatteryStats_System_WifiSupplicantState
func (*BatteryStats_System) ProtoMessage ¶
func (*BatteryStats_System) ProtoMessage()
func (*BatteryStats_System) Reset ¶
func (m *BatteryStats_System) Reset()
func (*BatteryStats_System) String ¶
func (m *BatteryStats_System) String() string
type BatteryStats_System_Battery ¶
type BatteryStats_System_Battery struct { // #times the device has been started. StartCount *float32 `protobuf:"fixed32,1,opt,name=start_count" json:"start_count,omitempty"` // Realtime on battery. BatteryRealtimeMsec *float32 `protobuf:"fixed32,2,opt,name=battery_realtime_msec" json:"battery_realtime_msec,omitempty"` // Uptime (i.e., not suspend). BatteryUptimeMsec *float32 `protobuf:"fixed32,3,opt,name=battery_uptime_msec" json:"battery_uptime_msec,omitempty"` // Total realtime. Should match battery_realtime_msec for SINCE_UNPLUGGED. TotalRealtimeMsec *float32 `protobuf:"fixed32,4,opt,name=total_realtime_msec" json:"total_realtime_msec,omitempty"` TotalUptimeMsec *float32 `protobuf:"fixed32,5,opt,name=total_uptime_msec" json:"total_uptime_msec,omitempty"` // Wall clock time when the data collection started. StartClockTimeMsec *int64 `protobuf:"varint,6,opt,name=start_clock_time_msec" json:"start_clock_time_msec,omitempty"` ScreenOffRealtimeMsec *float32 `protobuf:"fixed32,7,opt,name=screen_off_realtime_msec" json:"screen_off_realtime_msec,omitempty"` ScreenOffUptimeMsec *float32 `protobuf:"fixed32,8,opt,name=screen_off_uptime_msec" json:"screen_off_uptime_msec,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System_Battery) GetBatteryRealtimeMsec ¶
func (m *BatteryStats_System_Battery) GetBatteryRealtimeMsec() float32
func (*BatteryStats_System_Battery) GetBatteryUptimeMsec ¶
func (m *BatteryStats_System_Battery) GetBatteryUptimeMsec() float32
func (*BatteryStats_System_Battery) GetScreenOffRealtimeMsec ¶
func (m *BatteryStats_System_Battery) GetScreenOffRealtimeMsec() float32
func (*BatteryStats_System_Battery) GetScreenOffUptimeMsec ¶
func (m *BatteryStats_System_Battery) GetScreenOffUptimeMsec() float32
func (*BatteryStats_System_Battery) GetStartClockTimeMsec ¶
func (m *BatteryStats_System_Battery) GetStartClockTimeMsec() int64
func (*BatteryStats_System_Battery) GetStartCount ¶
func (m *BatteryStats_System_Battery) GetStartCount() float32
func (*BatteryStats_System_Battery) GetTotalRealtimeMsec ¶
func (m *BatteryStats_System_Battery) GetTotalRealtimeMsec() float32
func (*BatteryStats_System_Battery) GetTotalUptimeMsec ¶
func (m *BatteryStats_System_Battery) GetTotalUptimeMsec() float32
func (*BatteryStats_System_Battery) ProtoMessage ¶
func (*BatteryStats_System_Battery) ProtoMessage()
func (*BatteryStats_System_Battery) Reset ¶
func (m *BatteryStats_System_Battery) Reset()
func (*BatteryStats_System_Battery) String ¶
func (m *BatteryStats_System_Battery) String() string
type BatteryStats_System_BatteryDischarge ¶
type BatteryStats_System_BatteryDischarge struct { // Discharged battery percentage points since the stats were last reset // after charging (lower bound approximation). LowerBound *float32 `protobuf:"fixed32,1,opt,name=lower_bound" json:"lower_bound,omitempty"` // Upper bound approximation. UpperBound *float32 `protobuf:"fixed32,2,opt,name=upper_bound" json:"upper_bound,omitempty"` // Discharged points while screen is on. ScreenOn *float32 `protobuf:"fixed32,3,opt,name=screen_on" json:"screen_on,omitempty"` ScreenOff *float32 `protobuf:"fixed32,4,opt,name=screen_off" json:"screen_off,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System_BatteryDischarge) GetLowerBound ¶
func (m *BatteryStats_System_BatteryDischarge) GetLowerBound() float32
func (*BatteryStats_System_BatteryDischarge) GetScreenOff ¶
func (m *BatteryStats_System_BatteryDischarge) GetScreenOff() float32
func (*BatteryStats_System_BatteryDischarge) GetScreenOn ¶
func (m *BatteryStats_System_BatteryDischarge) GetScreenOn() float32
func (*BatteryStats_System_BatteryDischarge) GetUpperBound ¶
func (m *BatteryStats_System_BatteryDischarge) GetUpperBound() float32
func (*BatteryStats_System_BatteryDischarge) ProtoMessage ¶
func (*BatteryStats_System_BatteryDischarge) ProtoMessage()
func (*BatteryStats_System_BatteryDischarge) Reset ¶
func (m *BatteryStats_System_BatteryDischarge) Reset()
func (*BatteryStats_System_BatteryDischarge) String ¶
func (m *BatteryStats_System_BatteryDischarge) String() string
type BatteryStats_System_BatteryLevel ¶
type BatteryStats_System_BatteryLevel struct { // The battery percentage level at the last time the device was unplugged. StartLevel *float32 `protobuf:"fixed32,1,opt,name=start_level" json:"start_level,omitempty"` // The current level. CurrentLevel *float32 `protobuf:"fixed32,2,opt,name=current_level" json:"current_level,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System_BatteryLevel) GetCurrentLevel ¶
func (m *BatteryStats_System_BatteryLevel) GetCurrentLevel() float32
func (*BatteryStats_System_BatteryLevel) GetStartLevel ¶
func (m *BatteryStats_System_BatteryLevel) GetStartLevel() float32
func (*BatteryStats_System_BatteryLevel) ProtoMessage ¶
func (*BatteryStats_System_BatteryLevel) ProtoMessage()
func (*BatteryStats_System_BatteryLevel) Reset ¶
func (m *BatteryStats_System_BatteryLevel) Reset()
func (*BatteryStats_System_BatteryLevel) String ¶
func (m *BatteryStats_System_BatteryLevel) String() string
type BatteryStats_System_BluetoothState ¶
type BatteryStats_System_BluetoothState struct { Name *BatteryStats_System_BluetoothState_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_BluetoothState_Name" json:"name,omitempty"` // Duration running in the given state. TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"` // #times entering the state. Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System_BluetoothState) GetCount ¶
func (m *BatteryStats_System_BluetoothState) GetCount() float32
func (*BatteryStats_System_BluetoothState) GetName ¶
func (m *BatteryStats_System_BluetoothState) GetName() BatteryStats_System_BluetoothState_Name
func (*BatteryStats_System_BluetoothState) GetTimeMsec ¶
func (m *BatteryStats_System_BluetoothState) GetTimeMsec() float32
func (*BatteryStats_System_BluetoothState) ProtoMessage ¶
func (*BatteryStats_System_BluetoothState) ProtoMessage()
func (*BatteryStats_System_BluetoothState) Reset ¶
func (m *BatteryStats_System_BluetoothState) Reset()
func (*BatteryStats_System_BluetoothState) String ¶
func (m *BatteryStats_System_BluetoothState) String() string
type BatteryStats_System_BluetoothState_Name ¶
type BatteryStats_System_BluetoothState_Name int32
const ( BatteryStats_System_BluetoothState_INACTIVE BatteryStats_System_BluetoothState_Name = 0 BatteryStats_System_BluetoothState_LOW BatteryStats_System_BluetoothState_Name = 1 BatteryStats_System_BluetoothState_MEDIUM BatteryStats_System_BluetoothState_Name = 2 BatteryStats_System_BluetoothState_HIGH BatteryStats_System_BluetoothState_Name = 3 )
func (BatteryStats_System_BluetoothState_Name) String ¶
func (x BatteryStats_System_BluetoothState_Name) String() string
func (*BatteryStats_System_BluetoothState_Name) UnmarshalJSON ¶
func (x *BatteryStats_System_BluetoothState_Name) UnmarshalJSON(data []byte) error
type BatteryStats_System_ChargeStep ¶
type BatteryStats_System_ChargeStep struct { TimeMsec *float32 `protobuf:"fixed32,1,opt,name=time_msec" json:"time_msec,omitempty"` // Battery level Level *float32 `protobuf:"fixed32,2,opt,name=level" json:"level,omitempty"` // State of the display. DisplayState *BatteryStats_System_DisplayState_State `` /* 130-byte string literal not displayed */ // Indicates status in power save mode. PowerSaveMode *BatteryStats_System_PowerSaveMode_Mode `` /* 134-byte string literal not displayed */ // Indicates status in idle mode. IdleMode *BatteryStats_System_IdleMode_Mode `protobuf:"varint,5,opt,name=idle_mode,enum=batterystats.BatteryStats_System_IdleMode_Mode" json:"idle_mode,omitempty"` XXX_unrecognized []byte `json:"-"` }
ChargeStep tracks data for which conditions were continuously held for the entire duration. Field for which the conditions were not consistent for the entire duration should be marked MIXED.
func (*BatteryStats_System_ChargeStep) GetDisplayState ¶
func (m *BatteryStats_System_ChargeStep) GetDisplayState() BatteryStats_System_DisplayState_State
func (*BatteryStats_System_ChargeStep) GetIdleMode ¶
func (m *BatteryStats_System_ChargeStep) GetIdleMode() BatteryStats_System_IdleMode_Mode
func (*BatteryStats_System_ChargeStep) GetLevel ¶
func (m *BatteryStats_System_ChargeStep) GetLevel() float32
func (*BatteryStats_System_ChargeStep) GetPowerSaveMode ¶
func (m *BatteryStats_System_ChargeStep) GetPowerSaveMode() BatteryStats_System_PowerSaveMode_Mode
func (*BatteryStats_System_ChargeStep) GetTimeMsec ¶
func (m *BatteryStats_System_ChargeStep) GetTimeMsec() float32
func (*BatteryStats_System_ChargeStep) ProtoMessage ¶
func (*BatteryStats_System_ChargeStep) ProtoMessage()
func (*BatteryStats_System_ChargeStep) Reset ¶
func (m *BatteryStats_System_ChargeStep) Reset()
func (*BatteryStats_System_ChargeStep) String ¶
func (m *BatteryStats_System_ChargeStep) String() string
type BatteryStats_System_DataConnection ¶
type BatteryStats_System_DataConnection struct { Name *BatteryStats_System_DataConnection_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_DataConnection_Name" json:"name,omitempty"` // Duration running in the given state. TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"` // #times entering the state. Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System_DataConnection) GetCount ¶
func (m *BatteryStats_System_DataConnection) GetCount() float32
func (*BatteryStats_System_DataConnection) GetName ¶
func (m *BatteryStats_System_DataConnection) GetName() BatteryStats_System_DataConnection_Name
func (*BatteryStats_System_DataConnection) GetTimeMsec ¶
func (m *BatteryStats_System_DataConnection) GetTimeMsec() float32
func (*BatteryStats_System_DataConnection) ProtoMessage ¶
func (*BatteryStats_System_DataConnection) ProtoMessage()
func (*BatteryStats_System_DataConnection) Reset ¶
func (m *BatteryStats_System_DataConnection) Reset()
func (*BatteryStats_System_DataConnection) String ¶
func (m *BatteryStats_System_DataConnection) String() string
type BatteryStats_System_DataConnection_Name ¶
type BatteryStats_System_DataConnection_Name int32
const ( BatteryStats_System_DataConnection_NONE BatteryStats_System_DataConnection_Name = 0 BatteryStats_System_DataConnection_GPRS BatteryStats_System_DataConnection_Name = 1 BatteryStats_System_DataConnection_EDGE BatteryStats_System_DataConnection_Name = 2 BatteryStats_System_DataConnection_UMTS BatteryStats_System_DataConnection_Name = 3 BatteryStats_System_DataConnection_CDMA BatteryStats_System_DataConnection_Name = 4 BatteryStats_System_DataConnection_EVDO_0 BatteryStats_System_DataConnection_Name = 5 BatteryStats_System_DataConnection_EVDO_A BatteryStats_System_DataConnection_Name = 6 BatteryStats_System_DataConnection_ONE_X_RTT BatteryStats_System_DataConnection_Name = 7 BatteryStats_System_DataConnection_HSDPA BatteryStats_System_DataConnection_Name = 8 BatteryStats_System_DataConnection_HSUPA BatteryStats_System_DataConnection_Name = 9 BatteryStats_System_DataConnection_HSPA BatteryStats_System_DataConnection_Name = 10 BatteryStats_System_DataConnection_IDEN BatteryStats_System_DataConnection_Name = 11 BatteryStats_System_DataConnection_EVDO_B BatteryStats_System_DataConnection_Name = 12 BatteryStats_System_DataConnection_LTE BatteryStats_System_DataConnection_Name = 13 BatteryStats_System_DataConnection_EHRPD BatteryStats_System_DataConnection_Name = 14 BatteryStats_System_DataConnection_HSPAP BatteryStats_System_DataConnection_Name = 15 BatteryStats_System_DataConnection_OTHER BatteryStats_System_DataConnection_Name = 16 )
func (BatteryStats_System_DataConnection_Name) String ¶
func (x BatteryStats_System_DataConnection_Name) String() string
func (*BatteryStats_System_DataConnection_Name) UnmarshalJSON ¶
func (x *BatteryStats_System_DataConnection_Name) UnmarshalJSON(data []byte) error
type BatteryStats_System_DischargeStep ¶
type BatteryStats_System_DischargeStep struct { TimeMsec *float32 `protobuf:"fixed32,1,opt,name=time_msec" json:"time_msec,omitempty"` // Battery level Level *float32 `protobuf:"fixed32,2,opt,name=level" json:"level,omitempty"` // State of the display. DisplayState *BatteryStats_System_DisplayState_State `` /* 130-byte string literal not displayed */ // Indicates status in power save mode. PowerSaveMode *BatteryStats_System_PowerSaveMode_Mode `` /* 134-byte string literal not displayed */ // Indicates status in idle mode. IdleMode *BatteryStats_System_IdleMode_Mode `protobuf:"varint,5,opt,name=idle_mode,enum=batterystats.BatteryStats_System_IdleMode_Mode" json:"idle_mode,omitempty"` XXX_unrecognized []byte `json:"-"` }
DischargeStep tracks data for which conditions were continuously held for the entire duration. Field for which the conditions were not consistent for the entire duration should be marked MIXED.
func (*BatteryStats_System_DischargeStep) GetDisplayState ¶
func (m *BatteryStats_System_DischargeStep) GetDisplayState() BatteryStats_System_DisplayState_State
func (*BatteryStats_System_DischargeStep) GetIdleMode ¶
func (m *BatteryStats_System_DischargeStep) GetIdleMode() BatteryStats_System_IdleMode_Mode
func (*BatteryStats_System_DischargeStep) GetLevel ¶
func (m *BatteryStats_System_DischargeStep) GetLevel() float32
func (*BatteryStats_System_DischargeStep) GetPowerSaveMode ¶
func (m *BatteryStats_System_DischargeStep) GetPowerSaveMode() BatteryStats_System_PowerSaveMode_Mode
func (*BatteryStats_System_DischargeStep) GetTimeMsec ¶
func (m *BatteryStats_System_DischargeStep) GetTimeMsec() float32
func (*BatteryStats_System_DischargeStep) ProtoMessage ¶
func (*BatteryStats_System_DischargeStep) ProtoMessage()
func (*BatteryStats_System_DischargeStep) Reset ¶
func (m *BatteryStats_System_DischargeStep) Reset()
func (*BatteryStats_System_DischargeStep) String ¶
func (m *BatteryStats_System_DischargeStep) String() string
type BatteryStats_System_DisplayState ¶
type BatteryStats_System_DisplayState struct {
XXX_unrecognized []byte `json:"-"`
}
func (*BatteryStats_System_DisplayState) ProtoMessage ¶
func (*BatteryStats_System_DisplayState) ProtoMessage()
func (*BatteryStats_System_DisplayState) Reset ¶
func (m *BatteryStats_System_DisplayState) Reset()
func (*BatteryStats_System_DisplayState) String ¶
func (m *BatteryStats_System_DisplayState) String() string
type BatteryStats_System_DisplayState_State ¶
type BatteryStats_System_DisplayState_State int32
const ( BatteryStats_System_DisplayState_MIXED BatteryStats_System_DisplayState_State = 0 BatteryStats_System_DisplayState_ON BatteryStats_System_DisplayState_State = 1 BatteryStats_System_DisplayState_OFF BatteryStats_System_DisplayState_State = 2 BatteryStats_System_DisplayState_DOZE BatteryStats_System_DisplayState_State = 3 BatteryStats_System_DisplayState_DOZE_SUSPEND BatteryStats_System_DisplayState_State = 4 )
func (BatteryStats_System_DisplayState_State) String ¶
func (x BatteryStats_System_DisplayState_State) String() string
func (*BatteryStats_System_DisplayState_State) UnmarshalJSON ¶
func (x *BatteryStats_System_DisplayState_State) UnmarshalJSON(data []byte) error
type BatteryStats_System_GlobalBluetooth ¶
type BatteryStats_System_GlobalBluetooth struct { BluetoothIdleTimeMsec *float32 `protobuf:"fixed32,1,opt,name=bluetooth_idle_time_msec" json:"bluetooth_idle_time_msec,omitempty"` BluetoothRxTimeMsec *float32 `protobuf:"fixed32,2,opt,name=bluetooth_rx_time_msec" json:"bluetooth_rx_time_msec,omitempty"` BluetoothTxTimeMsec *float32 `protobuf:"fixed32,3,opt,name=bluetooth_tx_time_msec" json:"bluetooth_tx_time_msec,omitempty"` BluetoothPowerMah *float32 `protobuf:"fixed32,4,opt,name=bluetooth_power_mah" json:"bluetooth_power_mah,omitempty"` XXX_unrecognized []byte `json:"-"` }
Total bluetooth data
func (*BatteryStats_System_GlobalBluetooth) GetBluetoothIdleTimeMsec ¶
func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothIdleTimeMsec() float32
func (*BatteryStats_System_GlobalBluetooth) GetBluetoothPowerMah ¶
func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothPowerMah() float32
func (*BatteryStats_System_GlobalBluetooth) GetBluetoothRxTimeMsec ¶
func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothRxTimeMsec() float32
func (*BatteryStats_System_GlobalBluetooth) GetBluetoothTxTimeMsec ¶
func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothTxTimeMsec() float32
func (*BatteryStats_System_GlobalBluetooth) ProtoMessage ¶
func (*BatteryStats_System_GlobalBluetooth) ProtoMessage()
func (*BatteryStats_System_GlobalBluetooth) Reset ¶
func (m *BatteryStats_System_GlobalBluetooth) Reset()
func (*BatteryStats_System_GlobalBluetooth) String ¶
func (m *BatteryStats_System_GlobalBluetooth) String() string
type BatteryStats_System_GlobalNetwork ¶
type BatteryStats_System_GlobalNetwork struct { MobileBytesRx *float32 `protobuf:"fixed32,1,opt,name=mobile_bytes_rx" json:"mobile_bytes_rx,omitempty"` MobileBytesTx *float32 `protobuf:"fixed32,2,opt,name=mobile_bytes_tx" json:"mobile_bytes_tx,omitempty"` WifiBytesRx *float32 `protobuf:"fixed32,3,opt,name=wifi_bytes_rx" json:"wifi_bytes_rx,omitempty"` WifiBytesTx *float32 `protobuf:"fixed32,4,opt,name=wifi_bytes_tx" json:"wifi_bytes_tx,omitempty"` MobilePacketsRx *float32 `protobuf:"fixed32,5,opt,name=mobile_packets_rx" json:"mobile_packets_rx,omitempty"` MobilePacketsTx *float32 `protobuf:"fixed32,6,opt,name=mobile_packets_tx" json:"mobile_packets_tx,omitempty"` WifiPacketsRx *float32 `protobuf:"fixed32,7,opt,name=wifi_packets_rx" json:"wifi_packets_rx,omitempty"` WifiPacketsTx *float32 `protobuf:"fixed32,8,opt,name=wifi_packets_tx" json:"wifi_packets_tx,omitempty"` XXX_unrecognized []byte `json:"-"` }
"Total" view (vs. Network).
func (*BatteryStats_System_GlobalNetwork) GetMobileBytesRx ¶
func (m *BatteryStats_System_GlobalNetwork) GetMobileBytesRx() float32
func (*BatteryStats_System_GlobalNetwork) GetMobileBytesTx ¶
func (m *BatteryStats_System_GlobalNetwork) GetMobileBytesTx() float32
func (*BatteryStats_System_GlobalNetwork) GetMobilePacketsRx ¶
func (m *BatteryStats_System_GlobalNetwork) GetMobilePacketsRx() float32
func (*BatteryStats_System_GlobalNetwork) GetMobilePacketsTx ¶
func (m *BatteryStats_System_GlobalNetwork) GetMobilePacketsTx() float32
func (*BatteryStats_System_GlobalNetwork) GetWifiBytesRx ¶
func (m *BatteryStats_System_GlobalNetwork) GetWifiBytesRx() float32
func (*BatteryStats_System_GlobalNetwork) GetWifiBytesTx ¶
func (m *BatteryStats_System_GlobalNetwork) GetWifiBytesTx() float32
func (*BatteryStats_System_GlobalNetwork) GetWifiPacketsRx ¶
func (m *BatteryStats_System_GlobalNetwork) GetWifiPacketsRx() float32
func (*BatteryStats_System_GlobalNetwork) GetWifiPacketsTx ¶
func (m *BatteryStats_System_GlobalNetwork) GetWifiPacketsTx() float32
func (*BatteryStats_System_GlobalNetwork) ProtoMessage ¶
func (*BatteryStats_System_GlobalNetwork) ProtoMessage()
func (*BatteryStats_System_GlobalNetwork) Reset ¶
func (m *BatteryStats_System_GlobalNetwork) Reset()
func (*BatteryStats_System_GlobalNetwork) String ¶
func (m *BatteryStats_System_GlobalNetwork) String() string
type BatteryStats_System_GlobalWifi ¶
type BatteryStats_System_GlobalWifi struct { // Wifi on and wifi running are mostly legacy and shouldn't have a // difference in practice. WifiOnTimeMsec *float32 `protobuf:"fixed32,1,opt,name=wifi_on_time_msec" json:"wifi_on_time_msec,omitempty"` WifiRunningTimeMsec *float32 `protobuf:"fixed32,2,opt,name=wifi_running_time_msec" json:"wifi_running_time_msec,omitempty"` WifiIdleTimeMsec *float32 `protobuf:"fixed32,3,opt,name=wifi_idle_time_msec" json:"wifi_idle_time_msec,omitempty"` // Rx and Tx times are reported from the Wifi chip. Running time is // recorded based on API calls, so it's more of an estimate. // RxTime + TxTime doesn't need to equal RunningTime. WifiRxTimeMsec *float32 `protobuf:"fixed32,4,opt,name=wifi_rx_time_msec" json:"wifi_rx_time_msec,omitempty"` WifiTxTimeMsec *float32 `protobuf:"fixed32,5,opt,name=wifi_tx_time_msec" json:"wifi_tx_time_msec,omitempty"` WifiPowerMah *float32 `protobuf:"fixed32,6,opt,name=wifi_power_mah" json:"wifi_power_mah,omitempty"` XXX_unrecognized []byte `json:"-"` }
Total wifi data (includes app wifi usage).
func (*BatteryStats_System_GlobalWifi) GetWifiIdleTimeMsec ¶
func (m *BatteryStats_System_GlobalWifi) GetWifiIdleTimeMsec() float32
func (*BatteryStats_System_GlobalWifi) GetWifiOnTimeMsec ¶
func (m *BatteryStats_System_GlobalWifi) GetWifiOnTimeMsec() float32
func (*BatteryStats_System_GlobalWifi) GetWifiPowerMah ¶
func (m *BatteryStats_System_GlobalWifi) GetWifiPowerMah() float32
func (*BatteryStats_System_GlobalWifi) GetWifiRunningTimeMsec ¶
func (m *BatteryStats_System_GlobalWifi) GetWifiRunningTimeMsec() float32
func (*BatteryStats_System_GlobalWifi) GetWifiRxTimeMsec ¶
func (m *BatteryStats_System_GlobalWifi) GetWifiRxTimeMsec() float32
func (*BatteryStats_System_GlobalWifi) GetWifiTxTimeMsec ¶
func (m *BatteryStats_System_GlobalWifi) GetWifiTxTimeMsec() float32
func (*BatteryStats_System_GlobalWifi) ProtoMessage ¶
func (*BatteryStats_System_GlobalWifi) ProtoMessage()
func (*BatteryStats_System_GlobalWifi) Reset ¶
func (m *BatteryStats_System_GlobalWifi) Reset()
func (*BatteryStats_System_GlobalWifi) String ¶
func (m *BatteryStats_System_GlobalWifi) String() string
type BatteryStats_System_IdleMode ¶
type BatteryStats_System_IdleMode struct {
XXX_unrecognized []byte `json:"-"`
}
func (*BatteryStats_System_IdleMode) ProtoMessage ¶
func (*BatteryStats_System_IdleMode) ProtoMessage()
func (*BatteryStats_System_IdleMode) Reset ¶
func (m *BatteryStats_System_IdleMode) Reset()
func (*BatteryStats_System_IdleMode) String ¶
func (m *BatteryStats_System_IdleMode) String() string
type BatteryStats_System_IdleMode_Mode ¶
type BatteryStats_System_IdleMode_Mode int32
const ( // NO_DATA is intended for older reports that did not have an idle mode // section. BatteryStats_System_IdleMode_NO_DATA BatteryStats_System_IdleMode_Mode = 0 BatteryStats_System_IdleMode_MIXED BatteryStats_System_IdleMode_Mode = 1 BatteryStats_System_IdleMode_ON BatteryStats_System_IdleMode_Mode = 2 BatteryStats_System_IdleMode_OFF BatteryStats_System_IdleMode_Mode = 3 )
func (BatteryStats_System_IdleMode_Mode) Enum ¶
func (x BatteryStats_System_IdleMode_Mode) Enum() *BatteryStats_System_IdleMode_Mode
func (BatteryStats_System_IdleMode_Mode) String ¶
func (x BatteryStats_System_IdleMode_Mode) String() string
func (*BatteryStats_System_IdleMode_Mode) UnmarshalJSON ¶
func (x *BatteryStats_System_IdleMode_Mode) UnmarshalJSON(data []byte) error
type BatteryStats_System_KernelWakelock ¶
type BatteryStats_System_KernelWakelock struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"` Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
Similar to Wakelock.
func (*BatteryStats_System_KernelWakelock) GetCount ¶
func (m *BatteryStats_System_KernelWakelock) GetCount() float32
func (*BatteryStats_System_KernelWakelock) GetName ¶
func (m *BatteryStats_System_KernelWakelock) GetName() string
func (*BatteryStats_System_KernelWakelock) GetTimeMsec ¶
func (m *BatteryStats_System_KernelWakelock) GetTimeMsec() float32
func (*BatteryStats_System_KernelWakelock) ProtoMessage ¶
func (*BatteryStats_System_KernelWakelock) ProtoMessage()
func (*BatteryStats_System_KernelWakelock) Reset ¶
func (m *BatteryStats_System_KernelWakelock) Reset()
func (*BatteryStats_System_KernelWakelock) String ¶
func (m *BatteryStats_System_KernelWakelock) String() string
type BatteryStats_System_Misc ¶
type BatteryStats_System_Misc struct { ScreenOnTimeMsec *float32 `protobuf:"fixed32,1,opt,name=screen_on_time_msec" json:"screen_on_time_msec,omitempty"` // battery_realtime - screen_on_time. ScreenOffTimeMsec *float32 `protobuf:"fixed32,2,opt,name=screen_off_time_msec" json:"screen_off_time_msec,omitempty"` // Active phone call time. PhoneOnTimeMsec *float32 `protobuf:"fixed32,3,opt,name=phone_on_time_msec" json:"phone_on_time_msec,omitempty"` // Duration of Wifi being enabled. WifiOnTimeMsec *float32 `protobuf:"fixed32,4,opt,name=wifi_on_time_msec" json:"wifi_on_time_msec,omitempty"` // Duration of Wifi being on and the driver being in the running state. WifiRunningTimeMsec *float32 `protobuf:"fixed32,5,opt,name=wifi_running_time_msec" json:"wifi_running_time_msec,omitempty"` BluetoothOnTimeMsec *float32 `protobuf:"fixed32,6,opt,name=bluetooth_on_time_msec" json:"bluetooth_on_time_msec,omitempty"` MobileBytesRx *float32 `protobuf:"fixed32,7,opt,name=mobile_bytes_rx" json:"mobile_bytes_rx,omitempty"` MobileBytesTx *float32 `protobuf:"fixed32,8,opt,name=mobile_bytes_tx" json:"mobile_bytes_tx,omitempty"` WifiBytesRx *float32 `protobuf:"fixed32,9,opt,name=wifi_bytes_rx" json:"wifi_bytes_rx,omitempty"` WifiBytesTx *float32 `protobuf:"fixed32,10,opt,name=wifi_bytes_tx" json:"wifi_bytes_tx,omitempty"` FullWakelockTimeMsec *float32 `protobuf:"fixed32,11,opt,name=full_wakelock_time_msec" json:"full_wakelock_time_msec,omitempty"` PartialWakelockTimeMsec *float32 `protobuf:"fixed32,12,opt,name=partial_wakelock_time_msec" json:"partial_wakelock_time_msec,omitempty"` MobileActiveTimeMsec *float32 `protobuf:"fixed32,13,opt,name=mobile_active_time_msec" json:"mobile_active_time_msec,omitempty"` MobileActiveAdjustedTimeMsec *float32 `protobuf:"fixed32,14,opt,name=mobile_active_adjusted_time_msec" json:"mobile_active_adjusted_time_msec,omitempty"` InteractiveTimeMsec *float32 `protobuf:"fixed32,15,opt,name=interactive_time_msec" json:"interactive_time_msec,omitempty"` // Amount of time power save mode was on. LowPowerModeEnabledTimeMsec *float32 `protobuf:"fixed32,16,opt,name=low_power_mode_enabled_time_msec" json:"low_power_mode_enabled_time_msec,omitempty"` // #times that connectivity state changed. ConnectivityChanges *float32 `protobuf:"fixed32,17,opt,name=connectivity_changes" json:"connectivity_changes,omitempty"` // When the device has seen no activity, it goes into // idle mode, which encompasses "idling" time and the // occasional time out of idling that allows apps to operate. DeviceIdleModeEnabledTimeMsec *float32 `protobuf:"fixed32,18,opt,name=device_idle_mode_enabled_time_msec" json:"device_idle_mode_enabled_time_msec,omitempty"` DeviceIdleModeEnabledCount *float32 `protobuf:"fixed32,19,opt,name=device_idle_mode_enabled_count" json:"device_idle_mode_enabled_count,omitempty"` // Idling time is when the device turns off most activity // to prevent apps from running. DeviceIdlingTimeMsec *float32 `protobuf:"fixed32,20,opt,name=device_idling_time_msec" json:"device_idling_time_msec,omitempty"` DeviceIdlingCount *float32 `protobuf:"fixed32,21,opt,name=device_idling_count" json:"device_idling_count,omitempty"` XXX_unrecognized []byte `json:"-"` }
"Total" view (vs. other App-specific stats above).
func (*BatteryStats_System_Misc) GetBluetoothOnTimeMsec ¶
func (m *BatteryStats_System_Misc) GetBluetoothOnTimeMsec() float32
func (*BatteryStats_System_Misc) GetConnectivityChanges ¶
func (m *BatteryStats_System_Misc) GetConnectivityChanges() float32
func (*BatteryStats_System_Misc) GetDeviceIdleModeEnabledCount ¶
func (m *BatteryStats_System_Misc) GetDeviceIdleModeEnabledCount() float32
func (*BatteryStats_System_Misc) GetDeviceIdleModeEnabledTimeMsec ¶
func (m *BatteryStats_System_Misc) GetDeviceIdleModeEnabledTimeMsec() float32
func (*BatteryStats_System_Misc) GetDeviceIdlingCount ¶
func (m *BatteryStats_System_Misc) GetDeviceIdlingCount() float32
func (*BatteryStats_System_Misc) GetDeviceIdlingTimeMsec ¶
func (m *BatteryStats_System_Misc) GetDeviceIdlingTimeMsec() float32
func (*BatteryStats_System_Misc) GetFullWakelockTimeMsec ¶
func (m *BatteryStats_System_Misc) GetFullWakelockTimeMsec() float32
func (*BatteryStats_System_Misc) GetInteractiveTimeMsec ¶
func (m *BatteryStats_System_Misc) GetInteractiveTimeMsec() float32
func (*BatteryStats_System_Misc) GetLowPowerModeEnabledTimeMsec ¶
func (m *BatteryStats_System_Misc) GetLowPowerModeEnabledTimeMsec() float32
func (*BatteryStats_System_Misc) GetMobileActiveAdjustedTimeMsec ¶
func (m *BatteryStats_System_Misc) GetMobileActiveAdjustedTimeMsec() float32
func (*BatteryStats_System_Misc) GetMobileActiveTimeMsec ¶
func (m *BatteryStats_System_Misc) GetMobileActiveTimeMsec() float32
func (*BatteryStats_System_Misc) GetMobileBytesRx ¶
func (m *BatteryStats_System_Misc) GetMobileBytesRx() float32
func (*BatteryStats_System_Misc) GetMobileBytesTx ¶
func (m *BatteryStats_System_Misc) GetMobileBytesTx() float32
func (*BatteryStats_System_Misc) GetPartialWakelockTimeMsec ¶
func (m *BatteryStats_System_Misc) GetPartialWakelockTimeMsec() float32
func (*BatteryStats_System_Misc) GetPhoneOnTimeMsec ¶
func (m *BatteryStats_System_Misc) GetPhoneOnTimeMsec() float32
func (*BatteryStats_System_Misc) GetScreenOffTimeMsec ¶
func (m *BatteryStats_System_Misc) GetScreenOffTimeMsec() float32
func (*BatteryStats_System_Misc) GetScreenOnTimeMsec ¶
func (m *BatteryStats_System_Misc) GetScreenOnTimeMsec() float32
func (*BatteryStats_System_Misc) GetWifiBytesRx ¶
func (m *BatteryStats_System_Misc) GetWifiBytesRx() float32
func (*BatteryStats_System_Misc) GetWifiBytesTx ¶
func (m *BatteryStats_System_Misc) GetWifiBytesTx() float32
func (*BatteryStats_System_Misc) GetWifiOnTimeMsec ¶
func (m *BatteryStats_System_Misc) GetWifiOnTimeMsec() float32
func (*BatteryStats_System_Misc) GetWifiRunningTimeMsec ¶
func (m *BatteryStats_System_Misc) GetWifiRunningTimeMsec() float32
func (*BatteryStats_System_Misc) ProtoMessage ¶
func (*BatteryStats_System_Misc) ProtoMessage()
func (*BatteryStats_System_Misc) Reset ¶
func (m *BatteryStats_System_Misc) Reset()
func (*BatteryStats_System_Misc) String ¶
func (m *BatteryStats_System_Misc) String() string
type BatteryStats_System_PowerSaveMode ¶
type BatteryStats_System_PowerSaveMode struct {
XXX_unrecognized []byte `json:"-"`
}
func (*BatteryStats_System_PowerSaveMode) ProtoMessage ¶
func (*BatteryStats_System_PowerSaveMode) ProtoMessage()
func (*BatteryStats_System_PowerSaveMode) Reset ¶
func (m *BatteryStats_System_PowerSaveMode) Reset()
func (*BatteryStats_System_PowerSaveMode) String ¶
func (m *BatteryStats_System_PowerSaveMode) String() string
type BatteryStats_System_PowerSaveMode_Mode ¶
type BatteryStats_System_PowerSaveMode_Mode int32
const ( BatteryStats_System_PowerSaveMode_MIXED BatteryStats_System_PowerSaveMode_Mode = 0 BatteryStats_System_PowerSaveMode_ON BatteryStats_System_PowerSaveMode_Mode = 1 BatteryStats_System_PowerSaveMode_OFF BatteryStats_System_PowerSaveMode_Mode = 2 )
func (BatteryStats_System_PowerSaveMode_Mode) String ¶
func (x BatteryStats_System_PowerSaveMode_Mode) String() string
func (*BatteryStats_System_PowerSaveMode_Mode) UnmarshalJSON ¶
func (x *BatteryStats_System_PowerSaveMode_Mode) UnmarshalJSON(data []byte) error
type BatteryStats_System_PowerUseItem ¶
type BatteryStats_System_PowerUseItem struct { Name *BatteryStats_System_PowerUseItem_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_PowerUseItem_Name" json:"name,omitempty"` ComputedPowerMah *float32 `protobuf:"fixed32,2,opt,name=computed_power_mah" json:"computed_power_mah,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System_PowerUseItem) GetComputedPowerMah ¶
func (m *BatteryStats_System_PowerUseItem) GetComputedPowerMah() float32
func (*BatteryStats_System_PowerUseItem) GetName ¶
func (m *BatteryStats_System_PowerUseItem) GetName() BatteryStats_System_PowerUseItem_Name
func (*BatteryStats_System_PowerUseItem) ProtoMessage ¶
func (*BatteryStats_System_PowerUseItem) ProtoMessage()
func (*BatteryStats_System_PowerUseItem) Reset ¶
func (m *BatteryStats_System_PowerUseItem) Reset()
func (*BatteryStats_System_PowerUseItem) String ¶
func (m *BatteryStats_System_PowerUseItem) String() string
type BatteryStats_System_PowerUseItem_Name ¶
type BatteryStats_System_PowerUseItem_Name int32
const ( BatteryStats_System_PowerUseItem_IDLE BatteryStats_System_PowerUseItem_Name = 0 BatteryStats_System_PowerUseItem_CELL BatteryStats_System_PowerUseItem_Name = 1 BatteryStats_System_PowerUseItem_PHONE BatteryStats_System_PowerUseItem_Name = 2 BatteryStats_System_PowerUseItem_WIFI BatteryStats_System_PowerUseItem_Name = 3 BatteryStats_System_PowerUseItem_BLUETOOTH BatteryStats_System_PowerUseItem_Name = 4 BatteryStats_System_PowerUseItem_SCREEN BatteryStats_System_PowerUseItem_Name = 5 BatteryStats_System_PowerUseItem_APP BatteryStats_System_PowerUseItem_Name = 6 BatteryStats_System_PowerUseItem_USER BatteryStats_System_PowerUseItem_Name = 7 BatteryStats_System_PowerUseItem_UNACCOUNTED BatteryStats_System_PowerUseItem_Name = 8 BatteryStats_System_PowerUseItem_OVERCOUNTED BatteryStats_System_PowerUseItem_Name = 9 BatteryStats_System_PowerUseItem_DEFAULT BatteryStats_System_PowerUseItem_Name = 10 BatteryStats_System_PowerUseItem_FLASHLIGHT BatteryStats_System_PowerUseItem_Name = 11 )
func (BatteryStats_System_PowerUseItem_Name) String ¶
func (x BatteryStats_System_PowerUseItem_Name) String() string
func (*BatteryStats_System_PowerUseItem_Name) UnmarshalJSON ¶
func (x *BatteryStats_System_PowerUseItem_Name) UnmarshalJSON(data []byte) error
type BatteryStats_System_PowerUseSummary ¶
type BatteryStats_System_PowerUseSummary struct { BatteryCapacityMah *float32 `protobuf:"fixed32,1,opt,name=battery_capacity_mah" json:"battery_capacity_mah,omitempty"` ComputedPowerMah *float32 `protobuf:"fixed32,2,opt,name=computed_power_mah" json:"computed_power_mah,omitempty"` // Lower bound approximation. MinDrainedPowerMah *float32 `protobuf:"fixed32,3,opt,name=min_drained_power_mah" json:"min_drained_power_mah,omitempty"` MaxDrainedPowerMah *float32 `protobuf:"fixed32,4,opt,name=max_drained_power_mah" json:"max_drained_power_mah,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System_PowerUseSummary) GetBatteryCapacityMah ¶
func (m *BatteryStats_System_PowerUseSummary) GetBatteryCapacityMah() float32
func (*BatteryStats_System_PowerUseSummary) GetComputedPowerMah ¶
func (m *BatteryStats_System_PowerUseSummary) GetComputedPowerMah() float32
func (*BatteryStats_System_PowerUseSummary) GetMaxDrainedPowerMah ¶
func (m *BatteryStats_System_PowerUseSummary) GetMaxDrainedPowerMah() float32
func (*BatteryStats_System_PowerUseSummary) GetMinDrainedPowerMah ¶
func (m *BatteryStats_System_PowerUseSummary) GetMinDrainedPowerMah() float32
func (*BatteryStats_System_PowerUseSummary) ProtoMessage ¶
func (*BatteryStats_System_PowerUseSummary) ProtoMessage()
func (*BatteryStats_System_PowerUseSummary) Reset ¶
func (m *BatteryStats_System_PowerUseSummary) Reset()
func (*BatteryStats_System_PowerUseSummary) String ¶
func (m *BatteryStats_System_PowerUseSummary) String() string
type BatteryStats_System_ScreenBrightness ¶
type BatteryStats_System_ScreenBrightness struct { Name *BatteryStats_System_ScreenBrightness_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_ScreenBrightness_Name" json:"name,omitempty"` // Duration. TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System_ScreenBrightness) GetName ¶
func (m *BatteryStats_System_ScreenBrightness) GetName() BatteryStats_System_ScreenBrightness_Name
func (*BatteryStats_System_ScreenBrightness) GetTimeMsec ¶
func (m *BatteryStats_System_ScreenBrightness) GetTimeMsec() float32
func (*BatteryStats_System_ScreenBrightness) ProtoMessage ¶
func (*BatteryStats_System_ScreenBrightness) ProtoMessage()
func (*BatteryStats_System_ScreenBrightness) Reset ¶
func (m *BatteryStats_System_ScreenBrightness) Reset()
func (*BatteryStats_System_ScreenBrightness) String ¶
func (m *BatteryStats_System_ScreenBrightness) String() string
type BatteryStats_System_ScreenBrightness_Name ¶
type BatteryStats_System_ScreenBrightness_Name int32
const ( BatteryStats_System_ScreenBrightness_DARK BatteryStats_System_ScreenBrightness_Name = 0 BatteryStats_System_ScreenBrightness_DIM BatteryStats_System_ScreenBrightness_Name = 1 BatteryStats_System_ScreenBrightness_MEDIUM BatteryStats_System_ScreenBrightness_Name = 2 BatteryStats_System_ScreenBrightness_LIGHT BatteryStats_System_ScreenBrightness_Name = 3 BatteryStats_System_ScreenBrightness_BRIGHT BatteryStats_System_ScreenBrightness_Name = 4 )
func (BatteryStats_System_ScreenBrightness_Name) String ¶
func (x BatteryStats_System_ScreenBrightness_Name) String() string
func (*BatteryStats_System_ScreenBrightness_Name) UnmarshalJSON ¶
func (x *BatteryStats_System_ScreenBrightness_Name) UnmarshalJSON(data []byte) error
type BatteryStats_System_SignalScanningTime ¶
type BatteryStats_System_SignalScanningTime struct { // Duration trying to acquire a signal. TimeMsec *float32 `protobuf:"fixed32,1,opt,name=time_msec" json:"time_msec,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System_SignalScanningTime) GetTimeMsec ¶
func (m *BatteryStats_System_SignalScanningTime) GetTimeMsec() float32
func (*BatteryStats_System_SignalScanningTime) ProtoMessage ¶
func (*BatteryStats_System_SignalScanningTime) ProtoMessage()
func (*BatteryStats_System_SignalScanningTime) Reset ¶
func (m *BatteryStats_System_SignalScanningTime) Reset()
func (*BatteryStats_System_SignalScanningTime) String ¶
func (m *BatteryStats_System_SignalScanningTime) String() string
type BatteryStats_System_SignalStrength ¶
type BatteryStats_System_SignalStrength struct { Name *BatteryStats_System_SignalStrength_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_SignalStrength_Name" json:"name,omitempty"` // Duration running with the given signal strength. TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"` // #times entering the given signal strength. Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System_SignalStrength) GetCount ¶
func (m *BatteryStats_System_SignalStrength) GetCount() float32
func (*BatteryStats_System_SignalStrength) GetName ¶
func (m *BatteryStats_System_SignalStrength) GetName() BatteryStats_System_SignalStrength_Name
func (*BatteryStats_System_SignalStrength) GetTimeMsec ¶
func (m *BatteryStats_System_SignalStrength) GetTimeMsec() float32
func (*BatteryStats_System_SignalStrength) ProtoMessage ¶
func (*BatteryStats_System_SignalStrength) ProtoMessage()
func (*BatteryStats_System_SignalStrength) Reset ¶
func (m *BatteryStats_System_SignalStrength) Reset()
func (*BatteryStats_System_SignalStrength) String ¶
func (m *BatteryStats_System_SignalStrength) String() string
type BatteryStats_System_SignalStrength_Name ¶
type BatteryStats_System_SignalStrength_Name int32
const ( BatteryStats_System_SignalStrength_NONE_OR_UNKNOWN BatteryStats_System_SignalStrength_Name = 0 BatteryStats_System_SignalStrength_POOR BatteryStats_System_SignalStrength_Name = 1 BatteryStats_System_SignalStrength_MODERATE BatteryStats_System_SignalStrength_Name = 2 BatteryStats_System_SignalStrength_GOOD BatteryStats_System_SignalStrength_Name = 3 BatteryStats_System_SignalStrength_GREAT BatteryStats_System_SignalStrength_Name = 4 )
func (BatteryStats_System_SignalStrength_Name) String ¶
func (x BatteryStats_System_SignalStrength_Name) String() string
func (*BatteryStats_System_SignalStrength_Name) UnmarshalJSON ¶
func (x *BatteryStats_System_SignalStrength_Name) UnmarshalJSON(data []byte) error
type BatteryStats_System_WakeupReason ¶
type BatteryStats_System_WakeupReason struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"` Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
Similar to KernelWakelock.
func (*BatteryStats_System_WakeupReason) GetCount ¶
func (m *BatteryStats_System_WakeupReason) GetCount() float32
func (*BatteryStats_System_WakeupReason) GetName ¶
func (m *BatteryStats_System_WakeupReason) GetName() string
func (*BatteryStats_System_WakeupReason) GetTimeMsec ¶
func (m *BatteryStats_System_WakeupReason) GetTimeMsec() float32
func (*BatteryStats_System_WakeupReason) ProtoMessage ¶
func (*BatteryStats_System_WakeupReason) ProtoMessage()
func (*BatteryStats_System_WakeupReason) Reset ¶
func (m *BatteryStats_System_WakeupReason) Reset()
func (*BatteryStats_System_WakeupReason) String ¶
func (m *BatteryStats_System_WakeupReason) String() string
type BatteryStats_System_WifiSignalStrength ¶
type BatteryStats_System_WifiSignalStrength struct { Name *BatteryStats_System_WifiSignalStrength_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_WifiSignalStrength_Name" json:"name,omitempty"` TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"` Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
Similar to SignalStrength.
func (*BatteryStats_System_WifiSignalStrength) GetCount ¶
func (m *BatteryStats_System_WifiSignalStrength) GetCount() float32
func (*BatteryStats_System_WifiSignalStrength) GetName ¶
func (m *BatteryStats_System_WifiSignalStrength) GetName() BatteryStats_System_WifiSignalStrength_Name
func (*BatteryStats_System_WifiSignalStrength) GetTimeMsec ¶
func (m *BatteryStats_System_WifiSignalStrength) GetTimeMsec() float32
func (*BatteryStats_System_WifiSignalStrength) ProtoMessage ¶
func (*BatteryStats_System_WifiSignalStrength) ProtoMessage()
func (*BatteryStats_System_WifiSignalStrength) Reset ¶
func (m *BatteryStats_System_WifiSignalStrength) Reset()
func (*BatteryStats_System_WifiSignalStrength) String ¶
func (m *BatteryStats_System_WifiSignalStrength) String() string
type BatteryStats_System_WifiSignalStrength_Name ¶
type BatteryStats_System_WifiSignalStrength_Name int32
const ( BatteryStats_System_WifiSignalStrength_NONE BatteryStats_System_WifiSignalStrength_Name = 0 BatteryStats_System_WifiSignalStrength_POOR BatteryStats_System_WifiSignalStrength_Name = 1 BatteryStats_System_WifiSignalStrength_MODERATE BatteryStats_System_WifiSignalStrength_Name = 2 BatteryStats_System_WifiSignalStrength_GOOD BatteryStats_System_WifiSignalStrength_Name = 3 BatteryStats_System_WifiSignalStrength_GREAT BatteryStats_System_WifiSignalStrength_Name = 4 )
func (BatteryStats_System_WifiSignalStrength_Name) String ¶
func (x BatteryStats_System_WifiSignalStrength_Name) String() string
func (*BatteryStats_System_WifiSignalStrength_Name) UnmarshalJSON ¶
func (x *BatteryStats_System_WifiSignalStrength_Name) UnmarshalJSON(data []byte) error
type BatteryStats_System_WifiState ¶
type BatteryStats_System_WifiState struct { Name *BatteryStats_System_WifiState_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_WifiState_Name" json:"name,omitempty"` TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"` Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
Similar to WifiSupplicantState.
func (*BatteryStats_System_WifiState) GetCount ¶
func (m *BatteryStats_System_WifiState) GetCount() float32
func (*BatteryStats_System_WifiState) GetName ¶
func (m *BatteryStats_System_WifiState) GetName() BatteryStats_System_WifiState_Name
func (*BatteryStats_System_WifiState) GetTimeMsec ¶
func (m *BatteryStats_System_WifiState) GetTimeMsec() float32
func (*BatteryStats_System_WifiState) ProtoMessage ¶
func (*BatteryStats_System_WifiState) ProtoMessage()
func (*BatteryStats_System_WifiState) Reset ¶
func (m *BatteryStats_System_WifiState) Reset()
func (*BatteryStats_System_WifiState) String ¶
func (m *BatteryStats_System_WifiState) String() string
type BatteryStats_System_WifiState_Name ¶
type BatteryStats_System_WifiState_Name int32
const ( BatteryStats_System_WifiState_OFF BatteryStats_System_WifiState_Name = 0 BatteryStats_System_WifiState_OFF_SCANNING BatteryStats_System_WifiState_Name = 1 BatteryStats_System_WifiState_ON_NO_NETWORKS BatteryStats_System_WifiState_Name = 2 BatteryStats_System_WifiState_ON_DISCONNECTED BatteryStats_System_WifiState_Name = 3 BatteryStats_System_WifiState_ON_CONNECTED_STA BatteryStats_System_WifiState_Name = 4 BatteryStats_System_WifiState_ON_CONNECTED_P2P BatteryStats_System_WifiState_Name = 5 BatteryStats_System_WifiState_ON_CONNECTED_STA_P2P BatteryStats_System_WifiState_Name = 6 BatteryStats_System_WifiState_SOFT_AP BatteryStats_System_WifiState_Name = 7 )
func (BatteryStats_System_WifiState_Name) Enum ¶
func (x BatteryStats_System_WifiState_Name) Enum() *BatteryStats_System_WifiState_Name
func (BatteryStats_System_WifiState_Name) String ¶
func (x BatteryStats_System_WifiState_Name) String() string
func (*BatteryStats_System_WifiState_Name) UnmarshalJSON ¶
func (x *BatteryStats_System_WifiState_Name) UnmarshalJSON(data []byte) error
type BatteryStats_System_WifiSupplicantState ¶
type BatteryStats_System_WifiSupplicantState struct { Name *BatteryStats_System_WifiSupplicantState_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_WifiSupplicantState_Name" json:"name,omitempty"` TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"` Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BatteryStats_System_WifiSupplicantState) GetCount ¶
func (m *BatteryStats_System_WifiSupplicantState) GetCount() float32
func (*BatteryStats_System_WifiSupplicantState) GetName ¶
func (m *BatteryStats_System_WifiSupplicantState) GetName() BatteryStats_System_WifiSupplicantState_Name
func (*BatteryStats_System_WifiSupplicantState) GetTimeMsec ¶
func (m *BatteryStats_System_WifiSupplicantState) GetTimeMsec() float32
func (*BatteryStats_System_WifiSupplicantState) ProtoMessage ¶
func (*BatteryStats_System_WifiSupplicantState) ProtoMessage()
func (*BatteryStats_System_WifiSupplicantState) Reset ¶
func (m *BatteryStats_System_WifiSupplicantState) Reset()
func (*BatteryStats_System_WifiSupplicantState) String ¶
func (m *BatteryStats_System_WifiSupplicantState) String() string
type BatteryStats_System_WifiSupplicantState_Name ¶
type BatteryStats_System_WifiSupplicantState_Name int32
const ( BatteryStats_System_WifiSupplicantState_INVALID BatteryStats_System_WifiSupplicantState_Name = 0 BatteryStats_System_WifiSupplicantState_DISCONNECTED BatteryStats_System_WifiSupplicantState_Name = 1 BatteryStats_System_WifiSupplicantState_INTERFACE_DISABLED BatteryStats_System_WifiSupplicantState_Name = 2 BatteryStats_System_WifiSupplicantState_INACTIVE BatteryStats_System_WifiSupplicantState_Name = 3 BatteryStats_System_WifiSupplicantState_SCANNING BatteryStats_System_WifiSupplicantState_Name = 4 BatteryStats_System_WifiSupplicantState_AUTHENTICATING BatteryStats_System_WifiSupplicantState_Name = 5 BatteryStats_System_WifiSupplicantState_ASSOCIATING BatteryStats_System_WifiSupplicantState_Name = 6 BatteryStats_System_WifiSupplicantState_ASSOCIATED BatteryStats_System_WifiSupplicantState_Name = 7 BatteryStats_System_WifiSupplicantState_FOUR_WAY_HANDSHAKE BatteryStats_System_WifiSupplicantState_Name = 8 BatteryStats_System_WifiSupplicantState_GROUP_HANDSHAKE BatteryStats_System_WifiSupplicantState_Name = 9 BatteryStats_System_WifiSupplicantState_COMPLETED BatteryStats_System_WifiSupplicantState_Name = 10 BatteryStats_System_WifiSupplicantState_DORMANT BatteryStats_System_WifiSupplicantState_Name = 11 BatteryStats_System_WifiSupplicantState_UNINITIALIZED BatteryStats_System_WifiSupplicantState_Name = 12 )
func (BatteryStats_System_WifiSupplicantState_Name) String ¶
func (x BatteryStats_System_WifiSupplicantState_Name) String() string
func (*BatteryStats_System_WifiSupplicantState_Name) UnmarshalJSON ¶
func (x *BatteryStats_System_WifiSupplicantState_Name) UnmarshalJSON(data []byte) error