device

package
v0.0.0-...-77ac5d6 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

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 Device

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

func NewDevice

func NewDevice(conn *dbus.Conn) Device

type MockDevice

type MockDevice struct {
	MockInterfaceDevice // interface com.deepin.api.Device
	proxy.MockObject
}

type MockInterfaceDevice

type MockInterfaceDevice struct {
	mock.Mock
}

func (*MockInterfaceDevice) GoHasBluetoothDeviceBlocked

func (v *MockInterfaceDevice) GoHasBluetoothDeviceBlocked(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceDevice) GoUnblockBluetoothDevices

func (v *MockInterfaceDevice) GoUnblockBluetoothDevices(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceDevice) HasBluetoothDeviceBlocked

func (v *MockInterfaceDevice) HasBluetoothDeviceBlocked(flags dbus.Flags) (bool, error)

func (*MockInterfaceDevice) UnblockBluetoothDevices

func (v *MockInterfaceDevice) UnblockBluetoothDevices(flags dbus.Flags) error

Jump to

Keyboard shortcuts

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