power

package
v0.0.0-...-9474aff Latest Latest
Warning

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

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

Documentation

Overview

Package power contains local Tast tests that exercise Chrome OS power management.

These tests typically perform operations that are risky or impossible to do in a local test such as suspending or rebooting the DUT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootWithOnlyBattery

func BootWithOnlyBattery(ctx context.Context, s *testing.State)

func DUTBehaviorOnACInsertionTabletMode

func DUTBehaviorOnACInsertionTabletMode(ctx context.Context, s *testing.State)

func DUTWakeOnPowerButtonTabletMode

func DUTWakeOnPowerButtonTabletMode(ctx context.Context, s *testing.State)

func DUTWakethroughLid

func DUTWakethroughLid(ctx context.Context, s *testing.State)

func ExtendedDisplayColdboot

func ExtendedDisplayColdboot(ctx context.Context, s *testing.State)

func ExtendedDisplayFunctionality

func ExtendedDisplayFunctionality(ctx context.Context, s *testing.State)

func Reboot

func Reboot(ctx context.Context, s *testing.State)

func S0ixStabilityCheck

func S0ixStabilityCheck(ctx context.Context, s *testing.State)

func ShutdownPwrbuttonStress

func ShutdownPwrbuttonStress(ctx context.Context, s *testing.State)

ShutdownPwrbuttonStress Perform shutdown using power button.

func ShutdownWithCommandTabletMode

func ShutdownWithCommandTabletMode(ctx context.Context, s *testing.State)

func SuspendBattery

func SuspendBattery(ctx context.Context, s *testing.State)

func SuspendResumeUSBCDisplay

func SuspendResumeUSBCDisplay(ctx context.Context, s *testing.State)

func SystemWakeOnPowerbtnPress

func SystemWakeOnPowerbtnPress(ctx context.Context, s *testing.State)

Types

This section is empty.

Jump to

Keyboard shortcuts

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