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 CommonDevice
- type Device
- type MockCommonDevice
- type MockDevice
- type MockInterfaceCommonDevice
- func (v *MockInterfaceCommonDevice) Capability() proxy.PropInt32
- func (v *MockInterfaceCommonDevice) Claim(flags dbus.Flags, userId string, claimed bool) error
- func (v *MockInterfaceCommonDevice) ConnectEnrollStatus(cb func(userId string, code int32, msg string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceCommonDevice) ConnectTouch(cb func(userId string, pressed bool)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceCommonDevice) ConnectVerifyStatus(cb func(userId string, code int32, msg string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceCommonDevice) DeleteAllFingers(flags dbus.Flags, userId string) error
- func (v *MockInterfaceCommonDevice) DeleteFinger(flags dbus.Flags, userId string, finger string) error
- func (v *MockInterfaceCommonDevice) Enroll(flags dbus.Flags, username string, finger string) error
- func (v *MockInterfaceCommonDevice) GoClaim(flags dbus.Flags, ch chan *dbus.Call, userId string, claimed bool) *dbus.Call
- func (v *MockInterfaceCommonDevice) GoDeleteAllFingers(flags dbus.Flags, ch chan *dbus.Call, userId string) *dbus.Call
- func (v *MockInterfaceCommonDevice) GoDeleteFinger(flags dbus.Flags, ch chan *dbus.Call, userId string, finger string) *dbus.Call
- func (v *MockInterfaceCommonDevice) GoEnroll(flags dbus.Flags, ch chan *dbus.Call, username string, finger string) *dbus.Call
- func (v *MockInterfaceCommonDevice) GoListFingers(flags dbus.Flags, ch chan *dbus.Call, userId string) *dbus.Call
- func (v *MockInterfaceCommonDevice) GoRenameFinger(flags dbus.Flags, ch chan *dbus.Call, userId string, finger string, ...) *dbus.Call
- func (v *MockInterfaceCommonDevice) GoStopEnroll(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceCommonDevice) GoStopVerify(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceCommonDevice) GoVerify(flags dbus.Flags, ch chan *dbus.Call, finger string) *dbus.Call
- func (v *MockInterfaceCommonDevice) ListFingers(flags dbus.Flags, userId string) ([]string, error)
- func (v *MockInterfaceCommonDevice) Name() proxy.PropString
- func (v *MockInterfaceCommonDevice) RenameFinger(flags dbus.Flags, userId string, finger string, newName string) error
- func (v *MockInterfaceCommonDevice) SetInterfaceName_(string)
- func (v *MockInterfaceCommonDevice) State() proxy.PropInt32
- func (v *MockInterfaceCommonDevice) StopEnroll(flags dbus.Flags) error
- func (v *MockInterfaceCommonDevice) StopVerify(flags dbus.Flags) error
- func (v *MockInterfaceCommonDevice) Type() proxy.PropInt32
- func (v *MockInterfaceCommonDevice) Verify(flags dbus.Flags, finger string) error
- type MockInterfaceDevice
- func (v *MockInterfaceDevice) Capability() proxy.PropInt32
- func (v *MockInterfaceDevice) Claim(flags dbus.Flags, userId string, claimed bool) error
- func (v *MockInterfaceDevice) ConnectEnrollStatus(cb func(userId string, code int32, msg string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDevice) ConnectTouch(cb func(userId string, pressed bool)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDevice) ConnectVerifyStatus(cb func(userId string, code int32, msg string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDevice) DeleteAllFingers(flags dbus.Flags, userId string) error
- func (v *MockInterfaceDevice) DeleteFinger(flags dbus.Flags, userId string, finger string) error
- func (v *MockInterfaceDevice) Enroll(flags dbus.Flags, finger string) error
- func (v *MockInterfaceDevice) GoClaim(flags dbus.Flags, ch chan *dbus.Call, userId string, claimed bool) *dbus.Call
- func (v *MockInterfaceDevice) GoDeleteAllFingers(flags dbus.Flags, ch chan *dbus.Call, userId string) *dbus.Call
- func (v *MockInterfaceDevice) GoDeleteFinger(flags dbus.Flags, ch chan *dbus.Call, userId string, finger string) *dbus.Call
- func (v *MockInterfaceDevice) GoEnroll(flags dbus.Flags, ch chan *dbus.Call, finger string) *dbus.Call
- func (v *MockInterfaceDevice) GoListFingers(flags dbus.Flags, ch chan *dbus.Call, userId string) *dbus.Call
- func (v *MockInterfaceDevice) GoRenameFinger(flags dbus.Flags, ch chan *dbus.Call, userId string, finger string, ...) *dbus.Call
- func (v *MockInterfaceDevice) GoStopEnroll(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDevice) GoStopVerify(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDevice) GoVerify(flags dbus.Flags, ch chan *dbus.Call, finger string) *dbus.Call
- func (v *MockInterfaceDevice) ListFingers(flags dbus.Flags, userId string) ([]string, error)
- func (v *MockInterfaceDevice) Name() proxy.PropString
- func (v *MockInterfaceDevice) RenameFinger(flags dbus.Flags, userId string, finger string, newName string) error
- func (v *MockInterfaceDevice) SetInterfaceName_(string)
- func (v *MockInterfaceDevice) State() proxy.PropInt32
- func (v *MockInterfaceDevice) StopEnroll(flags dbus.Flags) error
- func (v *MockInterfaceDevice) StopVerify(flags dbus.Flags) error
- func (v *MockInterfaceDevice) Type() proxy.PropInt32
- func (v *MockInterfaceDevice) Verify(flags dbus.Flags, finger string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonDevice ¶
func NewCommonDevice ¶
func NewCommonDevice(conn *dbus.Conn, serviceName string, path dbus.ObjectPath) (CommonDevice, error)
type MockCommonDevice ¶
type MockCommonDevice struct { MockInterfaceCommonDevice // interface org.deepin.dde.Authenticate1.Fingerprint.CommonDevice proxy.MockObject }
type MockDevice ¶
type MockDevice struct { MockInterfaceDevice // interface org.deepin.dde.Authenticate1.Fingerprint.Device proxy.MockObject }
type MockInterfaceCommonDevice ¶
func (*MockInterfaceCommonDevice) Capability ¶
func (v *MockInterfaceCommonDevice) Capability() proxy.PropInt32
func (*MockInterfaceCommonDevice) Claim ¶
func (v *MockInterfaceCommonDevice) Claim(flags dbus.Flags, userId string, claimed bool) error
func (*MockInterfaceCommonDevice) ConnectEnrollStatus ¶
func (v *MockInterfaceCommonDevice) ConnectEnrollStatus(cb func(userId string, code int32, msg string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceCommonDevice) ConnectTouch ¶
func (v *MockInterfaceCommonDevice) ConnectTouch(cb func(userId string, pressed bool)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceCommonDevice) ConnectVerifyStatus ¶
func (v *MockInterfaceCommonDevice) ConnectVerifyStatus(cb func(userId string, code int32, msg string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceCommonDevice) DeleteAllFingers ¶
func (v *MockInterfaceCommonDevice) DeleteAllFingers(flags dbus.Flags, userId string) error
func (*MockInterfaceCommonDevice) DeleteFinger ¶
func (v *MockInterfaceCommonDevice) DeleteFinger(flags dbus.Flags, userId string, finger string) error
func (*MockInterfaceCommonDevice) Enroll ¶
func (v *MockInterfaceCommonDevice) Enroll(flags dbus.Flags, username string, finger string) error
func (*MockInterfaceCommonDevice) GoClaim ¶
func (v *MockInterfaceCommonDevice) GoClaim(flags dbus.Flags, ch chan *dbus.Call, userId string, claimed bool) *dbus.Call
func (*MockInterfaceCommonDevice) GoDeleteAllFingers ¶
func (v *MockInterfaceCommonDevice) GoDeleteAllFingers(flags dbus.Flags, ch chan *dbus.Call, userId string) *dbus.Call
func (*MockInterfaceCommonDevice) GoDeleteFinger ¶
func (v *MockInterfaceCommonDevice) GoDeleteFinger(flags dbus.Flags, ch chan *dbus.Call, userId string, finger string) *dbus.Call
func (*MockInterfaceCommonDevice) GoEnroll ¶
func (v *MockInterfaceCommonDevice) GoEnroll(flags dbus.Flags, ch chan *dbus.Call, username string, finger string) *dbus.Call
func (*MockInterfaceCommonDevice) GoListFingers ¶
func (v *MockInterfaceCommonDevice) GoListFingers(flags dbus.Flags, ch chan *dbus.Call, userId string) *dbus.Call
func (*MockInterfaceCommonDevice) GoRenameFinger ¶
func (v *MockInterfaceCommonDevice) GoRenameFinger(flags dbus.Flags, ch chan *dbus.Call, userId string, finger string, newName string) *dbus.Call
func (*MockInterfaceCommonDevice) GoStopEnroll ¶
func (v *MockInterfaceCommonDevice) GoStopEnroll(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceCommonDevice) GoStopVerify ¶
func (v *MockInterfaceCommonDevice) GoStopVerify(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceCommonDevice) GoVerify ¶
func (v *MockInterfaceCommonDevice) GoVerify(flags dbus.Flags, ch chan *dbus.Call, finger string) *dbus.Call
func (*MockInterfaceCommonDevice) ListFingers ¶
func (v *MockInterfaceCommonDevice) ListFingers(flags dbus.Flags, userId string) ([]string, error)
func (*MockInterfaceCommonDevice) Name ¶
func (v *MockInterfaceCommonDevice) Name() proxy.PropString
func (*MockInterfaceCommonDevice) RenameFinger ¶
func (v *MockInterfaceCommonDevice) RenameFinger(flags dbus.Flags, userId string, finger string, newName string) error
func (*MockInterfaceCommonDevice) SetInterfaceName_ ¶
func (v *MockInterfaceCommonDevice) SetInterfaceName_(string)
func (*MockInterfaceCommonDevice) State ¶
func (v *MockInterfaceCommonDevice) State() proxy.PropInt32
func (*MockInterfaceCommonDevice) StopEnroll ¶
func (v *MockInterfaceCommonDevice) StopEnroll(flags dbus.Flags) error
func (*MockInterfaceCommonDevice) StopVerify ¶
func (v *MockInterfaceCommonDevice) StopVerify(flags dbus.Flags) error
func (*MockInterfaceCommonDevice) Type ¶
func (v *MockInterfaceCommonDevice) Type() proxy.PropInt32
func (*MockInterfaceCommonDevice) Verify ¶
func (v *MockInterfaceCommonDevice) Verify(flags dbus.Flags, finger string) error
type MockInterfaceDevice ¶
func (*MockInterfaceDevice) Capability ¶
func (v *MockInterfaceDevice) Capability() proxy.PropInt32
func (*MockInterfaceDevice) Claim ¶
func (v *MockInterfaceDevice) Claim(flags dbus.Flags, userId string, claimed bool) error
func (*MockInterfaceDevice) ConnectEnrollStatus ¶
func (v *MockInterfaceDevice) ConnectEnrollStatus(cb func(userId string, code int32, msg string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDevice) ConnectTouch ¶
func (v *MockInterfaceDevice) ConnectTouch(cb func(userId string, pressed bool)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDevice) ConnectVerifyStatus ¶
func (v *MockInterfaceDevice) ConnectVerifyStatus(cb func(userId string, code int32, msg string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDevice) DeleteAllFingers ¶
func (v *MockInterfaceDevice) DeleteAllFingers(flags dbus.Flags, userId string) error
func (*MockInterfaceDevice) DeleteFinger ¶
func (v *MockInterfaceDevice) DeleteFinger(flags dbus.Flags, userId string, finger string) error
func (*MockInterfaceDevice) Enroll ¶
func (v *MockInterfaceDevice) Enroll(flags dbus.Flags, finger string) error
func (*MockInterfaceDevice) GoClaim ¶
func (v *MockInterfaceDevice) GoClaim(flags dbus.Flags, ch chan *dbus.Call, userId string, claimed bool) *dbus.Call
func (*MockInterfaceDevice) GoDeleteAllFingers ¶
func (v *MockInterfaceDevice) GoDeleteAllFingers(flags dbus.Flags, ch chan *dbus.Call, userId string) *dbus.Call
func (*MockInterfaceDevice) GoDeleteFinger ¶
func (v *MockInterfaceDevice) GoDeleteFinger(flags dbus.Flags, ch chan *dbus.Call, userId string, finger string) *dbus.Call
func (*MockInterfaceDevice) GoEnroll ¶
func (v *MockInterfaceDevice) GoEnroll(flags dbus.Flags, ch chan *dbus.Call, finger string) *dbus.Call
func (*MockInterfaceDevice) GoListFingers ¶
func (v *MockInterfaceDevice) GoListFingers(flags dbus.Flags, ch chan *dbus.Call, userId string) *dbus.Call
func (*MockInterfaceDevice) GoRenameFinger ¶
func (v *MockInterfaceDevice) GoRenameFinger(flags dbus.Flags, ch chan *dbus.Call, userId string, finger string, newName string) *dbus.Call
func (*MockInterfaceDevice) GoStopEnroll ¶
func (v *MockInterfaceDevice) GoStopEnroll(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDevice) GoStopVerify ¶
func (v *MockInterfaceDevice) GoStopVerify(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDevice) GoVerify ¶
func (v *MockInterfaceDevice) GoVerify(flags dbus.Flags, ch chan *dbus.Call, finger string) *dbus.Call
func (*MockInterfaceDevice) ListFingers ¶
func (v *MockInterfaceDevice) ListFingers(flags dbus.Flags, userId string) ([]string, error)
func (*MockInterfaceDevice) Name ¶
func (v *MockInterfaceDevice) Name() proxy.PropString
func (*MockInterfaceDevice) RenameFinger ¶
func (v *MockInterfaceDevice) RenameFinger(flags dbus.Flags, userId string, finger string, newName string) error
func (*MockInterfaceDevice) SetInterfaceName_ ¶
func (v *MockInterfaceDevice) SetInterfaceName_(string)
func (*MockInterfaceDevice) State ¶
func (v *MockInterfaceDevice) State() proxy.PropInt32
func (*MockInterfaceDevice) StopEnroll ¶
func (v *MockInterfaceDevice) StopEnroll(flags dbus.Flags) error
func (*MockInterfaceDevice) StopVerify ¶
func (v *MockInterfaceDevice) StopVerify(flags dbus.Flags) error
func (*MockInterfaceDevice) Type ¶
func (v *MockInterfaceDevice) Type() proxy.PropInt32
func (*MockInterfaceDevice) Verify ¶
func (v *MockInterfaceDevice) Verify(flags dbus.Flags, finger string) error
Click to show internal directories.
Click to hide internal directories.