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 Fprintd
- type MockDevice
- type MockFprintd
- type MockInterfaceDevice
- func (v *MockInterfaceDevice) Claim(flags dbus.Flags, username string) error
- func (v *MockInterfaceDevice) ClaimForce(flags dbus.Flags, username string) error
- func (v *MockInterfaceDevice) ConnectEnrollStatus(cb func(status string, done bool)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDevice) ConnectVerifyFingerSelected(cb func(finger string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDevice) ConnectVerifyStatus(cb func(status string, done bool)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDevice) DeleteEnrolledFinger(flags dbus.Flags, username string, finger string) error
- func (v *MockInterfaceDevice) DeleteEnrolledFingers(flags dbus.Flags, username string) error
- func (v *MockInterfaceDevice) EnrollStart(flags dbus.Flags, finger string) error
- func (v *MockInterfaceDevice) EnrollStop(flags dbus.Flags) error
- func (v *MockInterfaceDevice) GetCapabilities(flags dbus.Flags) ([]string, error)
- func (v *MockInterfaceDevice) GoClaim(flags dbus.Flags, ch chan *dbus.Call, username string) *dbus.Call
- func (v *MockInterfaceDevice) GoClaimForce(flags dbus.Flags, ch chan *dbus.Call, username string) *dbus.Call
- func (v *MockInterfaceDevice) GoDeleteEnrolledFinger(flags dbus.Flags, ch chan *dbus.Call, username string, finger 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 string) *dbus.Call
- func (v *MockInterfaceDevice) GoEnrollStop(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDevice) GoGetCapabilities(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 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) Release(flags dbus.Flags) error
- func (v *MockInterfaceDevice) ScanType() proxy.PropString
- func (v *MockInterfaceDevice) VerifyStart(flags dbus.Flags, finger string) error
- func (v *MockInterfaceDevice) VerifyStop(flags dbus.Flags) error
- type MockInterfaceFprintd
- func (v *MockInterfaceFprintd) Devices() proxy.PropObjectPathArray
- func (v *MockInterfaceFprintd) GetDefaultDevice(flags dbus.Flags) (dbus.ObjectPath, error)
- func (v *MockInterfaceFprintd) GetDevices(flags dbus.Flags) ([]dbus.ObjectPath, error)
- func (v *MockInterfaceFprintd) GoGetDefaultDevice(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceFprintd) GoGetDevices(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceFprintd) GoTriggerUDevEvent(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceFprintd) TriggerUDevEvent(flags dbus.Flags) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fprintd ¶
func NewFprintd ¶
func NewFprintd(conn *dbus.Conn) Fprintd
type MockDevice ¶
type MockDevice struct { MockInterfaceDevice // interface org.deepin.dde.Fprintd1.Device proxy.MockObject }
type MockFprintd ¶
type MockFprintd struct { MockInterfaceFprintd // interface org.deepin.dde.Fprintd1 proxy.MockObject }
type MockInterfaceDevice ¶
func (*MockInterfaceDevice) Claim ¶
func (v *MockInterfaceDevice) Claim(flags dbus.Flags, username string) error
func (*MockInterfaceDevice) ClaimForce ¶
func (v *MockInterfaceDevice) ClaimForce(flags dbus.Flags, username string) error
func (*MockInterfaceDevice) ConnectEnrollStatus ¶
func (v *MockInterfaceDevice) ConnectEnrollStatus(cb func(status string, done bool)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDevice) ConnectVerifyFingerSelected ¶
func (v *MockInterfaceDevice) ConnectVerifyFingerSelected(cb func(finger string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDevice) ConnectVerifyStatus ¶
func (v *MockInterfaceDevice) ConnectVerifyStatus(cb func(status string, done bool)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDevice) DeleteEnrolledFinger ¶
func (v *MockInterfaceDevice) DeleteEnrolledFinger(flags dbus.Flags, username string, finger 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 string) error
func (*MockInterfaceDevice) EnrollStop ¶
func (v *MockInterfaceDevice) EnrollStop(flags dbus.Flags) error
func (*MockInterfaceDevice) GetCapabilities ¶
func (v *MockInterfaceDevice) GetCapabilities(flags dbus.Flags) ([]string, error)
func (*MockInterfaceDevice) GoClaim ¶
func (v *MockInterfaceDevice) GoClaim(flags dbus.Flags, ch chan *dbus.Call, username string) *dbus.Call
func (*MockInterfaceDevice) GoClaimForce ¶
func (v *MockInterfaceDevice) GoClaimForce(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, username string, finger 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 string) *dbus.Call
func (*MockInterfaceDevice) GoEnrollStop ¶
func (v *MockInterfaceDevice) GoEnrollStop(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDevice) GoGetCapabilities ¶
func (v *MockInterfaceDevice) GoGetCapabilities(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 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) 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 string) error
func (*MockInterfaceDevice) VerifyStop ¶
func (v *MockInterfaceDevice) VerifyStop(flags dbus.Flags) error
type MockInterfaceFprintd ¶
func (*MockInterfaceFprintd) Devices ¶
func (v *MockInterfaceFprintd) Devices() proxy.PropObjectPathArray
func (*MockInterfaceFprintd) GetDefaultDevice ¶
func (v *MockInterfaceFprintd) GetDefaultDevice(flags dbus.Flags) (dbus.ObjectPath, error)
func (*MockInterfaceFprintd) GetDevices ¶
func (v *MockInterfaceFprintd) GetDevices(flags dbus.Flags) ([]dbus.ObjectPath, error)
func (*MockInterfaceFprintd) GoGetDefaultDevice ¶
func (v *MockInterfaceFprintd) GoGetDefaultDevice(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceFprintd) GoGetDevices ¶
func (v *MockInterfaceFprintd) GoGetDevices(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceFprintd) GoTriggerUDevEvent ¶
func (v *MockInterfaceFprintd) GoTriggerUDevEvent(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceFprintd) TriggerUDevEvent ¶
func (v *MockInterfaceFprintd) TriggerUDevEvent(flags dbus.Flags) error
Click to show internal directories.
Click to hide internal directories.