fingerprint

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: 7 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 CommonDevice

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

func NewCommonDevice

func NewCommonDevice(conn *dbus.Conn, serviceName string, path dbus.ObjectPath) (CommonDevice, error)

type Device

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

func NewDevice

func NewDevice(conn *dbus.Conn, serviceName string, path dbus.ObjectPath) (Device, 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

type MockInterfaceCommonDevice struct {
	mock.Mock
}

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 (*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 (*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 (*MockInterfaceCommonDevice) Verify

func (v *MockInterfaceCommonDevice) Verify(flags dbus.Flags, finger string) error

type MockInterfaceDevice

type MockInterfaceDevice struct {
	mock.Mock
}

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 (*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 (*MockInterfaceDevice) Verify

func (v *MockInterfaceDevice) Verify(flags dbus.Flags, finger string) error

Jump to

Keyboard shortcuts

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