Documentation
¶
Index ¶
- type ConfigurationStatsClient
- func (c *ConfigurationStatsClient) DescribeContents(ctx context.Context, handle int64) (int32, error)
- func (c *ConfigurationStatsClient) GetActivationCount(ctx context.Context, handle int64) (int32, error)
- func (c *ConfigurationStatsClient) GetConfiguration(ctx context.Context, handle int64) (int64, error)
- func (c *ConfigurationStatsClient) GetFirstTimeStamp(ctx context.Context, handle int64) (int64, error)
- func (c *ConfigurationStatsClient) GetLastTimeActive(ctx context.Context, handle int64) (int64, error)
- func (c *ConfigurationStatsClient) GetLastTimeStamp(ctx context.Context, handle int64) (int64, error)
- func (c *ConfigurationStatsClient) GetTotalTimeActive(ctx context.Context, handle int64) (int64, error)
- func (c *ConfigurationStatsClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error
- type EventStatsClient
- func (c *EventStatsClient) Add(ctx context.Context, handle int64, arg0 int64) error
- func (c *EventStatsClient) DescribeContents(ctx context.Context, handle int64) (int32, error)
- func (c *EventStatsClient) GetCount(ctx context.Context, handle int64) (int32, error)
- func (c *EventStatsClient) GetEventType(ctx context.Context, handle int64) (int32, error)
- func (c *EventStatsClient) GetFirstTimeStamp(ctx context.Context, handle int64) (int64, error)
- func (c *EventStatsClient) GetLastEventTime(ctx context.Context, handle int64) (int64, error)
- func (c *EventStatsClient) GetLastTimeStamp(ctx context.Context, handle int64) (int64, error)
- func (c *EventStatsClient) GetTotalTime(ctx context.Context, handle int64) (int64, error)
- func (c *EventStatsClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error
- type EventsClient
- func (c *EventsClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *EventsClient) GetNextEvent(ctx context.Context, arg0 int64) (bool, error)
- func (c *EventsClient) HasNextEvent(ctx context.Context) (bool, error)
- func (c *EventsClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type EventsEventClient
- func (c *EventsEventClient) GetAppStandbyBucket(ctx context.Context) (int32, error)
- func (c *EventsEventClient) GetClassName(ctx context.Context) (string, error)
- func (c *EventsEventClient) GetConfiguration(ctx context.Context) (int64, error)
- func (c *EventsEventClient) GetEventType(ctx context.Context) (int32, error)
- func (c *EventsEventClient) GetExtras(ctx context.Context) (int64, error)
- func (c *EventsEventClient) GetPackageName(ctx context.Context) (string, error)
- func (c *EventsEventClient) GetShortcutId(ctx context.Context) (string, error)
- func (c *EventsEventClient) GetTimeStamp(ctx context.Context) (int64, error)
- type EventsQueryBuilderClient
- type EventsQueryClient
- func (c *EventsQueryClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *EventsQueryClient) GetBeginTimeMillis(ctx context.Context) (int64, error)
- func (c *EventsQueryClient) GetEndTimeMillis(ctx context.Context) (int64, error)
- func (c *EventsQueryClient) GetEventTypes(ctx context.Context) (int64, error)
- func (c *EventsQueryClient) GetPackageNames(ctx context.Context) (int64, error)
- func (c *EventsQueryClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type ExternalStorageStatsClient
- func (c *ExternalStorageStatsClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *ExternalStorageStatsClient) GetAppBytes(ctx context.Context) (int64, error)
- func (c *ExternalStorageStatsClient) GetAudioBytes(ctx context.Context) (int64, error)
- func (c *ExternalStorageStatsClient) GetImageBytes(ctx context.Context) (int64, error)
- func (c *ExternalStorageStatsClient) GetTotalBytes(ctx context.Context) (int64, error)
- func (c *ExternalStorageStatsClient) GetVideoBytes(ctx context.Context) (int64, error)
- func (c *ExternalStorageStatsClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type NetworkStatsBucketClient
- func (c *NetworkStatsBucketClient) GetDefaultNetworkStatus(ctx context.Context) (int32, error)
- func (c *NetworkStatsBucketClient) GetEndTimeStamp(ctx context.Context) (int64, error)
- func (c *NetworkStatsBucketClient) GetMetered(ctx context.Context) (int32, error)
- func (c *NetworkStatsBucketClient) GetRoaming(ctx context.Context) (int32, error)
- func (c *NetworkStatsBucketClient) GetRxBytes(ctx context.Context) (int64, error)
- func (c *NetworkStatsBucketClient) GetRxPackets(ctx context.Context) (int64, error)
- func (c *NetworkStatsBucketClient) GetStartTimeStamp(ctx context.Context) (int64, error)
- func (c *NetworkStatsBucketClient) GetState(ctx context.Context) (int32, error)
- func (c *NetworkStatsBucketClient) GetTag(ctx context.Context) (int32, error)
- func (c *NetworkStatsBucketClient) GetTxBytes(ctx context.Context) (int64, error)
- func (c *NetworkStatsBucketClient) GetTxPackets(ctx context.Context) (int64, error)
- func (c *NetworkStatsBucketClient) GetUid(ctx context.Context) (int32, error)
- type NetworkStatsClient
- type NetworkStatsManagerClient
- func (c *NetworkStatsManagerClient) QueryDetails(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64) (int64, error)
- func (c *NetworkStatsManagerClient) QueryDetailsForUid(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64, ...) (int64, error)
- func (c *NetworkStatsManagerClient) QueryDetailsForUidTag(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64, ...) (int64, error)
- func (c *NetworkStatsManagerClient) QueryDetailsForUidTagState(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64, ...) (int64, error)
- func (c *NetworkStatsManagerClient) QuerySummary(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64) (int64, error)
- func (c *NetworkStatsManagerClient) QuerySummaryForDevice(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64) (int64, error)
- func (c *NetworkStatsManagerClient) QuerySummaryForUser(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64) (int64, error)
- func (c *NetworkStatsManagerClient) RegisterUsageCallback(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64) error
- func (c *NetworkStatsManagerClient) UnregisterUsageCallback(ctx context.Context, arg0 int64) error
- type NetworkStatsManagerUsageCallbackClient
- type StatsClient
- func (c *StatsClient) Add(ctx context.Context, handle int64, arg0 int64) error
- func (c *StatsClient) DescribeContents(ctx context.Context, handle int64) (int32, error)
- func (c *StatsClient) GetFirstTimeStamp(ctx context.Context, handle int64) (int64, error)
- func (c *StatsClient) GetLastTimeForegroundServiceUsed(ctx context.Context, handle int64) (int64, error)
- func (c *StatsClient) GetLastTimeStamp(ctx context.Context, handle int64) (int64, error)
- func (c *StatsClient) GetLastTimeUsed(ctx context.Context, handle int64) (int64, error)
- func (c *StatsClient) GetLastTimeVisible(ctx context.Context, handle int64) (int64, error)
- func (c *StatsClient) GetPackageName(ctx context.Context, handle int64) (string, error)
- func (c *StatsClient) GetTotalTimeForegroundServiceUsed(ctx context.Context, handle int64) (int64, error)
- func (c *StatsClient) GetTotalTimeInForeground(ctx context.Context, handle int64) (int64, error)
- func (c *StatsClient) GetTotalTimeVisible(ctx context.Context, handle int64) (int64, error)
- func (c *StatsClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error
- type StatsManagerClient
- func (c *StatsManagerClient) GetAppStandbyBucket(ctx context.Context) (int32, error)
- func (c *StatsManagerClient) IsAppInactive(ctx context.Context, arg0 string) (bool, error)
- func (c *StatsManagerClient) QueryConfigurations(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) (int64, error)
- func (c *StatsManagerClient) QueryEventStats(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) (int64, error)
- func (c *StatsManagerClient) QueryEvents1(ctx context.Context, arg0 int64) (int64, error)
- func (c *StatsManagerClient) QueryEvents2_1(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
- func (c *StatsManagerClient) QueryEventsForSelf(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
- func (c *StatsManagerClient) QueryUsageStats(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) (int64, error)
- type StorageStatsClient
- func (c *StorageStatsClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *StorageStatsClient) GetAppBytes(ctx context.Context) (int64, error)
- func (c *StorageStatsClient) GetAppBytesByDataType(ctx context.Context, arg0 int32) (int64, error)
- func (c *StorageStatsClient) GetCacheBytes(ctx context.Context) (int64, error)
- func (c *StorageStatsClient) GetDataBytes(ctx context.Context) (int64, error)
- func (c *StorageStatsClient) GetExternalCacheBytes(ctx context.Context) (int64, error)
- func (c *StorageStatsClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type StorageStatsManagerClient
- func (c *StorageStatsManagerClient) GetFreeBytes(ctx context.Context, arg0 int64) (int64, error)
- func (c *StorageStatsManagerClient) GetTotalBytes(ctx context.Context, arg0 int64) (int64, error)
- func (c *StorageStatsManagerClient) QueryExternalStatsForUser(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
- func (c *StorageStatsManagerClient) QueryStatsForPackage(ctx context.Context, arg0 int64, arg1 string, arg2 int64) (int64, error)
- func (c *StorageStatsManagerClient) QueryStatsForUid(ctx context.Context, arg0 int64, arg1 int32) (int64, error)
- func (c *StorageStatsManagerClient) QueryStatsForUser(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationStatsClient ¶ added in v0.0.6
type ConfigurationStatsClient struct {
// contains filtered or unexported fields
}
ConfigurationStatsClient wraps the gRPC ConfigurationStatsService client.
func NewConfigurationStatsClient ¶ added in v0.0.6
func NewConfigurationStatsClient(cc grpc.ClientConnInterface) *ConfigurationStatsClient
NewConfigurationStatsClient creates a new ConfigurationStats client.
func (*ConfigurationStatsClient) DescribeContents ¶ added in v0.0.6
func (c *ConfigurationStatsClient) DescribeContents(ctx context.Context, handle int64) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*ConfigurationStatsClient) GetActivationCount ¶ added in v0.0.6
func (c *ConfigurationStatsClient) GetActivationCount(ctx context.Context, handle int64) (int32, error)
GetActivationCount calls the GetActivationCount RPC.
func (*ConfigurationStatsClient) GetConfiguration ¶ added in v0.0.6
func (c *ConfigurationStatsClient) GetConfiguration(ctx context.Context, handle int64) (int64, error)
GetConfiguration calls the GetConfiguration RPC.
func (*ConfigurationStatsClient) GetFirstTimeStamp ¶ added in v0.0.6
func (c *ConfigurationStatsClient) GetFirstTimeStamp(ctx context.Context, handle int64) (int64, error)
GetFirstTimeStamp calls the GetFirstTimeStamp RPC.
func (*ConfigurationStatsClient) GetLastTimeActive ¶ added in v0.0.6
func (c *ConfigurationStatsClient) GetLastTimeActive(ctx context.Context, handle int64) (int64, error)
GetLastTimeActive calls the GetLastTimeActive RPC.
func (*ConfigurationStatsClient) GetLastTimeStamp ¶ added in v0.0.6
func (c *ConfigurationStatsClient) GetLastTimeStamp(ctx context.Context, handle int64) (int64, error)
GetLastTimeStamp calls the GetLastTimeStamp RPC.
func (*ConfigurationStatsClient) GetTotalTimeActive ¶ added in v0.0.6
func (c *ConfigurationStatsClient) GetTotalTimeActive(ctx context.Context, handle int64) (int64, error)
GetTotalTimeActive calls the GetTotalTimeActive RPC.
func (*ConfigurationStatsClient) WriteToParcel ¶ added in v0.0.6
func (c *ConfigurationStatsClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error
WriteToParcel calls the WriteToParcel RPC.
type EventStatsClient ¶ added in v0.0.6
type EventStatsClient struct {
// contains filtered or unexported fields
}
EventStatsClient wraps the gRPC EventStatsService client.
func NewEventStatsClient ¶ added in v0.0.6
func NewEventStatsClient(cc grpc.ClientConnInterface) *EventStatsClient
NewEventStatsClient creates a new EventStats client.
func (*EventStatsClient) DescribeContents ¶ added in v0.0.6
DescribeContents calls the DescribeContents RPC.
func (*EventStatsClient) GetEventType ¶ added in v0.0.6
GetEventType calls the GetEventType RPC.
func (*EventStatsClient) GetFirstTimeStamp ¶ added in v0.0.6
GetFirstTimeStamp calls the GetFirstTimeStamp RPC.
func (*EventStatsClient) GetLastEventTime ¶ added in v0.0.6
GetLastEventTime calls the GetLastEventTime RPC.
func (*EventStatsClient) GetLastTimeStamp ¶ added in v0.0.6
GetLastTimeStamp calls the GetLastTimeStamp RPC.
func (*EventStatsClient) GetTotalTime ¶ added in v0.0.6
GetTotalTime calls the GetTotalTime RPC.
func (*EventStatsClient) WriteToParcel ¶ added in v0.0.6
func (c *EventStatsClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error
WriteToParcel calls the WriteToParcel RPC.
type EventsClient ¶ added in v0.0.6
type EventsClient struct {
// contains filtered or unexported fields
}
EventsClient wraps the gRPC EventsService client.
func NewEventsClient ¶ added in v0.0.6
func NewEventsClient(cc grpc.ClientConnInterface) *EventsClient
NewEventsClient creates a new Events client.
func (*EventsClient) DescribeContents ¶ added in v0.0.6
func (c *EventsClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*EventsClient) GetNextEvent ¶ added in v0.0.6
GetNextEvent calls the GetNextEvent RPC.
func (*EventsClient) HasNextEvent ¶ added in v0.0.6
func (c *EventsClient) HasNextEvent(ctx context.Context) (bool, error)
HasNextEvent calls the HasNextEvent RPC.
func (*EventsClient) WriteToParcel ¶ added in v0.0.6
WriteToParcel calls the WriteToParcel RPC.
type EventsEventClient ¶ added in v0.0.6
type EventsEventClient struct {
// contains filtered or unexported fields
}
EventsEventClient wraps the gRPC EventsEventService client.
func NewEventsEventClient ¶ added in v0.0.6
func NewEventsEventClient(cc grpc.ClientConnInterface) *EventsEventClient
NewEventsEventClient creates a new EventsEvent client.
func (*EventsEventClient) GetAppStandbyBucket ¶ added in v0.0.6
func (c *EventsEventClient) GetAppStandbyBucket(ctx context.Context) (int32, error)
GetAppStandbyBucket calls the GetAppStandbyBucket RPC.
func (*EventsEventClient) GetClassName ¶ added in v0.0.6
func (c *EventsEventClient) GetClassName(ctx context.Context) (string, error)
GetClassName calls the GetClassName RPC.
func (*EventsEventClient) GetConfiguration ¶ added in v0.0.6
func (c *EventsEventClient) GetConfiguration(ctx context.Context) (int64, error)
GetConfiguration calls the GetConfiguration RPC.
func (*EventsEventClient) GetEventType ¶ added in v0.0.6
func (c *EventsEventClient) GetEventType(ctx context.Context) (int32, error)
GetEventType calls the GetEventType RPC.
func (*EventsEventClient) GetExtras ¶ added in v0.0.6
func (c *EventsEventClient) GetExtras(ctx context.Context) (int64, error)
GetExtras calls the GetExtras RPC.
func (*EventsEventClient) GetPackageName ¶ added in v0.0.6
func (c *EventsEventClient) GetPackageName(ctx context.Context) (string, error)
GetPackageName calls the GetPackageName RPC.
func (*EventsEventClient) GetShortcutId ¶ added in v0.0.6
func (c *EventsEventClient) GetShortcutId(ctx context.Context) (string, error)
GetShortcutId calls the GetShortcutId RPC.
func (*EventsEventClient) GetTimeStamp ¶ added in v0.0.6
func (c *EventsEventClient) GetTimeStamp(ctx context.Context) (int64, error)
GetTimeStamp calls the GetTimeStamp RPC.
type EventsQueryBuilderClient ¶ added in v0.0.6
type EventsQueryBuilderClient struct {
// contains filtered or unexported fields
}
EventsQueryBuilderClient wraps the gRPC EventsQueryBuilderService client.
func NewEventsQueryBuilderClient ¶ added in v0.0.6
func NewEventsQueryBuilderClient(cc grpc.ClientConnInterface) *EventsQueryBuilderClient
NewEventsQueryBuilderClient creates a new EventsQueryBuilder client.
func (*EventsQueryBuilderClient) Build ¶ added in v0.0.6
func (c *EventsQueryBuilderClient) Build(ctx context.Context) (int64, error)
Build calls the Build RPC.
func (*EventsQueryBuilderClient) SetEventTypes ¶ added in v0.0.6
SetEventTypes calls the SetEventTypes RPC.
func (*EventsQueryBuilderClient) SetPackageNames ¶ added in v0.0.6
SetPackageNames calls the SetPackageNames RPC.
type EventsQueryClient ¶ added in v0.0.6
type EventsQueryClient struct {
// contains filtered or unexported fields
}
EventsQueryClient wraps the gRPC EventsQueryService client.
func NewEventsQueryClient ¶ added in v0.0.6
func NewEventsQueryClient(cc grpc.ClientConnInterface) *EventsQueryClient
NewEventsQueryClient creates a new EventsQuery client.
func (*EventsQueryClient) DescribeContents ¶ added in v0.0.6
func (c *EventsQueryClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*EventsQueryClient) GetBeginTimeMillis ¶ added in v0.0.6
func (c *EventsQueryClient) GetBeginTimeMillis(ctx context.Context) (int64, error)
GetBeginTimeMillis calls the GetBeginTimeMillis RPC.
func (*EventsQueryClient) GetEndTimeMillis ¶ added in v0.0.6
func (c *EventsQueryClient) GetEndTimeMillis(ctx context.Context) (int64, error)
GetEndTimeMillis calls the GetEndTimeMillis RPC.
func (*EventsQueryClient) GetEventTypes ¶ added in v0.0.6
func (c *EventsQueryClient) GetEventTypes(ctx context.Context) (int64, error)
GetEventTypes calls the GetEventTypes RPC.
func (*EventsQueryClient) GetPackageNames ¶ added in v0.0.6
func (c *EventsQueryClient) GetPackageNames(ctx context.Context) (int64, error)
GetPackageNames calls the GetPackageNames RPC.
func (*EventsQueryClient) WriteToParcel ¶ added in v0.0.6
WriteToParcel calls the WriteToParcel RPC.
type ExternalStorageStatsClient ¶ added in v0.0.6
type ExternalStorageStatsClient struct {
// contains filtered or unexported fields
}
ExternalStorageStatsClient wraps the gRPC ExternalStorageStatsService client.
func NewExternalStorageStatsClient ¶ added in v0.0.6
func NewExternalStorageStatsClient(cc grpc.ClientConnInterface) *ExternalStorageStatsClient
NewExternalStorageStatsClient creates a new ExternalStorageStats client.
func (*ExternalStorageStatsClient) DescribeContents ¶ added in v0.0.6
func (c *ExternalStorageStatsClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*ExternalStorageStatsClient) GetAppBytes ¶ added in v0.0.6
func (c *ExternalStorageStatsClient) GetAppBytes(ctx context.Context) (int64, error)
GetAppBytes calls the GetAppBytes RPC.
func (*ExternalStorageStatsClient) GetAudioBytes ¶ added in v0.0.6
func (c *ExternalStorageStatsClient) GetAudioBytes(ctx context.Context) (int64, error)
GetAudioBytes calls the GetAudioBytes RPC.
func (*ExternalStorageStatsClient) GetImageBytes ¶ added in v0.0.6
func (c *ExternalStorageStatsClient) GetImageBytes(ctx context.Context) (int64, error)
GetImageBytes calls the GetImageBytes RPC.
func (*ExternalStorageStatsClient) GetTotalBytes ¶ added in v0.0.6
func (c *ExternalStorageStatsClient) GetTotalBytes(ctx context.Context) (int64, error)
GetTotalBytes calls the GetTotalBytes RPC.
func (*ExternalStorageStatsClient) GetVideoBytes ¶ added in v0.0.6
func (c *ExternalStorageStatsClient) GetVideoBytes(ctx context.Context) (int64, error)
GetVideoBytes calls the GetVideoBytes RPC.
func (*ExternalStorageStatsClient) WriteToParcel ¶ added in v0.0.6
func (c *ExternalStorageStatsClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
WriteToParcel calls the WriteToParcel RPC.
type NetworkStatsBucketClient ¶ added in v0.0.6
type NetworkStatsBucketClient struct {
// contains filtered or unexported fields
}
NetworkStatsBucketClient wraps the gRPC NetworkStatsBucketService client.
func NewNetworkStatsBucketClient ¶ added in v0.0.6
func NewNetworkStatsBucketClient(cc grpc.ClientConnInterface) *NetworkStatsBucketClient
NewNetworkStatsBucketClient creates a new NetworkStatsBucket client.
func (*NetworkStatsBucketClient) GetDefaultNetworkStatus ¶ added in v0.0.6
func (c *NetworkStatsBucketClient) GetDefaultNetworkStatus(ctx context.Context) (int32, error)
GetDefaultNetworkStatus calls the GetDefaultNetworkStatus RPC.
func (*NetworkStatsBucketClient) GetEndTimeStamp ¶ added in v0.0.6
func (c *NetworkStatsBucketClient) GetEndTimeStamp(ctx context.Context) (int64, error)
GetEndTimeStamp calls the GetEndTimeStamp RPC.
func (*NetworkStatsBucketClient) GetMetered ¶ added in v0.0.6
func (c *NetworkStatsBucketClient) GetMetered(ctx context.Context) (int32, error)
GetMetered calls the GetMetered RPC.
func (*NetworkStatsBucketClient) GetRoaming ¶ added in v0.0.6
func (c *NetworkStatsBucketClient) GetRoaming(ctx context.Context) (int32, error)
GetRoaming calls the GetRoaming RPC.
func (*NetworkStatsBucketClient) GetRxBytes ¶ added in v0.0.6
func (c *NetworkStatsBucketClient) GetRxBytes(ctx context.Context) (int64, error)
GetRxBytes calls the GetRxBytes RPC.
func (*NetworkStatsBucketClient) GetRxPackets ¶ added in v0.0.6
func (c *NetworkStatsBucketClient) GetRxPackets(ctx context.Context) (int64, error)
GetRxPackets calls the GetRxPackets RPC.
func (*NetworkStatsBucketClient) GetStartTimeStamp ¶ added in v0.0.6
func (c *NetworkStatsBucketClient) GetStartTimeStamp(ctx context.Context) (int64, error)
GetStartTimeStamp calls the GetStartTimeStamp RPC.
func (*NetworkStatsBucketClient) GetState ¶ added in v0.0.6
func (c *NetworkStatsBucketClient) GetState(ctx context.Context) (int32, error)
GetState calls the GetState RPC.
func (*NetworkStatsBucketClient) GetTag ¶ added in v0.0.6
func (c *NetworkStatsBucketClient) GetTag(ctx context.Context) (int32, error)
GetTag calls the GetTag RPC.
func (*NetworkStatsBucketClient) GetTxBytes ¶ added in v0.0.6
func (c *NetworkStatsBucketClient) GetTxBytes(ctx context.Context) (int64, error)
GetTxBytes calls the GetTxBytes RPC.
func (*NetworkStatsBucketClient) GetTxPackets ¶ added in v0.0.6
func (c *NetworkStatsBucketClient) GetTxPackets(ctx context.Context) (int64, error)
GetTxPackets calls the GetTxPackets RPC.
type NetworkStatsClient ¶ added in v0.0.6
type NetworkStatsClient struct {
// contains filtered or unexported fields
}
NetworkStatsClient wraps the gRPC NetworkStatsService client.
func NewNetworkStatsClient ¶ added in v0.0.6
func NewNetworkStatsClient(cc grpc.ClientConnInterface) *NetworkStatsClient
NewNetworkStatsClient creates a new NetworkStats client.
func (*NetworkStatsClient) Close ¶ added in v0.0.6
func (c *NetworkStatsClient) Close(ctx context.Context) error
Close calls the Close RPC.
func (*NetworkStatsClient) GetNextBucket ¶ added in v0.0.6
GetNextBucket calls the GetNextBucket RPC.
func (*NetworkStatsClient) HasNextBucket ¶ added in v0.0.6
func (c *NetworkStatsClient) HasNextBucket(ctx context.Context) (bool, error)
HasNextBucket calls the HasNextBucket RPC.
type NetworkStatsManagerClient ¶ added in v0.0.6
type NetworkStatsManagerClient struct {
// contains filtered or unexported fields
}
NetworkStatsManagerClient wraps the gRPC NetworkStatsManagerService client.
func NewNetworkStatsManagerClient ¶ added in v0.0.6
func NewNetworkStatsManagerClient(cc grpc.ClientConnInterface) *NetworkStatsManagerClient
NewNetworkStatsManagerClient creates a new NetworkStatsManager client.
func (*NetworkStatsManagerClient) QueryDetails ¶ added in v0.0.6
func (c *NetworkStatsManagerClient) QueryDetails(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64) (int64, error)
QueryDetails calls the QueryDetails RPC.
func (*NetworkStatsManagerClient) QueryDetailsForUid ¶ added in v0.0.6
func (c *NetworkStatsManagerClient) QueryDetailsForUid(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64, arg4 int32) (int64, error)
QueryDetailsForUid calls the QueryDetailsForUid RPC.
func (*NetworkStatsManagerClient) QueryDetailsForUidTag ¶ added in v0.0.6
func (c *NetworkStatsManagerClient) QueryDetailsForUidTag(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64, arg4 int32, arg5 int32) (int64, error)
QueryDetailsForUidTag calls the QueryDetailsForUidTag RPC.
func (*NetworkStatsManagerClient) QueryDetailsForUidTagState ¶ added in v0.0.6
func (c *NetworkStatsManagerClient) QueryDetailsForUidTagState(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64, arg4 int32, arg5 int32, arg6 int32) (int64, error)
QueryDetailsForUidTagState calls the QueryDetailsForUidTagState RPC.
func (*NetworkStatsManagerClient) QuerySummary ¶ added in v0.0.6
func (c *NetworkStatsManagerClient) QuerySummary(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64) (int64, error)
QuerySummary calls the QuerySummary RPC.
func (*NetworkStatsManagerClient) QuerySummaryForDevice ¶ added in v0.0.6
func (c *NetworkStatsManagerClient) QuerySummaryForDevice(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64) (int64, error)
QuerySummaryForDevice calls the QuerySummaryForDevice RPC.
func (*NetworkStatsManagerClient) QuerySummaryForUser ¶ added in v0.0.6
func (c *NetworkStatsManagerClient) QuerySummaryForUser(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64) (int64, error)
QuerySummaryForUser calls the QuerySummaryForUser RPC.
func (*NetworkStatsManagerClient) RegisterUsageCallback ¶ added in v0.0.6
func (c *NetworkStatsManagerClient) RegisterUsageCallback(ctx context.Context, arg0 int32, arg1 string, arg2 int64, arg3 int64) error
RegisterUsageCallback calls the RegisterUsageCallback RPC.
func (*NetworkStatsManagerClient) UnregisterUsageCallback ¶ added in v0.0.6
func (c *NetworkStatsManagerClient) UnregisterUsageCallback(ctx context.Context, arg0 int64) error
UnregisterUsageCallback calls the UnregisterUsageCallback RPC.
type NetworkStatsManagerUsageCallbackClient ¶ added in v0.0.6
type NetworkStatsManagerUsageCallbackClient struct {
// contains filtered or unexported fields
}
NetworkStatsManagerUsageCallbackClient wraps the gRPC NetworkStatsManagerUsageCallbackService client.
func NewNetworkStatsManagerUsageCallbackClient ¶ added in v0.0.6
func NewNetworkStatsManagerUsageCallbackClient(cc grpc.ClientConnInterface) *NetworkStatsManagerUsageCallbackClient
NewNetworkStatsManagerUsageCallbackClient creates a new NetworkStatsManagerUsageCallback client.
func (*NetworkStatsManagerUsageCallbackClient) OnThresholdReached ¶ added in v0.0.6
func (c *NetworkStatsManagerUsageCallbackClient) OnThresholdReached(ctx context.Context, arg0 int32, arg1 string) error
OnThresholdReached calls the OnThresholdReached RPC.
type StatsClient ¶ added in v0.0.6
type StatsClient struct {
// contains filtered or unexported fields
}
StatsClient wraps the gRPC StatsService client.
func NewStatsClient ¶ added in v0.0.6
func NewStatsClient(cc grpc.ClientConnInterface) *StatsClient
NewStatsClient creates a new Stats client.
func (*StatsClient) DescribeContents ¶ added in v0.0.6
DescribeContents calls the DescribeContents RPC.
func (*StatsClient) GetFirstTimeStamp ¶ added in v0.0.6
GetFirstTimeStamp calls the GetFirstTimeStamp RPC.
func (*StatsClient) GetLastTimeForegroundServiceUsed ¶ added in v0.0.6
func (c *StatsClient) GetLastTimeForegroundServiceUsed(ctx context.Context, handle int64) (int64, error)
GetLastTimeForegroundServiceUsed calls the GetLastTimeForegroundServiceUsed RPC.
func (*StatsClient) GetLastTimeStamp ¶ added in v0.0.6
GetLastTimeStamp calls the GetLastTimeStamp RPC.
func (*StatsClient) GetLastTimeUsed ¶ added in v0.0.6
GetLastTimeUsed calls the GetLastTimeUsed RPC.
func (*StatsClient) GetLastTimeVisible ¶ added in v0.0.6
GetLastTimeVisible calls the GetLastTimeVisible RPC.
func (*StatsClient) GetPackageName ¶ added in v0.0.6
GetPackageName calls the GetPackageName RPC.
func (*StatsClient) GetTotalTimeForegroundServiceUsed ¶ added in v0.0.6
func (c *StatsClient) GetTotalTimeForegroundServiceUsed(ctx context.Context, handle int64) (int64, error)
GetTotalTimeForegroundServiceUsed calls the GetTotalTimeForegroundServiceUsed RPC.
func (*StatsClient) GetTotalTimeInForeground ¶ added in v0.0.6
GetTotalTimeInForeground calls the GetTotalTimeInForeground RPC.
func (*StatsClient) GetTotalTimeVisible ¶ added in v0.0.6
GetTotalTimeVisible calls the GetTotalTimeVisible RPC.
func (*StatsClient) WriteToParcel ¶ added in v0.0.6
func (c *StatsClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error
WriteToParcel calls the WriteToParcel RPC.
type StatsManagerClient ¶ added in v0.0.6
type StatsManagerClient struct {
// contains filtered or unexported fields
}
StatsManagerClient wraps the gRPC StatsManagerService client.
func NewStatsManagerClient ¶ added in v0.0.6
func NewStatsManagerClient(cc grpc.ClientConnInterface) *StatsManagerClient
NewStatsManagerClient creates a new StatsManager client.
func (*StatsManagerClient) GetAppStandbyBucket ¶ added in v0.0.6
func (c *StatsManagerClient) GetAppStandbyBucket(ctx context.Context) (int32, error)
GetAppStandbyBucket calls the GetAppStandbyBucket RPC.
func (*StatsManagerClient) IsAppInactive ¶ added in v0.0.6
IsAppInactive calls the IsAppInactive RPC.
func (*StatsManagerClient) QueryConfigurations ¶ added in v0.0.6
func (c *StatsManagerClient) QueryConfigurations(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) (int64, error)
QueryConfigurations calls the QueryConfigurations RPC.
func (*StatsManagerClient) QueryEventStats ¶ added in v0.0.6
func (c *StatsManagerClient) QueryEventStats(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) (int64, error)
QueryEventStats calls the QueryEventStats RPC.
func (*StatsManagerClient) QueryEvents1 ¶ added in v0.0.6
QueryEvents1 calls the QueryEvents1 RPC.
func (*StatsManagerClient) QueryEvents2_1 ¶ added in v0.0.6
func (c *StatsManagerClient) QueryEvents2_1(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
QueryEvents2_1 calls the QueryEvents2_1 RPC.
func (*StatsManagerClient) QueryEventsForSelf ¶ added in v0.0.6
func (c *StatsManagerClient) QueryEventsForSelf(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
QueryEventsForSelf calls the QueryEventsForSelf RPC.
func (*StatsManagerClient) QueryUsageStats ¶ added in v0.0.6
func (c *StatsManagerClient) QueryUsageStats(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) (int64, error)
QueryUsageStats calls the QueryUsageStats RPC.
type StorageStatsClient ¶ added in v0.0.6
type StorageStatsClient struct {
// contains filtered or unexported fields
}
StorageStatsClient wraps the gRPC StorageStatsService client.
func NewStorageStatsClient ¶ added in v0.0.6
func NewStorageStatsClient(cc grpc.ClientConnInterface) *StorageStatsClient
NewStorageStatsClient creates a new StorageStats client.
func (*StorageStatsClient) DescribeContents ¶ added in v0.0.6
func (c *StorageStatsClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*StorageStatsClient) GetAppBytes ¶ added in v0.0.6
func (c *StorageStatsClient) GetAppBytes(ctx context.Context) (int64, error)
GetAppBytes calls the GetAppBytes RPC.
func (*StorageStatsClient) GetAppBytesByDataType ¶ added in v0.0.6
GetAppBytesByDataType calls the GetAppBytesByDataType RPC.
func (*StorageStatsClient) GetCacheBytes ¶ added in v0.0.6
func (c *StorageStatsClient) GetCacheBytes(ctx context.Context) (int64, error)
GetCacheBytes calls the GetCacheBytes RPC.
func (*StorageStatsClient) GetDataBytes ¶ added in v0.0.6
func (c *StorageStatsClient) GetDataBytes(ctx context.Context) (int64, error)
GetDataBytes calls the GetDataBytes RPC.
func (*StorageStatsClient) GetExternalCacheBytes ¶ added in v0.0.6
func (c *StorageStatsClient) GetExternalCacheBytes(ctx context.Context) (int64, error)
GetExternalCacheBytes calls the GetExternalCacheBytes RPC.
func (*StorageStatsClient) WriteToParcel ¶ added in v0.0.6
WriteToParcel calls the WriteToParcel RPC.
type StorageStatsManagerClient ¶ added in v0.0.6
type StorageStatsManagerClient struct {
// contains filtered or unexported fields
}
StorageStatsManagerClient wraps the gRPC StorageStatsManagerService client.
func NewStorageStatsManagerClient ¶ added in v0.0.6
func NewStorageStatsManagerClient(cc grpc.ClientConnInterface) *StorageStatsManagerClient
NewStorageStatsManagerClient creates a new StorageStatsManager client.
func (*StorageStatsManagerClient) GetFreeBytes ¶ added in v0.0.6
GetFreeBytes calls the GetFreeBytes RPC.
func (*StorageStatsManagerClient) GetTotalBytes ¶ added in v0.0.6
GetTotalBytes calls the GetTotalBytes RPC.
func (*StorageStatsManagerClient) QueryExternalStatsForUser ¶ added in v0.0.6
func (c *StorageStatsManagerClient) QueryExternalStatsForUser(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
QueryExternalStatsForUser calls the QueryExternalStatsForUser RPC.
func (*StorageStatsManagerClient) QueryStatsForPackage ¶ added in v0.0.6
func (c *StorageStatsManagerClient) QueryStatsForPackage(ctx context.Context, arg0 int64, arg1 string, arg2 int64) (int64, error)
QueryStatsForPackage calls the QueryStatsForPackage RPC.
func (*StorageStatsManagerClient) QueryStatsForUid ¶ added in v0.0.6
func (c *StorageStatsManagerClient) QueryStatsForUid(ctx context.Context, arg0 int64, arg1 int32) (int64, error)
QueryStatsForUid calls the QueryStatsForUid RPC.
func (*StorageStatsManagerClient) QueryStatsForUser ¶ added in v0.0.6
func (c *StorageStatsManagerClient) QueryStatsForUser(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
QueryStatsForUser calls the QueryStatsForUser RPC.