Documentation ¶
Overview ¶
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
Index ¶
- type MockInterfaceSessionManager
- func (v *MockInterfaceSessionManager) AllowSessionDaemonRun(flags dbus.Flags) (bool, error)
- func (v *MockInterfaceSessionManager) CanHibernate(flags dbus.Flags) (bool, error)
- func (v *MockInterfaceSessionManager) CanLogout(flags dbus.Flags) (bool, error)
- func (v *MockInterfaceSessionManager) CanReboot(flags dbus.Flags) (bool, error)
- func (v *MockInterfaceSessionManager) CanShutdown(flags dbus.Flags) (bool, error)
- func (v *MockInterfaceSessionManager) CanSuspend(flags dbus.Flags) (bool, error)
- func (v *MockInterfaceSessionManager) ConnectUnlock(cb func()) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceSessionManager) CurrentSessionPath() proxy.PropObjectPath
- func (v *MockInterfaceSessionManager) CurrentUid() proxy.PropString
- func (v *MockInterfaceSessionManager) ForceLogout(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) ForceReboot(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) ForceShutdown(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) GoAllowSessionDaemonRun(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoCanHibernate(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoCanLogout(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoCanReboot(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoCanShutdown(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoCanSuspend(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoForceLogout(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoForceReboot(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoForceShutdown(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoLogout(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoPowerOffChoose(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoReboot(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoRegister(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
- func (v *MockInterfaceSessionManager) GoRequestHibernate(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoRequestLock(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoRequestLogout(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoRequestReboot(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoRequestShutdown(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoRequestSuspend(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoSetLocked(flags dbus.Flags, ch chan *dbus.Call, arg0 bool) *dbus.Call
- func (v *MockInterfaceSessionManager) GoShutdown(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) GoToggleDebug(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSessionManager) Locked() proxy.PropBool
- func (v *MockInterfaceSessionManager) Logout(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) PowerOffChoose(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) Reboot(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) Register(flags dbus.Flags, arg0 string) (bool, error)
- func (v *MockInterfaceSessionManager) RequestHibernate(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) RequestLock(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) RequestLogout(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) RequestReboot(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) RequestShutdown(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) RequestSuspend(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) SetLocked(flags dbus.Flags, arg0 bool) error
- func (v *MockInterfaceSessionManager) Shutdown(flags dbus.Flags) error
- func (v *MockInterfaceSessionManager) Stage() proxy.PropInt32
- func (v *MockInterfaceSessionManager) ToggleDebug(flags dbus.Flags) error
- type MockInterfaceStartManager
- func (v *MockInterfaceStartManager) AddAutostart(flags dbus.Flags, arg0 string) (bool, error)
- func (v *MockInterfaceStartManager) AutostartList(flags dbus.Flags) ([]string, error)
- func (v *MockInterfaceStartManager) ConnectAutostartChanged(cb func(arg0 string, arg1 string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceStartManager) DumpMemRecord(flags dbus.Flags) (string, error)
- func (v *MockInterfaceStartManager) GetApps(flags dbus.Flags) (map[uint32]string, error)
- func (v *MockInterfaceStartManager) GoAddAutostart(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
- func (v *MockInterfaceStartManager) GoAutostartList(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceStartManager) GoDumpMemRecord(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceStartManager) GoGetApps(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceStartManager) GoIsAutostart(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
- func (v *MockInterfaceStartManager) GoIsMemSufficient(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceStartManager) GoLaunch(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
- func (v *MockInterfaceStartManager) GoLaunchApp(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 uint32, arg2 []string) *dbus.Call
- func (v *MockInterfaceStartManager) GoLaunchAppAction(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 string, arg2 uint32) *dbus.Call
- func (v *MockInterfaceStartManager) GoLaunchAppWithOptions(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 uint32, arg2 []string, ...) *dbus.Call
- func (v *MockInterfaceStartManager) GoLaunchWithTimestamp(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 uint32) *dbus.Call
- func (v *MockInterfaceStartManager) GoRemoveAutostart(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
- func (v *MockInterfaceStartManager) GoRunCommand(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 []string) *dbus.Call
- func (v *MockInterfaceStartManager) GoTryAgain(flags dbus.Flags, ch chan *dbus.Call, arg0 bool) *dbus.Call
- func (v *MockInterfaceStartManager) IsAutostart(flags dbus.Flags, arg0 string) (bool, error)
- func (v *MockInterfaceStartManager) IsMemSufficient(flags dbus.Flags) (bool, error)
- func (v *MockInterfaceStartManager) Launch(flags dbus.Flags, arg0 string) (bool, error)
- func (v *MockInterfaceStartManager) LaunchApp(flags dbus.Flags, arg0 string, arg1 uint32, arg2 []string) error
- func (v *MockInterfaceStartManager) LaunchAppAction(flags dbus.Flags, arg0 string, arg1 string, arg2 uint32) error
- func (v *MockInterfaceStartManager) LaunchAppWithOptions(flags dbus.Flags, arg0 string, arg1 uint32, arg2 []string, ...) error
- func (v *MockInterfaceStartManager) LaunchWithTimestamp(flags dbus.Flags, arg0 string, arg1 uint32) (bool, error)
- func (v *MockInterfaceStartManager) NeededMemory() proxy.PropUint64
- func (v *MockInterfaceStartManager) RemoveAutostart(flags dbus.Flags, arg0 string) (bool, error)
- func (v *MockInterfaceStartManager) RunCommand(flags dbus.Flags, arg0 string, arg1 []string) error
- func (v *MockInterfaceStartManager) TryAgain(flags dbus.Flags, arg0 bool) error
- type MockInterfaceWmSwitcher
- func (v *MockInterfaceWmSwitcher) ConnectWMChanged(cb func(arg0 string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceWmSwitcher) CurrentWM(flags dbus.Flags) (string, error)
- func (v *MockInterfaceWmSwitcher) GoCurrentWM(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceWmSwitcher) GoRequestSwitchWM(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceWmSwitcher) GoRestartWM(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceWmSwitcher) GoStart2DWM(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceWmSwitcher) RequestSwitchWM(flags dbus.Flags) error
- func (v *MockInterfaceWmSwitcher) RestartWM(flags dbus.Flags) error
- func (v *MockInterfaceWmSwitcher) Start2DWM(flags dbus.Flags) error
- type MockInterfaceXSettings
- func (v *MockInterfaceXSettings) ConnectSetScaleFactorDone(cb func()) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceXSettings) ConnectSetScaleFactorStarted(cb func()) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceXSettings) GetColor(flags dbus.Flags, arg0 string) ([]int16, error)
- func (v *MockInterfaceXSettings) GetInteger(flags dbus.Flags, arg0 string) (int32, error)
- func (v *MockInterfaceXSettings) GetScaleFactor(flags dbus.Flags) (float64, error)
- func (v *MockInterfaceXSettings) GetScreenScaleFactors(flags dbus.Flags) (map[string]float64, error)
- func (v *MockInterfaceXSettings) GetString(flags dbus.Flags, arg0 string) (string, error)
- func (v *MockInterfaceXSettings) GoGetColor(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
- func (v *MockInterfaceXSettings) GoGetInteger(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
- func (v *MockInterfaceXSettings) GoGetScaleFactor(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceXSettings) GoGetScreenScaleFactors(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceXSettings) GoGetString(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
- func (v *MockInterfaceXSettings) GoListProps(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceXSettings) GoSetColor(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 []int16) *dbus.Call
- func (v *MockInterfaceXSettings) GoSetInteger(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 int32) *dbus.Call
- func (v *MockInterfaceXSettings) GoSetScaleFactor(flags dbus.Flags, ch chan *dbus.Call, arg0 float64) *dbus.Call
- func (v *MockInterfaceXSettings) GoSetScreenScaleFactors(flags dbus.Flags, ch chan *dbus.Call, arg0 map[string]float64) *dbus.Call
- func (v *MockInterfaceXSettings) GoSetString(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 string) *dbus.Call
- func (v *MockInterfaceXSettings) ListProps(flags dbus.Flags) (string, error)
- func (v *MockInterfaceXSettings) SetColor(flags dbus.Flags, arg0 string, arg1 []int16) error
- func (v *MockInterfaceXSettings) SetInteger(flags dbus.Flags, arg0 string, arg1 int32) error
- func (v *MockInterfaceXSettings) SetScaleFactor(flags dbus.Flags, arg0 float64) error
- func (v *MockInterfaceXSettings) SetScreenScaleFactors(flags dbus.Flags, arg0 map[string]float64) error
- func (v *MockInterfaceXSettings) SetString(flags dbus.Flags, arg0 string, arg1 string) error
- type MockSessionManager
- type MockStartManager
- type MockWMSwitcher
- type MockXSettings
- type SessionManager
- type StartManager
- type WMSwitcher
- type XSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterfaceSessionManager ¶
func (*MockInterfaceSessionManager) AllowSessionDaemonRun ¶
func (v *MockInterfaceSessionManager) AllowSessionDaemonRun(flags dbus.Flags) (bool, error)
func (*MockInterfaceSessionManager) CanHibernate ¶
func (v *MockInterfaceSessionManager) CanHibernate(flags dbus.Flags) (bool, error)
func (*MockInterfaceSessionManager) CanLogout ¶
func (v *MockInterfaceSessionManager) CanLogout(flags dbus.Flags) (bool, error)
func (*MockInterfaceSessionManager) CanReboot ¶
func (v *MockInterfaceSessionManager) CanReboot(flags dbus.Flags) (bool, error)
func (*MockInterfaceSessionManager) CanShutdown ¶
func (v *MockInterfaceSessionManager) CanShutdown(flags dbus.Flags) (bool, error)
func (*MockInterfaceSessionManager) CanSuspend ¶
func (v *MockInterfaceSessionManager) CanSuspend(flags dbus.Flags) (bool, error)
func (*MockInterfaceSessionManager) ConnectUnlock ¶
func (v *MockInterfaceSessionManager) ConnectUnlock(cb func()) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceSessionManager) CurrentSessionPath ¶
func (v *MockInterfaceSessionManager) CurrentSessionPath() proxy.PropObjectPath
func (*MockInterfaceSessionManager) CurrentUid ¶
func (v *MockInterfaceSessionManager) CurrentUid() proxy.PropString
func (*MockInterfaceSessionManager) ForceLogout ¶
func (v *MockInterfaceSessionManager) ForceLogout(flags dbus.Flags) error
func (*MockInterfaceSessionManager) ForceReboot ¶
func (v *MockInterfaceSessionManager) ForceReboot(flags dbus.Flags) error
func (*MockInterfaceSessionManager) ForceShutdown ¶
func (v *MockInterfaceSessionManager) ForceShutdown(flags dbus.Flags) error
func (*MockInterfaceSessionManager) GoAllowSessionDaemonRun ¶
func (v *MockInterfaceSessionManager) GoAllowSessionDaemonRun(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoCanHibernate ¶
func (v *MockInterfaceSessionManager) GoCanHibernate(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoCanLogout ¶
func (v *MockInterfaceSessionManager) GoCanLogout(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoCanReboot ¶
func (v *MockInterfaceSessionManager) GoCanReboot(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoCanShutdown ¶
func (v *MockInterfaceSessionManager) GoCanShutdown(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoCanSuspend ¶
func (v *MockInterfaceSessionManager) GoCanSuspend(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoForceLogout ¶
func (v *MockInterfaceSessionManager) GoForceLogout(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoForceReboot ¶
func (v *MockInterfaceSessionManager) GoForceReboot(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoForceShutdown ¶
func (v *MockInterfaceSessionManager) GoForceShutdown(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoLogout ¶
func (v *MockInterfaceSessionManager) GoLogout(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoPowerOffChoose ¶
func (v *MockInterfaceSessionManager) GoPowerOffChoose(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoReboot ¶
func (v *MockInterfaceSessionManager) GoReboot(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoRegister ¶
func (v *MockInterfaceSessionManager) GoRegister(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
func (*MockInterfaceSessionManager) GoRequestHibernate ¶
func (v *MockInterfaceSessionManager) GoRequestHibernate(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoRequestLock ¶
func (v *MockInterfaceSessionManager) GoRequestLock(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoRequestLogout ¶
func (v *MockInterfaceSessionManager) GoRequestLogout(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoRequestReboot ¶
func (v *MockInterfaceSessionManager) GoRequestReboot(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoRequestShutdown ¶
func (v *MockInterfaceSessionManager) GoRequestShutdown(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoRequestSuspend ¶
func (v *MockInterfaceSessionManager) GoRequestSuspend(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoSetLocked ¶
func (v *MockInterfaceSessionManager) GoSetLocked(flags dbus.Flags, ch chan *dbus.Call, arg0 bool) *dbus.Call
func (*MockInterfaceSessionManager) GoShutdown ¶
func (v *MockInterfaceSessionManager) GoShutdown(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) GoToggleDebug ¶
func (v *MockInterfaceSessionManager) GoToggleDebug(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSessionManager) Locked ¶
func (v *MockInterfaceSessionManager) Locked() proxy.PropBool
func (*MockInterfaceSessionManager) Logout ¶
func (v *MockInterfaceSessionManager) Logout(flags dbus.Flags) error
func (*MockInterfaceSessionManager) PowerOffChoose ¶
func (v *MockInterfaceSessionManager) PowerOffChoose(flags dbus.Flags) error
func (*MockInterfaceSessionManager) Reboot ¶
func (v *MockInterfaceSessionManager) Reboot(flags dbus.Flags) error
func (*MockInterfaceSessionManager) Register ¶
func (v *MockInterfaceSessionManager) Register(flags dbus.Flags, arg0 string) (bool, error)
func (*MockInterfaceSessionManager) RequestHibernate ¶
func (v *MockInterfaceSessionManager) RequestHibernate(flags dbus.Flags) error
func (*MockInterfaceSessionManager) RequestLock ¶
func (v *MockInterfaceSessionManager) RequestLock(flags dbus.Flags) error
func (*MockInterfaceSessionManager) RequestLogout ¶
func (v *MockInterfaceSessionManager) RequestLogout(flags dbus.Flags) error
func (*MockInterfaceSessionManager) RequestReboot ¶
func (v *MockInterfaceSessionManager) RequestReboot(flags dbus.Flags) error
func (*MockInterfaceSessionManager) RequestShutdown ¶
func (v *MockInterfaceSessionManager) RequestShutdown(flags dbus.Flags) error
func (*MockInterfaceSessionManager) RequestSuspend ¶
func (v *MockInterfaceSessionManager) RequestSuspend(flags dbus.Flags) error
func (*MockInterfaceSessionManager) SetLocked ¶
func (v *MockInterfaceSessionManager) SetLocked(flags dbus.Flags, arg0 bool) error
func (*MockInterfaceSessionManager) Shutdown ¶
func (v *MockInterfaceSessionManager) Shutdown(flags dbus.Flags) error
func (*MockInterfaceSessionManager) Stage ¶
func (v *MockInterfaceSessionManager) Stage() proxy.PropInt32
func (*MockInterfaceSessionManager) ToggleDebug ¶
func (v *MockInterfaceSessionManager) ToggleDebug(flags dbus.Flags) error
type MockInterfaceStartManager ¶
func (*MockInterfaceStartManager) AddAutostart ¶
func (v *MockInterfaceStartManager) AddAutostart(flags dbus.Flags, arg0 string) (bool, error)
func (*MockInterfaceStartManager) AutostartList ¶
func (v *MockInterfaceStartManager) AutostartList(flags dbus.Flags) ([]string, error)
func (*MockInterfaceStartManager) ConnectAutostartChanged ¶
func (v *MockInterfaceStartManager) ConnectAutostartChanged(cb func(arg0 string, arg1 string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceStartManager) DumpMemRecord ¶
func (v *MockInterfaceStartManager) DumpMemRecord(flags dbus.Flags) (string, error)
func (*MockInterfaceStartManager) GetApps ¶
func (v *MockInterfaceStartManager) GetApps(flags dbus.Flags) (map[uint32]string, error)
func (*MockInterfaceStartManager) GoAddAutostart ¶
func (v *MockInterfaceStartManager) GoAddAutostart(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
func (*MockInterfaceStartManager) GoAutostartList ¶
func (v *MockInterfaceStartManager) GoAutostartList(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceStartManager) GoDumpMemRecord ¶
func (v *MockInterfaceStartManager) GoDumpMemRecord(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceStartManager) GoGetApps ¶
func (v *MockInterfaceStartManager) GoGetApps(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceStartManager) GoIsAutostart ¶
func (v *MockInterfaceStartManager) GoIsAutostart(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
func (*MockInterfaceStartManager) GoIsMemSufficient ¶
func (v *MockInterfaceStartManager) GoIsMemSufficient(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceStartManager) GoLaunch ¶
func (v *MockInterfaceStartManager) GoLaunch(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
func (*MockInterfaceStartManager) GoLaunchApp ¶
func (v *MockInterfaceStartManager) GoLaunchApp(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 uint32, arg2 []string) *dbus.Call
func (*MockInterfaceStartManager) GoLaunchAppAction ¶
func (v *MockInterfaceStartManager) GoLaunchAppAction(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 string, arg2 uint32) *dbus.Call
func (*MockInterfaceStartManager) GoLaunchAppWithOptions ¶
func (v *MockInterfaceStartManager) GoLaunchAppWithOptions(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 uint32, arg2 []string, arg3 map[string]dbus.Variant) *dbus.Call
func (*MockInterfaceStartManager) GoLaunchWithTimestamp ¶
func (v *MockInterfaceStartManager) GoLaunchWithTimestamp(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 uint32) *dbus.Call
func (*MockInterfaceStartManager) GoRemoveAutostart ¶
func (v *MockInterfaceStartManager) GoRemoveAutostart(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
func (*MockInterfaceStartManager) GoRunCommand ¶
func (v *MockInterfaceStartManager) GoRunCommand(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 []string) *dbus.Call
func (*MockInterfaceStartManager) GoTryAgain ¶
func (v *MockInterfaceStartManager) GoTryAgain(flags dbus.Flags, ch chan *dbus.Call, arg0 bool) *dbus.Call
func (*MockInterfaceStartManager) IsAutostart ¶
func (v *MockInterfaceStartManager) IsAutostart(flags dbus.Flags, arg0 string) (bool, error)
func (*MockInterfaceStartManager) IsMemSufficient ¶
func (v *MockInterfaceStartManager) IsMemSufficient(flags dbus.Flags) (bool, error)
func (*MockInterfaceStartManager) Launch ¶
func (v *MockInterfaceStartManager) Launch(flags dbus.Flags, arg0 string) (bool, error)
func (*MockInterfaceStartManager) LaunchApp ¶
func (v *MockInterfaceStartManager) LaunchApp(flags dbus.Flags, arg0 string, arg1 uint32, arg2 []string) error
func (*MockInterfaceStartManager) LaunchAppAction ¶
func (v *MockInterfaceStartManager) LaunchAppAction(flags dbus.Flags, arg0 string, arg1 string, arg2 uint32) error
func (*MockInterfaceStartManager) LaunchAppWithOptions ¶
func (*MockInterfaceStartManager) LaunchWithTimestamp ¶
func (v *MockInterfaceStartManager) LaunchWithTimestamp(flags dbus.Flags, arg0 string, arg1 uint32) (bool, error)
func (*MockInterfaceStartManager) NeededMemory ¶
func (v *MockInterfaceStartManager) NeededMemory() proxy.PropUint64
func (*MockInterfaceStartManager) RemoveAutostart ¶
func (v *MockInterfaceStartManager) RemoveAutostart(flags dbus.Flags, arg0 string) (bool, error)
func (*MockInterfaceStartManager) RunCommand ¶
func (v *MockInterfaceStartManager) RunCommand(flags dbus.Flags, arg0 string, arg1 []string) error
func (*MockInterfaceStartManager) TryAgain ¶
func (v *MockInterfaceStartManager) TryAgain(flags dbus.Flags, arg0 bool) error
type MockInterfaceWmSwitcher ¶
func (*MockInterfaceWmSwitcher) ConnectWMChanged ¶
func (v *MockInterfaceWmSwitcher) ConnectWMChanged(cb func(arg0 string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceWmSwitcher) CurrentWM ¶
func (v *MockInterfaceWmSwitcher) CurrentWM(flags dbus.Flags) (string, error)
func (*MockInterfaceWmSwitcher) GoCurrentWM ¶
func (v *MockInterfaceWmSwitcher) GoCurrentWM(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceWmSwitcher) GoRequestSwitchWM ¶
func (v *MockInterfaceWmSwitcher) GoRequestSwitchWM(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceWmSwitcher) GoRestartWM ¶
func (v *MockInterfaceWmSwitcher) GoRestartWM(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceWmSwitcher) GoStart2DWM ¶
func (v *MockInterfaceWmSwitcher) GoStart2DWM(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceWmSwitcher) RequestSwitchWM ¶
func (v *MockInterfaceWmSwitcher) RequestSwitchWM(flags dbus.Flags) error
func (*MockInterfaceWmSwitcher) RestartWM ¶
func (v *MockInterfaceWmSwitcher) RestartWM(flags dbus.Flags) error
func (*MockInterfaceWmSwitcher) Start2DWM ¶
func (v *MockInterfaceWmSwitcher) Start2DWM(flags dbus.Flags) error
type MockInterfaceXSettings ¶
func (*MockInterfaceXSettings) ConnectSetScaleFactorDone ¶
func (v *MockInterfaceXSettings) ConnectSetScaleFactorDone(cb func()) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceXSettings) ConnectSetScaleFactorStarted ¶
func (v *MockInterfaceXSettings) ConnectSetScaleFactorStarted(cb func()) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceXSettings) GetColor ¶
func (v *MockInterfaceXSettings) GetColor(flags dbus.Flags, arg0 string) ([]int16, error)
func (*MockInterfaceXSettings) GetInteger ¶
func (v *MockInterfaceXSettings) GetInteger(flags dbus.Flags, arg0 string) (int32, error)
func (*MockInterfaceXSettings) GetScaleFactor ¶
func (v *MockInterfaceXSettings) GetScaleFactor(flags dbus.Flags) (float64, error)
func (*MockInterfaceXSettings) GetScreenScaleFactors ¶
func (v *MockInterfaceXSettings) GetScreenScaleFactors(flags dbus.Flags) (map[string]float64, error)
func (*MockInterfaceXSettings) GetString ¶
func (v *MockInterfaceXSettings) GetString(flags dbus.Flags, arg0 string) (string, error)
func (*MockInterfaceXSettings) GoGetColor ¶
func (v *MockInterfaceXSettings) GoGetColor(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
func (*MockInterfaceXSettings) GoGetInteger ¶
func (v *MockInterfaceXSettings) GoGetInteger(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
func (*MockInterfaceXSettings) GoGetScaleFactor ¶
func (v *MockInterfaceXSettings) GoGetScaleFactor(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceXSettings) GoGetScreenScaleFactors ¶
func (v *MockInterfaceXSettings) GoGetScreenScaleFactors(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceXSettings) GoGetString ¶
func (v *MockInterfaceXSettings) GoGetString(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
func (*MockInterfaceXSettings) GoListProps ¶
func (v *MockInterfaceXSettings) GoListProps(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceXSettings) GoSetColor ¶
func (v *MockInterfaceXSettings) GoSetColor(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 []int16) *dbus.Call
func (*MockInterfaceXSettings) GoSetInteger ¶
func (v *MockInterfaceXSettings) GoSetInteger(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 int32) *dbus.Call
func (*MockInterfaceXSettings) GoSetScaleFactor ¶
func (v *MockInterfaceXSettings) GoSetScaleFactor(flags dbus.Flags, ch chan *dbus.Call, arg0 float64) *dbus.Call
func (*MockInterfaceXSettings) GoSetScreenScaleFactors ¶
func (v *MockInterfaceXSettings) GoSetScreenScaleFactors(flags dbus.Flags, ch chan *dbus.Call, arg0 map[string]float64) *dbus.Call
func (*MockInterfaceXSettings) GoSetString ¶
func (v *MockInterfaceXSettings) GoSetString(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 string) *dbus.Call
func (*MockInterfaceXSettings) ListProps ¶
func (v *MockInterfaceXSettings) ListProps(flags dbus.Flags) (string, error)
func (*MockInterfaceXSettings) SetColor ¶
func (v *MockInterfaceXSettings) SetColor(flags dbus.Flags, arg0 string, arg1 []int16) error
func (*MockInterfaceXSettings) SetInteger ¶
func (v *MockInterfaceXSettings) SetInteger(flags dbus.Flags, arg0 string, arg1 int32) error
func (*MockInterfaceXSettings) SetScaleFactor ¶
func (v *MockInterfaceXSettings) SetScaleFactor(flags dbus.Flags, arg0 float64) error
func (*MockInterfaceXSettings) SetScreenScaleFactors ¶
func (v *MockInterfaceXSettings) SetScreenScaleFactors(flags dbus.Flags, arg0 map[string]float64) error
type MockSessionManager ¶
type MockSessionManager struct { MockInterfaceSessionManager // interface com.deepin.SessionManager proxy.MockObject }
type MockStartManager ¶
type MockStartManager struct { MockInterfaceStartManager // interface com.deepin.StartManager proxy.MockObject }
type MockWMSwitcher ¶
type MockWMSwitcher struct { MockInterfaceWmSwitcher // interface com.deepin.WMSwitcher proxy.MockObject }
type MockXSettings ¶
type MockXSettings struct { MockInterfaceXSettings // interface com.deepin.XSettings proxy.MockObject }
type SessionManager ¶
func NewSessionManager ¶
func NewSessionManager(conn *dbus.Conn) SessionManager
type StartManager ¶
func NewStartManager ¶
func NewStartManager(conn *dbus.Conn) StartManager
type WMSwitcher ¶
func NewWMSwitcher ¶
func NewWMSwitcher(conn *dbus.Conn) WMSwitcher
Click to show internal directories.
Click to hide internal directories.