bluetooth1

package
v0.0.0-...-454a0ba Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 7 Imported by: 1

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bluetooth

type Bluetooth interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewBluetooth

func NewBluetooth(conn *dbus.Conn) Bluetooth

type MockBluetooth

type MockBluetooth struct {
	MockInterfaceBluetooth // interface org.deepin.dde.Bluetooth1
	proxy.MockObject
}

type MockInterfaceBluetooth

type MockInterfaceBluetooth struct {
	mock.Mock
}

func (*MockInterfaceBluetooth) CanSendFile

func (v *MockInterfaceBluetooth) CanSendFile() proxy.PropBool

func (*MockInterfaceBluetooth) ClearUnpairedDevice

func (v *MockInterfaceBluetooth) ClearUnpairedDevice(flags dbus.Flags) error

func (*MockInterfaceBluetooth) ConnectAdapterAdded

func (v *MockInterfaceBluetooth) ConnectAdapterAdded(cb func(adapterJSON string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceBluetooth) ConnectAdapterPropertiesChanged

func (v *MockInterfaceBluetooth) ConnectAdapterPropertiesChanged(cb func(adapterJSON string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceBluetooth) ConnectAdapterRemoved

func (v *MockInterfaceBluetooth) ConnectAdapterRemoved(cb func(adapterJSON string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceBluetooth) ConnectDevice

func (v *MockInterfaceBluetooth) ConnectDevice(flags dbus.Flags, devPath dbus.ObjectPath, adapterPath dbus.ObjectPath) error

func (*MockInterfaceBluetooth) ConnectDeviceAdded

func (v *MockInterfaceBluetooth) ConnectDeviceAdded(cb func(devJSON string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceBluetooth) ConnectDevicePropertiesChanged

func (v *MockInterfaceBluetooth) ConnectDevicePropertiesChanged(cb func(devJSON string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceBluetooth) ConnectDeviceRemoved

func (v *MockInterfaceBluetooth) ConnectDeviceRemoved(cb func(devJSON string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceBluetooth) DebugInfo

func (v *MockInterfaceBluetooth) DebugInfo(flags dbus.Flags) (string, error)

func (*MockInterfaceBluetooth) DisconnectAudioDevices

func (v *MockInterfaceBluetooth) DisconnectAudioDevices(flags dbus.Flags) error

func (*MockInterfaceBluetooth) DisconnectDevice

func (v *MockInterfaceBluetooth) DisconnectDevice(flags dbus.Flags, devPath dbus.ObjectPath) error

func (*MockInterfaceBluetooth) GetAdapters

func (v *MockInterfaceBluetooth) GetAdapters(flags dbus.Flags) (string, error)

func (*MockInterfaceBluetooth) GetDevices

func (v *MockInterfaceBluetooth) GetDevices(flags dbus.Flags, adapterPath dbus.ObjectPath) (string, error)

func (*MockInterfaceBluetooth) GoClearUnpairedDevice

func (v *MockInterfaceBluetooth) GoClearUnpairedDevice(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceBluetooth) GoConnectDevice

func (v *MockInterfaceBluetooth) GoConnectDevice(flags dbus.Flags, ch chan *dbus.Call, devPath dbus.ObjectPath, adapterPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceBluetooth) GoDebugInfo

func (v *MockInterfaceBluetooth) GoDebugInfo(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceBluetooth) GoDisconnectAudioDevices

func (v *MockInterfaceBluetooth) GoDisconnectAudioDevices(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceBluetooth) GoDisconnectDevice

func (v *MockInterfaceBluetooth) GoDisconnectDevice(flags dbus.Flags, ch chan *dbus.Call, devPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceBluetooth) GoGetAdapters

func (v *MockInterfaceBluetooth) GoGetAdapters(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceBluetooth) GoGetDevices

func (v *MockInterfaceBluetooth) GoGetDevices(flags dbus.Flags, ch chan *dbus.Call, adapterPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceBluetooth) GoRegisterAgent

func (v *MockInterfaceBluetooth) GoRegisterAgent(flags dbus.Flags, ch chan *dbus.Call, agentPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceBluetooth) GoRemoveDevice

func (v *MockInterfaceBluetooth) GoRemoveDevice(flags dbus.Flags, ch chan *dbus.Call, adapterPath dbus.ObjectPath, devPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceBluetooth) GoRequestDiscovery

func (v *MockInterfaceBluetooth) GoRequestDiscovery(flags dbus.Flags, ch chan *dbus.Call, adapterPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceBluetooth) GoSetAdapterAlias

func (v *MockInterfaceBluetooth) GoSetAdapterAlias(flags dbus.Flags, ch chan *dbus.Call, adapterPath dbus.ObjectPath, alias string) *dbus.Call

func (*MockInterfaceBluetooth) GoSetAdapterDiscoverable

func (v *MockInterfaceBluetooth) GoSetAdapterDiscoverable(flags dbus.Flags, ch chan *dbus.Call, adapterPath dbus.ObjectPath, discoverable bool) *dbus.Call

func (*MockInterfaceBluetooth) GoSetAdapterDiscoverableTimeout

func (v *MockInterfaceBluetooth) GoSetAdapterDiscoverableTimeout(flags dbus.Flags, ch chan *dbus.Call, adapterPath dbus.ObjectPath, discoverableTimeout uint32) *dbus.Call

func (*MockInterfaceBluetooth) GoSetAdapterDiscovering

func (v *MockInterfaceBluetooth) GoSetAdapterDiscovering(flags dbus.Flags, ch chan *dbus.Call, adapterPath dbus.ObjectPath, discovering bool) *dbus.Call

func (*MockInterfaceBluetooth) GoSetAdapterPowered

func (v *MockInterfaceBluetooth) GoSetAdapterPowered(flags dbus.Flags, ch chan *dbus.Call, adapterPath dbus.ObjectPath, powered bool) *dbus.Call

func (*MockInterfaceBluetooth) GoSetDeviceAlias

func (v *MockInterfaceBluetooth) GoSetDeviceAlias(flags dbus.Flags, ch chan *dbus.Call, device dbus.ObjectPath, alias string) *dbus.Call

func (*MockInterfaceBluetooth) GoSetDeviceTrusted

func (v *MockInterfaceBluetooth) GoSetDeviceTrusted(flags dbus.Flags, ch chan *dbus.Call, device dbus.ObjectPath, trusted bool) *dbus.Call

func (*MockInterfaceBluetooth) GoUnregisterAgent

func (v *MockInterfaceBluetooth) GoUnregisterAgent(flags dbus.Flags, ch chan *dbus.Call, agentPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceBluetooth) RegisterAgent

func (v *MockInterfaceBluetooth) RegisterAgent(flags dbus.Flags, agentPath dbus.ObjectPath) error

func (*MockInterfaceBluetooth) RemoveDevice

func (v *MockInterfaceBluetooth) RemoveDevice(flags dbus.Flags, adapterPath dbus.ObjectPath, devPath dbus.ObjectPath) error

func (*MockInterfaceBluetooth) RequestDiscovery

func (v *MockInterfaceBluetooth) RequestDiscovery(flags dbus.Flags, adapterPath dbus.ObjectPath) error

func (*MockInterfaceBluetooth) SetAdapterAlias

func (v *MockInterfaceBluetooth) SetAdapterAlias(flags dbus.Flags, adapterPath dbus.ObjectPath, alias string) error

func (*MockInterfaceBluetooth) SetAdapterDiscoverable

func (v *MockInterfaceBluetooth) SetAdapterDiscoverable(flags dbus.Flags, adapterPath dbus.ObjectPath, discoverable bool) error

func (*MockInterfaceBluetooth) SetAdapterDiscoverableTimeout

func (v *MockInterfaceBluetooth) SetAdapterDiscoverableTimeout(flags dbus.Flags, adapterPath dbus.ObjectPath, discoverableTimeout uint32) error

func (*MockInterfaceBluetooth) SetAdapterDiscovering

func (v *MockInterfaceBluetooth) SetAdapterDiscovering(flags dbus.Flags, adapterPath dbus.ObjectPath, discovering bool) error

func (*MockInterfaceBluetooth) SetAdapterPowered

func (v *MockInterfaceBluetooth) SetAdapterPowered(flags dbus.Flags, adapterPath dbus.ObjectPath, powered bool) error

func (*MockInterfaceBluetooth) SetDeviceAlias

func (v *MockInterfaceBluetooth) SetDeviceAlias(flags dbus.Flags, device dbus.ObjectPath, alias string) error

func (*MockInterfaceBluetooth) SetDeviceTrusted

func (v *MockInterfaceBluetooth) SetDeviceTrusted(flags dbus.Flags, device dbus.ObjectPath, trusted bool) error

func (*MockInterfaceBluetooth) State

func (*MockInterfaceBluetooth) UnregisterAgent

func (v *MockInterfaceBluetooth) UnregisterAgent(flags dbus.Flags, agentPath dbus.ObjectPath) error

Jump to

Keyboard shortcuts

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