arc

package
Version: v0.0.0-...-dc65556 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: BSD-3-Clause Imports: 150 Imported by: 0

Documentation

Overview

Package arc contains local Tast tests that exercise the ARC framework, which is used to run Android applications on Chrome OS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ADBValidity

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

func AccessibilityEvent

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

func AccessibilitySpeech

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

func AccessibilityTree

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

func AndroidIMEInBrowser

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

func AndroidInitCrash

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

func AppCrash

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

func AppLoadingPerf

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

AppLoadingPerf automates app loading benchmark measurements to simulate system resource utilization in terms of memory, file system, networking, graphics, ui, etc. that can found in a game or full-featured app. Each subflow will be tested separately including separate performance metrics uploads. The overall final benchmark score combined and uploaded as well.

func AppValidity

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

func AppVersion

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

func Appfuse

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

func AshWindowState

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

func AudioAEC

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

AudioAEC runs audio AEC tests.

func AudioValidity

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

AudioValidity runs audio validity tests.

func AuthPerf

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

AuthPerf steps through multiple opt-ins and collects checkin time, network wait time, sign-in time and Play Store shown time. It also reports average, min and max results.

func Availability

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

Availability Ensures that ARC is available after: * Login * Logout/Login * Updating GMS Core * Updating Play Store

func Backup

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

func BlackFlash

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

func BlockOutboundNetwork

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

func Boot

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

func BuildProperties

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

func CPUSet

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

func CachePerf

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

CachePerf steps through opt-in flow 5 times, caches enabled and caches disabled. Difference for Play Store shown times in case package manager, GMS Core and other caches enabled/disabled are tracked. This difference shows the benefit using the pre-generated caches. Results are:

* Average time difference for ARC optin in seconds
* Average time difference for ARC optin in percents relative to the boot with caches on.

Optional (in case RAPL interface is available)

* Average energy difference required for ARC optin in joules.
* Average energy difference required for ARC optin in percents relative to the boot with caches on.

func CameraPerfExtraMetrics

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

func Cgroups

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

func CheckAndroidARM64Support

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

func CheckAndroidVersion

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

CheckAndroidVersion Checks that 32-bit Android is not put in 64bit image unintentionally.

func ChromeCrash

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

func ChromeIntentPicker

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

func ChromeVirtualKeyboard

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

func Clipboard

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

func CompanionLibrary

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

func ConciergeCrash

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

func ConfigChanges

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

func ContainerMount

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

func CxxCrash

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

func DEQP

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

DEQP is the main tast test entry point. TODO(morg): Add support for different DEQP suite versions as a parameterized test flag (9.0r9, 9.0r10, etc).

func DataLeakPreventionRulesListArcClipboard

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

func DataMigration

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

DataMigration checks regressions for the following bugs: b/173835269 Can't download or install some apps after P->R data migration. b/183690158 vold hangs while processing fixupAllAppDirs() if there are thousands of files to fix.

(Home data data_migration_pi_* contains 5000 dirs under
 /sdcard/Android/data/com.android.vending/files/ for reproducing this bug.)

b/190293594 GMSCore for Pi is picked up on ARC R after P->R upgrade.

func DefaultAppLaunchWhenArcIsOff

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

func DefaultDisplayDensity

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

func DisableArc

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

func DownloadManager

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

func Downloads

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

func DownloadsFolder

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

func DragDrop

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

func Drivefs

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

func EnableArc

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

func EnableExternalStorage

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

func EnterpriseLogin

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

func FileSystemPermissions

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

func FileSystemXattrs

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

func FontSharing

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

func Fsp

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

func GLESMinRequirements

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

func GamePerformanceBuffers

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

func GamePerformanceRender

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

func GamePerformanceRenderUnderLoad

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

func Gamepad

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

func GamepadPerf

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

func GhostWindow

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

func Gralloc

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

func GuestPlayStore

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

func HWOverlayTablet

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

func IMEBlocking

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

func IMEBlockingVK

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

func IMESwitchShortcut

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

func IPv6Connectivity

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

func ImageDropFromDownloads

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

func ImagePaste

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

func ImagePasteFromDownloads

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

func InputCompat

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

func IntentForward

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

func KernelCrash

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

func KeyCharacterMap

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

func KeyboardPerf

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

func KillProcess

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

func LauncherApps

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

func LibvdaDecode

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

func LibvdaGpuTests

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

func LifecycleChromeOSPerf

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

func MIDIClient

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

func MTP

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

func MediaProjectionPermissions

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

func MediaScanPerf

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

func MediaSessionGain

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

func MediaSessionGainTransient

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

func MediaSessionGainTransientDuck

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

func MemoryAndroidPerf

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

func MemoryChromeOSPerf

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

func MemoryShiftingPerf

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

func MiniContainer

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

func MiniContainerState

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

func MiniVM

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

func MojoProxyCrash

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

func MountOBB

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

func MouseInput

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

MouseInput runs several sub-tests, where each sub-test sets up the Chrome WM environment as specified by the motioninput.WMTestParams. Each sub-test installs and runs the test application (ArcMotionInputTest.apk), injects various input events into ChromeOS through the test API, and verifies that those events were received by the Android application in the expected screen locations.

func MousePerf

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

func MultiDisplay

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

MultiDisplay test requires two connected displays.

func MultiNetworking

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

func MultiNetworkingConnectivity

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

func MulticastForwarder

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

func MultipleArcProfile

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

func MultipleProfileApps

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

func MyFiles

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

func NativeBridge

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

func NearbyShareSend

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

NearbyShareSend tests sharing with a CrOS device as sender and Android device as receiver. The test uses a custom Android APK (ArcShareTestApp) to verify sharing text, small, medium, and/or large files from Android app to share target through the Android Sharesheet. It also verifies ARC Nearby Share cache files directory is cleaned after sharing is completed.

func Notification

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

func OobeArc

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

func OobeArcAppOpen

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

func OptInAfterInterruption

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

OptInAfterInterruption verifies ARC provisioning is completed after interruption.

This test runs for multiple iterations. On each iteration it starts initial ARC provisioning and then restarts Chrome after some delay. It confirms that ARC completes provisioning on next login. The delays used for each test iteration are based on cheets_OptInAfterInterruption autotest data collected during NYC. If the expected delays list is exhausted, the test will fail. The test passes when ARC is provisioned before Chrome restarts. The pass case indicates that trying longer delays does not make sense on this platform because ARC would be provisioning in this interval and next Chrome restart will deal with already provisioned ARC and provisioning flow won't be initiated.

func Optin

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

Optin tests optin flow.

func OptinNetworkError

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

OptinNetworkError tests optin flow with network error.

func PIP

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

func PIPEnergyAndPower

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

func PIPRoundedCornersUnderlay

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

func PerAppDensity

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

func PhysicalKeyboard

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

func PlayAutoInstall

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

func PlayStore

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

func PlayStoreOmnibox

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

func PlayStorePersistent

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

func Playability

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

Playability tests whether a build is "playable". It tests whether we can open an app, install apks, and change window state.

func PointerCapture

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

PointerCapture tests the Android Pointer Capture API support on ChromeOS. It uses a test application that requests Pointer Capture and verifies the relative movements the app receives when injecting events into ChromeOS through a uinput mouse. More about Pointer Capture: https://developer.android.com/training/gestures/movement#pointer-capture

func PowerAudioPlaybackPerf

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

PowerAudioPlaybackPerf measures the battery drain during audio playback with different performance flags.

func PowerCameraPreviewPerf

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

func PowerCameraRecordingPerf

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

func PowerIdlePerf

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

func PowerVideoDecodePerf

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

func PowerVideoEncodePerf

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

func PreIMEKeyEvent

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

func Preopt

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

func Print

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

func QuotaProjectID

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

func Reboot

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

func RemovableMedia

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

func ResizeActivity

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

func ResizeLock

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

func RobloxUncompressOBBPerf

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

func SELinuxViolation

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

func ScreenRotationPerf

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

func SensorPerf

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

func SettingsBridge

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

func Sharesheet

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

func ShelfIcons

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

ShelfIcons opens 4 windows of an app that will set custom icons and window titles. The 4 windows will be grouped in groups of 2. The test then checks that the grouping is respected by the shelf, and that the icons and titles are displayed correctly when clicking the shelf entries.

func SmartSelectionChrome

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

func SoftInputMode

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

func SplitView

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

func StandardizedKeyboardCopyPaste

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

StandardizedKeyboardCopyPaste runs all the provided test cases.

func StandardizedKeyboardKeys

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

StandardizedKeyboardKeys runs all the provided test cases.

func StandardizedKeyboardTyping

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

StandardizedKeyboardTyping runs all the provided test cases.

func StandardizedMouseHover

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

func StandardizedMouseLeftClick

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

StandardizedMouseLeftClick runs all the provided test cases.

func StandardizedMouseRightClick

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

func StandardizedMouseScroll

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

func StandardizedTouchscreenLongTap

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

StandardizedTouchscreenLongTap runs all the provided test cases.

func StandardizedTouchscreenScroll

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

func StandardizedTouchscreenTap

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

StandardizedTouchscreenTap runs all the provided test cases.

func StandardizedTouchscreenThreeFingerSwipe

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

func StandardizedTouchscreenZoom

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

func StandardizedTrackpadLeftClick

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

func StandardizedTrackpadRightClick

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

func StandardizedTrackpadScroll

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

func StandardizedTrackpadZoom

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

func StartStop

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

func SurfaceInsets

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

func TaskManager

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

func TextToSpeech

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

func TitleBar

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

func TouchInput

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

TouchInput runs several sub-tests, where each sub-test sets up the Chrome WM environment as specified by the motioninput.WMTestParams. Each sub-test installs and runs the test application (ArcMotionInputTest.apk), injects various input events into ChromeOS through uinput devices, and verifies that those events were received by the Android application in the expected screen locations.

func TouchPerf

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

func UIAutomator

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

func UnicornBlockedApps

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

func UnicornCannotAddNonEduAccount

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

func UnicornDefaultApps

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

func UnicornPaidAppParentPermission

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

func UnicornParentPermission

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

func UnicornPlaystoreOn

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

func UniformScaleFactor

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

func UniformScaleFactorNonMaximized

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

func UreadaheadValidation

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

func VMConfig

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

func VMPstoreDump

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

VMPstoreDump runs the vm_pstore_dump command and check whether it stops without something apparently wrong (e.g. segmentation fault). It's difficult to do more detailed tests because it's difficult to write strings to the console output when SELinux is enabled.

func VTSKeymaster

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

func VerifyDefaultApps

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

VerifyDefaultApps checks that default ARC apps are available after boot. Some of these apps are installed through PAI and will only have "promise icon" stubs available on first boot. This PAI integration is tested separately by arc.PlayAutoInstall.

func VerifySettings

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

func VideoDecodeAccel

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

func VideoDecodeAccelPerf

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

func VideoDecodeAccelVDVDA

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

func VideoDecodeAccelVDVDAPerf

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

func VideoEncodeAccel

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

func VideoEncodeAccelPerf

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

func VirtualDesks

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

func WMNonresizableClamshell

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

func WMNonresizableConversion

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

func WMNonresizableTablet

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

func WMResizableClamshell

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

func WMResizableConversion

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

func WMResizableTablet

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

func WindowDefaultBounds

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

func WindowDefaultBoundsAllowlist

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

WindowDefaultBoundsAllowlist checks whether top N apps have an "allowlisted default size". This test is part of the specification of WM R.

func WindowManagerCUJ

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

func WindowOutsideDisplay

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

func WindowState

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

Types

type ADBOverUSBService

type ADBOverUSBService struct {
	// contains filtered or unexported fields
}

ADBOverUSBService implements tast.cros.arc.ADBOverUSBService

func (*ADBOverUSBService) CheckADBDJobStatus

func (*ADBOverUSBService) CheckADBDJobStatus(ctx context.Context, req *empty.Empty) (*empty.Empty, error)

CheckADBDJobStatus checks arc(vm)-adbd job status

func (*ADBOverUSBService) SetUDCEnabled

SetUDCEnabled enables or disables UDC on DUT. If initial setting is as the same as requested, it will be no-ops.

type AdbSideloadService

type AdbSideloadService struct {
	// contains filtered or unexported fields
}

func (*AdbSideloadService) ConfirmEnablingAdbSideloading

func (*AdbSideloadService) ConfirmEnablingAdbSideloading(ctx context.Context, request *arcpb.AdbSideloadServiceRequest) (*empty.Empty, error)

func (*AdbSideloadService) SetRequestAdbSideloadFlag

func (*AdbSideloadService) SetRequestAdbSideloadFlag(ctx context.Context, request *arcpb.SigninRequest) (*empty.Empty, error)

type GmsCoreCacheService

type GmsCoreCacheService struct {
	// contains filtered or unexported fields
}

GmsCoreCacheService implements tast.cros.arc.GmsCoreCacheService.

func (*GmsCoreCacheService) Generate

func (c *GmsCoreCacheService) Generate(ctx context.Context, request *arcpb.GmsCoreCacheRequest) (res *arcpb.GmsCoreCacheResponse, retErr error)

Generate generates GMS Core and GFS caches.

type PerfBootService

type PerfBootService struct {
	// contains filtered or unexported fields
}

PerfBootService implements tast.cros.arc.PerfBootService.

func (*PerfBootService) GetPerfValues

func (c *PerfBootService) GetPerfValues(ctx context.Context, req *empty.Empty) (*perfpb.Values, error)

func (*PerfBootService) WaitUntilCPUCoolDown

func (c *PerfBootService) WaitUntilCPUCoolDown(ctx context.Context, req *empty.Empty) (*empty.Empty, error)

type UreadaheadPackService

type UreadaheadPackService struct {
	// contains filtered or unexported fields
}

UreadaheadPackService implements tast.cros.arc.UreadaheadPackService.

func (*UreadaheadPackService) Generate

Generate generates ureadahead pack for requested Chrome login mode for VM or container.

Source Files

Directories

Path Synopsis
Package a11y provides functions to assist with interacting with accessibility settings in ARC accessibility tests.
Package a11y provides functions to assist with interacting with accessibility settings in ARC accessibility tests.
Package apploading provides functions to assist with instrumenting and uploading performance metrics for ARC apploading tasts.
Package apploading provides functions to assist with instrumenting and uploading performance metrics for ARC apploading tasts.
Package arccrash provides utilities for tests of crash reporting.
Package arccrash provides utilities for tests of crash reporting.
Package audio contains common utilities to help writing ARC audio tests.
Package audio contains common utilities to help writing ARC audio tests.
Package c2e2etest contains constants and utilities for the prebuilt android test APK.
Package c2e2etest contains constants and utilities for the prebuilt android test APK.
Package cache provides helpers to work with caches in ARC.
Package cache provides helpers to work with caches in ARC.
Package chromeproxy provides the go binding of chrome.proxy APIs.
Package chromeproxy provides the go binding of chrome.proxy APIs.
Package containermount implements the tests for ARC related mount points.
Package containermount implements the tests for ARC related mount points.
Package inputlatency contains functions and structs used for measuring input latency on ARC.
Package inputlatency contains functions and structs used for measuring input latency on ARC.
Package libvda provides common code for testing libvda's GPU implementation (go/libvda).
Package libvda provides common code for testing libvda's GPU implementation (go/libvda).
Package mediasession contains common utilities to help writing ARC media session tests.
Package mediasession contains common utilities to help writing ARC media session tests.
Package memory contains common utilities to allocate memory and read memory pressure state on ChromeOS and Android.
Package memory contains common utilities to allocate memory and read memory pressure state on ChromeOS and Android.
Package minicontainer implements the tests to verify ARC Mini container's conditions.
Package minicontainer implements the tests to verify ARC Mini container's conditions.
Package motioninput provides a representation of Android's MotionEvent, and allows communication with the test application ArcMotionInputTest.apk via a Tester.
Package motioninput provides a representation of Android's MotionEvent, and allows communication with the test application ArcMotionInputTest.apk via a Tester.
Package nethelper provides functionality to support test execution by handling requests from various tests coming via network in context of ARC TAST test.
Package nethelper provides functionality to support test execution by handling requests from various tests coming via network in context of ARC TAST test.
Package perappdensity provides functions to assist with perappdensity tast tests.
Package perappdensity provides functions to assist with perappdensity tast tests.
Package removablemedia implements the testing sceanrio of arc.RemovableMedia test and its utilities.
Package removablemedia implements the testing sceanrio of arc.RemovableMedia test and its utilities.
Package screen provides helper functions to assist with verifying screen state in tast tests.
Package screen provides helper functions to assist with verifying screen state in tast tests.
Package standardizedtestutil provides helper functions to assist with running standardized arc tests for against android applications.
Package standardizedtestutil provides helper functions to assist with running standardized arc tests for against android applications.
Package startstop provides a test fixture to make sure some conditions around ARC starting and ARC stopping for performance and stability by reducing the number of Chrome launching.
Package startstop provides a test fixture to make sure some conditions around ARC starting and ARC stopping for performance and stability by reducing the number of Chrome launching.
Package storage contains helper functions to test different FilesApp storage folders, e.g.
Package storage contains helper functions to test different FilesApp storage folders, e.g.
Package video provides common code to run ARC binary tests for video encoding.
Package video provides common code to run ARC binary tests for video encoding.
Package wm provides Window Manager Helper functions.
Package wm provides Window Manager Helper functions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL