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 Device
- type Manager
- type MockDevice
- type MockInterfaceDevice
- func (v *MockInterfaceDevice) Claim(flags dbus.Flags, username string) error
- func (v *MockInterfaceDevice) ConnectEnrollStatus(cb func(arg0 string, arg1 bool)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDevice) ConnectVerifyFingerSelected(cb func(arg0 string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDevice) ConnectVerifyStatus(cb func(arg0 string, arg1 bool)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDevice) DeleteEnrolledFinger(flags dbus.Flags, finger_name string) error
- func (v *MockInterfaceDevice) DeleteEnrolledFingers(flags dbus.Flags, username string) error
- func (v *MockInterfaceDevice) EnrollStart(flags dbus.Flags, finger_name string) error
- func (v *MockInterfaceDevice) EnrollStop(flags dbus.Flags) error
- func (v *MockInterfaceDevice) GoClaim(flags dbus.Flags, ch chan *dbus.Call, username string) *dbus.Call
- func (v *MockInterfaceDevice) GoDeleteEnrolledFinger(flags dbus.Flags, ch chan *dbus.Call, finger_name string) *dbus.Call
- func (v *MockInterfaceDevice) GoDeleteEnrolledFingers(flags dbus.Flags, ch chan *dbus.Call, username string) *dbus.Call
- func (v *MockInterfaceDevice) GoEnrollStart(flags dbus.Flags, ch chan *dbus.Call, finger_name string) *dbus.Call
- func (v *MockInterfaceDevice) GoEnrollStop(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDevice) GoListEnrolledFingers(flags dbus.Flags, ch chan *dbus.Call, username string) *dbus.Call
- func (v *MockInterfaceDevice) GoRelease(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDevice) GoVerifyStart(flags dbus.Flags, ch chan *dbus.Call, finger_name string) *dbus.Call
- func (v *MockInterfaceDevice) GoVerifyStop(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDevice) ListEnrolledFingers(flags dbus.Flags, username string) ([]string, error)
- func (v *MockInterfaceDevice) Name() proxy.PropString
- func (v *MockInterfaceDevice) NumEnrollStages() proxy.PropInt32
- func (v *MockInterfaceDevice) Release(flags dbus.Flags) error
- func (v *MockInterfaceDevice) ScanType() proxy.PropString
- func (v *MockInterfaceDevice) VerifyStart(flags dbus.Flags, finger_name string) error
- func (v *MockInterfaceDevice) VerifyStop(flags dbus.Flags) error
- type MockInterfaceManager
- func (v *MockInterfaceManager) GetDefaultDevice(flags dbus.Flags) (dbus.ObjectPath, error)
- func (v *MockInterfaceManager) GetDevices(flags dbus.Flags) ([]dbus.ObjectPath, error)
- func (v *MockInterfaceManager) GoGetDefaultDevice(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceManager) GoGetDevices(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- type MockManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
func NewManager ¶
func NewManager(conn *dbus.Conn) Manager
type MockDevice ¶
type MockDevice struct { MockInterfaceDevice // interface net.reactivated.Fprint.Device proxy.MockObject }
type MockInterfaceDevice ¶
func (*MockInterfaceDevice) Claim ¶
func (v *MockInterfaceDevice) Claim(flags dbus.Flags, username string) error
func (*MockInterfaceDevice) ConnectEnrollStatus ¶
func (v *MockInterfaceDevice) ConnectEnrollStatus(cb func(arg0 string, arg1 bool)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDevice) ConnectVerifyFingerSelected ¶
func (v *MockInterfaceDevice) ConnectVerifyFingerSelected(cb func(arg0 string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDevice) ConnectVerifyStatus ¶
func (v *MockInterfaceDevice) ConnectVerifyStatus(cb func(arg0 string, arg1 bool)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDevice) DeleteEnrolledFinger ¶
func (v *MockInterfaceDevice) DeleteEnrolledFinger(flags dbus.Flags, finger_name string) error
func (*MockInterfaceDevice) DeleteEnrolledFingers ¶
func (v *MockInterfaceDevice) DeleteEnrolledFingers(flags dbus.Flags, username string) error
func (*MockInterfaceDevice) EnrollStart ¶
func (v *MockInterfaceDevice) EnrollStart(flags dbus.Flags, finger_name string) error
func (*MockInterfaceDevice) EnrollStop ¶
func (v *MockInterfaceDevice) EnrollStop(flags dbus.Flags) error
func (*MockInterfaceDevice) GoClaim ¶
func (v *MockInterfaceDevice) GoClaim(flags dbus.Flags, ch chan *dbus.Call, username string) *dbus.Call
func (*MockInterfaceDevice) GoDeleteEnrolledFinger ¶
func (v *MockInterfaceDevice) GoDeleteEnrolledFinger(flags dbus.Flags, ch chan *dbus.Call, finger_name string) *dbus.Call
func (*MockInterfaceDevice) GoDeleteEnrolledFingers ¶
func (v *MockInterfaceDevice) GoDeleteEnrolledFingers(flags dbus.Flags, ch chan *dbus.Call, username string) *dbus.Call
func (*MockInterfaceDevice) GoEnrollStart ¶
func (v *MockInterfaceDevice) GoEnrollStart(flags dbus.Flags, ch chan *dbus.Call, finger_name string) *dbus.Call
func (*MockInterfaceDevice) GoEnrollStop ¶
func (v *MockInterfaceDevice) GoEnrollStop(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDevice) GoListEnrolledFingers ¶
func (v *MockInterfaceDevice) GoListEnrolledFingers(flags dbus.Flags, ch chan *dbus.Call, username string) *dbus.Call
func (*MockInterfaceDevice) GoRelease ¶
func (v *MockInterfaceDevice) GoRelease(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDevice) GoVerifyStart ¶
func (v *MockInterfaceDevice) GoVerifyStart(flags dbus.Flags, ch chan *dbus.Call, finger_name string) *dbus.Call
func (*MockInterfaceDevice) GoVerifyStop ¶
func (v *MockInterfaceDevice) GoVerifyStop(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDevice) ListEnrolledFingers ¶
func (v *MockInterfaceDevice) ListEnrolledFingers(flags dbus.Flags, username string) ([]string, error)
func (*MockInterfaceDevice) Name ¶
func (v *MockInterfaceDevice) Name() proxy.PropString
func (*MockInterfaceDevice) NumEnrollStages ¶
func (v *MockInterfaceDevice) NumEnrollStages() proxy.PropInt32
func (*MockInterfaceDevice) Release ¶
func (v *MockInterfaceDevice) Release(flags dbus.Flags) error
func (*MockInterfaceDevice) ScanType ¶
func (v *MockInterfaceDevice) ScanType() proxy.PropString
func (*MockInterfaceDevice) VerifyStart ¶
func (v *MockInterfaceDevice) VerifyStart(flags dbus.Flags, finger_name string) error
func (*MockInterfaceDevice) VerifyStop ¶
func (v *MockInterfaceDevice) VerifyStop(flags dbus.Flags) error
type MockInterfaceManager ¶
func (*MockInterfaceManager) GetDefaultDevice ¶
func (v *MockInterfaceManager) GetDefaultDevice(flags dbus.Flags) (dbus.ObjectPath, error)
func (*MockInterfaceManager) GetDevices ¶
func (v *MockInterfaceManager) GetDevices(flags dbus.Flags) ([]dbus.ObjectPath, error)
func (*MockInterfaceManager) GoGetDefaultDevice ¶
func (v *MockInterfaceManager) GoGetDefaultDevice(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceManager) GoGetDevices ¶
func (v *MockInterfaceManager) GoGetDevices(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
type MockManager ¶
type MockManager struct { MockInterfaceManager // interface net.reactivated.Fprint.Manager proxy.MockObject }
Click to show internal directories.
Click to hide internal directories.