Documentation
¶
Index ¶
- type ManagerServer
- func (s *ManagerServer) AddThermalHeadroomListener1(_ context.Context, req *pb.AddThermalHeadroomListener1Request) (*pb.AddThermalHeadroomListener1Response, error)
- func (s *ManagerServer) AddThermalHeadroomListener2_1(_ context.Context, req *pb.AddThermalHeadroomListener2_1Request) (*pb.AddThermalHeadroomListener2_1Response, error)
- func (s *ManagerServer) AddThermalStatusListener1(_ context.Context, req *pb.AddThermalStatusListener1Request) (*pb.AddThermalStatusListener1Response, error)
- func (s *ManagerServer) AddThermalStatusListener2_1(_ context.Context, req *pb.AddThermalStatusListener2_1Request) (*pb.AddThermalStatusListener2_1Response, error)
- func (s *ManagerServer) GetBatteryDischargePrediction(_ context.Context, req *pb.GetBatteryDischargePredictionRequest) (*pb.GetBatteryDischargePredictionResponse, error)
- func (s *ManagerServer) GetCurrentThermalStatus(_ context.Context, req *pb.GetCurrentThermalStatusRequest) (*pb.GetCurrentThermalStatusResponse, error)
- func (s *ManagerServer) GetLocationPowerSaveMode(_ context.Context, req *pb.GetLocationPowerSaveModeRequest) (*pb.GetLocationPowerSaveModeResponse, error)
- func (s *ManagerServer) GetThermalHeadroom(_ context.Context, req *pb.GetThermalHeadroomRequest) (*pb.GetThermalHeadroomResponse, error)
- func (s *ManagerServer) IsAllowedInLowPowerStandby1(_ context.Context, req *pb.IsAllowedInLowPowerStandby1Request) (*pb.IsAllowedInLowPowerStandby1Response, error)
- func (s *ManagerServer) IsAllowedInLowPowerStandby1_1(_ context.Context, req *pb.IsAllowedInLowPowerStandby1_1Request) (*pb.IsAllowedInLowPowerStandby1_1Response, error)
- func (s *ManagerServer) IsBatteryDischargePredictionPersonalized(_ context.Context, req *pb.IsBatteryDischargePredictionPersonalizedRequest) (*pb.IsBatteryDischargePredictionPersonalizedResponse, error)
- func (s *ManagerServer) IsDeviceIdleMode(_ context.Context, req *pb.IsDeviceIdleModeRequest) (*pb.IsDeviceIdleModeResponse, error)
- func (s *ManagerServer) IsDeviceLightIdleMode(_ context.Context, req *pb.IsDeviceLightIdleModeRequest) (*pb.IsDeviceLightIdleModeResponse, error)
- func (s *ManagerServer) IsExemptFromLowPowerStandby(_ context.Context, req *pb.IsExemptFromLowPowerStandbyRequest) (*pb.IsExemptFromLowPowerStandbyResponse, error)
- func (s *ManagerServer) IsIgnoringBatteryOptimizations(_ context.Context, req *pb.IsIgnoringBatteryOptimizationsRequest) (*pb.IsIgnoringBatteryOptimizationsResponse, error)
- func (s *ManagerServer) IsInteractive(_ context.Context, req *pb.IsInteractiveRequest) (*pb.IsInteractiveResponse, error)
- func (s *ManagerServer) IsLowPowerStandbyEnabled(_ context.Context, req *pb.IsLowPowerStandbyEnabledRequest) (*pb.IsLowPowerStandbyEnabledResponse, error)
- func (s *ManagerServer) IsPowerSaveMode(_ context.Context, req *pb.IsPowerSaveModeRequest) (*pb.IsPowerSaveModeResponse, error)
- func (s *ManagerServer) IsRebootingUserspaceSupported(_ context.Context, req *pb.IsRebootingUserspaceSupportedRequest) (*pb.IsRebootingUserspaceSupportedResponse, error)
- func (s *ManagerServer) IsScreenOn(_ context.Context, req *pb.IsScreenOnRequest) (*pb.IsScreenOnResponse, error)
- func (s *ManagerServer) IsSustainedPerformanceModeSupported(_ context.Context, req *pb.IsSustainedPerformanceModeSupportedRequest) (*pb.IsSustainedPerformanceModeSupportedResponse, error)
- func (s *ManagerServer) IsWakeLockLevelSupported(_ context.Context, req *pb.IsWakeLockLevelSupportedRequest) (*pb.IsWakeLockLevelSupportedResponse, error)
- func (s *ManagerServer) NewWakeLock(_ context.Context, req *pb.NewWakeLockRequest) (*pb.NewWakeLockResponse, error)
- func (s *ManagerServer) Reboot(_ context.Context, req *pb.RebootRequest) (*pb.RebootResponse, error)
- func (s *ManagerServer) RemoveThermalHeadroomListener(_ context.Context, req *pb.RemoveThermalHeadroomListenerRequest) (*pb.RemoveThermalHeadroomListenerResponse, error)
- func (s *ManagerServer) RemoveThermalStatusListener(_ context.Context, req *pb.RemoveThermalStatusListenerRequest) (*pb.RemoveThermalStatusListenerResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagerServer ¶ added in v0.0.4
type ManagerServer struct {
pb.UnimplementedManagerServiceServer
Ctx *app.Context
Handles *handlestore.HandleStore
}
ManagerServer implements pb.ManagerServiceServer.
func (*ManagerServer) AddThermalHeadroomListener1 ¶ added in v0.0.4
func (s *ManagerServer) AddThermalHeadroomListener1(_ context.Context, req *pb.AddThermalHeadroomListener1Request) (*pb.AddThermalHeadroomListener1Response, error)
func (*ManagerServer) AddThermalHeadroomListener2_1 ¶ added in v0.0.4
func (s *ManagerServer) AddThermalHeadroomListener2_1(_ context.Context, req *pb.AddThermalHeadroomListener2_1Request) (*pb.AddThermalHeadroomListener2_1Response, error)
func (*ManagerServer) AddThermalStatusListener1 ¶ added in v0.0.4
func (s *ManagerServer) AddThermalStatusListener1(_ context.Context, req *pb.AddThermalStatusListener1Request) (*pb.AddThermalStatusListener1Response, error)
func (*ManagerServer) AddThermalStatusListener2_1 ¶ added in v0.0.4
func (s *ManagerServer) AddThermalStatusListener2_1(_ context.Context, req *pb.AddThermalStatusListener2_1Request) (*pb.AddThermalStatusListener2_1Response, error)
func (*ManagerServer) GetBatteryDischargePrediction ¶ added in v0.0.4
func (s *ManagerServer) GetBatteryDischargePrediction(_ context.Context, req *pb.GetBatteryDischargePredictionRequest) (*pb.GetBatteryDischargePredictionResponse, error)
func (*ManagerServer) GetCurrentThermalStatus ¶ added in v0.0.4
func (s *ManagerServer) GetCurrentThermalStatus(_ context.Context, req *pb.GetCurrentThermalStatusRequest) (*pb.GetCurrentThermalStatusResponse, error)
func (*ManagerServer) GetLocationPowerSaveMode ¶ added in v0.0.4
func (s *ManagerServer) GetLocationPowerSaveMode(_ context.Context, req *pb.GetLocationPowerSaveModeRequest) (*pb.GetLocationPowerSaveModeResponse, error)
func (*ManagerServer) GetThermalHeadroom ¶ added in v0.0.4
func (s *ManagerServer) GetThermalHeadroom(_ context.Context, req *pb.GetThermalHeadroomRequest) (*pb.GetThermalHeadroomResponse, error)
func (*ManagerServer) IsAllowedInLowPowerStandby1 ¶ added in v0.0.4
func (s *ManagerServer) IsAllowedInLowPowerStandby1(_ context.Context, req *pb.IsAllowedInLowPowerStandby1Request) (*pb.IsAllowedInLowPowerStandby1Response, error)
func (*ManagerServer) IsAllowedInLowPowerStandby1_1 ¶ added in v0.0.4
func (s *ManagerServer) IsAllowedInLowPowerStandby1_1(_ context.Context, req *pb.IsAllowedInLowPowerStandby1_1Request) (*pb.IsAllowedInLowPowerStandby1_1Response, error)
func (*ManagerServer) IsBatteryDischargePredictionPersonalized ¶ added in v0.0.4
func (s *ManagerServer) IsBatteryDischargePredictionPersonalized(_ context.Context, req *pb.IsBatteryDischargePredictionPersonalizedRequest) (*pb.IsBatteryDischargePredictionPersonalizedResponse, error)
func (*ManagerServer) IsDeviceIdleMode ¶ added in v0.0.4
func (s *ManagerServer) IsDeviceIdleMode(_ context.Context, req *pb.IsDeviceIdleModeRequest) (*pb.IsDeviceIdleModeResponse, error)
func (*ManagerServer) IsDeviceLightIdleMode ¶ added in v0.0.4
func (s *ManagerServer) IsDeviceLightIdleMode(_ context.Context, req *pb.IsDeviceLightIdleModeRequest) (*pb.IsDeviceLightIdleModeResponse, error)
func (*ManagerServer) IsExemptFromLowPowerStandby ¶ added in v0.0.4
func (s *ManagerServer) IsExemptFromLowPowerStandby(_ context.Context, req *pb.IsExemptFromLowPowerStandbyRequest) (*pb.IsExemptFromLowPowerStandbyResponse, error)
func (*ManagerServer) IsIgnoringBatteryOptimizations ¶ added in v0.0.4
func (s *ManagerServer) IsIgnoringBatteryOptimizations(_ context.Context, req *pb.IsIgnoringBatteryOptimizationsRequest) (*pb.IsIgnoringBatteryOptimizationsResponse, error)
func (*ManagerServer) IsInteractive ¶ added in v0.0.4
func (s *ManagerServer) IsInteractive(_ context.Context, req *pb.IsInteractiveRequest) (*pb.IsInteractiveResponse, error)
func (*ManagerServer) IsLowPowerStandbyEnabled ¶ added in v0.0.4
func (s *ManagerServer) IsLowPowerStandbyEnabled(_ context.Context, req *pb.IsLowPowerStandbyEnabledRequest) (*pb.IsLowPowerStandbyEnabledResponse, error)
func (*ManagerServer) IsPowerSaveMode ¶ added in v0.0.4
func (s *ManagerServer) IsPowerSaveMode(_ context.Context, req *pb.IsPowerSaveModeRequest) (*pb.IsPowerSaveModeResponse, error)
func (*ManagerServer) IsRebootingUserspaceSupported ¶ added in v0.0.4
func (s *ManagerServer) IsRebootingUserspaceSupported(_ context.Context, req *pb.IsRebootingUserspaceSupportedRequest) (*pb.IsRebootingUserspaceSupportedResponse, error)
func (*ManagerServer) IsScreenOn ¶ added in v0.0.4
func (s *ManagerServer) IsScreenOn(_ context.Context, req *pb.IsScreenOnRequest) (*pb.IsScreenOnResponse, error)
func (*ManagerServer) IsSustainedPerformanceModeSupported ¶ added in v0.0.4
func (s *ManagerServer) IsSustainedPerformanceModeSupported(_ context.Context, req *pb.IsSustainedPerformanceModeSupportedRequest) (*pb.IsSustainedPerformanceModeSupportedResponse, error)
func (*ManagerServer) IsWakeLockLevelSupported ¶ added in v0.0.4
func (s *ManagerServer) IsWakeLockLevelSupported(_ context.Context, req *pb.IsWakeLockLevelSupportedRequest) (*pb.IsWakeLockLevelSupportedResponse, error)
func (*ManagerServer) NewWakeLock ¶ added in v0.0.4
func (s *ManagerServer) NewWakeLock(_ context.Context, req *pb.NewWakeLockRequest) (*pb.NewWakeLockResponse, error)
func (*ManagerServer) Reboot ¶ added in v0.0.4
func (s *ManagerServer) Reboot(_ context.Context, req *pb.RebootRequest) (*pb.RebootResponse, error)
func (*ManagerServer) RemoveThermalHeadroomListener ¶ added in v0.0.4
func (s *ManagerServer) RemoveThermalHeadroomListener(_ context.Context, req *pb.RemoveThermalHeadroomListenerRequest) (*pb.RemoveThermalHeadroomListenerResponse, error)
func (*ManagerServer) RemoveThermalStatusListener ¶ added in v0.0.4
func (s *ManagerServer) RemoveThermalStatusListener(_ context.Context, req *pb.RemoveThermalStatusListenerRequest) (*pb.RemoveThermalStatusListenerResponse, error)
Click to show internal directories.
Click to hide internal directories.