assistant

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: 34 Imported by: 0

Documentation

Overview

Package assistant supports interaction with Assistant service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AndroidAndWeb

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

func BetterOnboardingAnimationPerf

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

BetterOnboardingAnimationPerf measures the performance of opening the Assistant UI for the first and second time in a session when Better Onboarding shows. It is believed that loading Better Onboarding assets from disk on first launch causes a noticeable animation smoothness performance hit.

func BluetoothQueries

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

BluetoothQueries tests that Assistant queries can be used to toggle Bluetooth on/off

func BrightnessQueries

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

BrightnessQueries tests that Assistant queries can be used to change screen brightness

func CardElementAnimationPerf

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

CardElementAnimationPerf measures the animation performance of animating card elements in and out of the assistant frame. It also measures the performance of expanding the launcher from peeking to half height when a card is displayed.

func EmbeddedUIOpenAndCloseAnimationPerf

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

func Hotkey

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

func LauncherToPeekingAnimationPerf

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

LauncherToPeekingAnimationPerf measures the animation smoothness of showing and hiding the assistant while the launcher is open.

func OpenAndroidApp

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

OpenAndroidApp tests the open Android apps feature of the Assistant.

func OpenSettings

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

OpenSettings tests that the Settings app can be opened by the Assistant

func SimpleQueries

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

func StartupInSignedInMode

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

func StartupInSignedOutMode

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

func SuggestionChipAnimationPerf

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

SuggestionChipAnimationPerf measures the animation smoothness of showing and hiding assistant suggestion chips upon executing a query and clicking on suggestions.

func TimeQuery

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

func VolumeQueries

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

func WifiQueries

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

WifiQueries tests that Assistant queries can be used to toggle WiFi on/off

Types

This section is empty.

Directories

Path Synopsis
Package assistantutils provides utility functions for running assistant tast tests.
Package assistantutils provides utility functions for running assistant tast tests.

Jump to

Keyboard shortcuts

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