powercontrol

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package powercontrol provides the control of power related operations on DUT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChromeOSLogin

func ChromeOSLogin(ctx context.Context, dut *dut.DUT, rpcHint *testing.RPCHint) error

ChromeOSLogin performs login to DUT.

func PowerOntoDUT

func PowerOntoDUT(ctx context.Context, pxy *servo.Proxy, dut *dut.DUT) error

PowerOntoDUT performs power normal press to wake DUT.

func ShutdownAndWaitForPowerState

func ShutdownAndWaitForPowerState(ctx context.Context, pxy *servo.Proxy, dut *dut.DUT, powerState string) error

ShutdownAndWaitForPowerState verifies powerState(S5 or G3) after shutdown.

func ValidatePrevSleepState

func ValidatePrevSleepState(ctx context.Context, dut *dut.DUT, sleepStateValue int) error

ValidatePrevSleepState sleep state from cbmem command output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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