Documentation ¶
Overview ¶
Package smartlock is for controlling ChromeOS Smart Lock functionality.
Index ¶
- func CheckSmartLockVisibilityOnLockScreen(ctx context.Context, expectVisible bool, tconn *chrome.TestConn, ...) error
- func CheckSmartLockVisibilityOnSigninScreen(ctx context.Context, expectVisible bool, cr *chrome.Chrome, ...) (*chrome.Chrome, *chrome.TestConn, error)
- func DisableSmartLockLogin(ctx context.Context, tconn *chrome.TestConn, cr *chrome.Chrome) error
- func EnableSmartLockLogin(ctx context.Context, tconn *chrome.TestConn, cr *chrome.Chrome, ...) error
- func OpenSmartLockSubpage(ctx context.Context, tconn *chrome.TestConn, cr *chrome.Chrome) (*ossettings.OSSettings, error)
- func SignOut(ctx context.Context, cr *chrome.Chrome, kb *input.KeyboardEventWriter) error
- func ToggleSmartLockEnabled(ctx context.Context, enable bool, tconn *chrome.TestConn, cr *chrome.Chrome, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSmartLockVisibilityOnLockScreen ¶
func CheckSmartLockVisibilityOnLockScreen(ctx context.Context, expectVisible bool, tconn *chrome.TestConn, username, password string) error
CheckSmartLockVisibilityOnLockScreen locks the session and checks whether Smart Lock is visible on the lock screen, before unlocking.
func CheckSmartLockVisibilityOnSigninScreen ¶
func CheckSmartLockVisibilityOnSigninScreen(ctx context.Context, expectVisible bool, cr *chrome.Chrome, tconn *chrome.TestConn, loginOpts, noLoginOpts []chrome.Option) (*chrome.Chrome, *chrome.TestConn, error)
CheckSmartLockVisibilityOnSigninScreen signs out and checks whether Smart Lock is visible on the signin screen, before signing back in.
func DisableSmartLockLogin ¶
DisableSmartLockLogin disables Smart Lock login functionality. This means that only unlocking with Smart Lock is allowed.
func EnableSmartLockLogin ¶
func EnableSmartLockLogin(ctx context.Context, tconn *chrome.TestConn, cr *chrome.Chrome, password string) error
EnableSmartLockLogin enables the ability to login with Smart Lock.
func OpenSmartLockSubpage ¶
func OpenSmartLockSubpage(ctx context.Context, tconn *chrome.TestConn, cr *chrome.Chrome) (*ossettings.OSSettings, error)
OpenSmartLockSubpage opens the Smart Lock sub page in OS Settings
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.