nearbyshare

package
Version: v0.0.0-...-3f3e434 Latest Latest
Warning

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

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

Documentation

Overview

Package nearbyshare is used to control Chrome OS Nearby Share functionality.

Index

Constants

View Source
const AdditionalTestTime = 30 * time.Second

AdditionalTestTime is the amount of time to add to the share target detection and file transfer timeouts to make up the global test timeout. This is to account for any additional setup and non-sharing interactions performed by the test.

View Source
const BtsnoopLog = "nearby_btsnoop_cros.log"

BtsnoopLog is the filename of the Chrome OS btsnoop log that is saved for each test.

View Source
const ChromeLog = "nearby_chrome"

ChromeLog is the filename of the Chrome log that is saved for each test.

View Source
const DetectShareTargetTimeout = time.Minute

DetectShareTargetTimeout is the timeout for a sender to detect an available receiver or vice versa.

DetectionTimeout is the standard timeout for activities performed in a test excluding the actual file transfer. 2*DetectShareTargetTimeout accounts for the amount of time given for the sender to find+select the receiver, and then for the receiver to detect the incoming share from the sender.

View Source
const ExtraLargeFileOnlineTransferTimeout = 3 * time.Minute

ExtraLargeFileOnlineTransferTimeout is the transfer timeout for extra large file (~100MB) online transfer tests.

View Source
const KeepStateVar = "keepState"

KeepStateVar is the runtime variable name used to specify the chrome.KeepState parameter to preserve the DUT's user accounts.

View Source
const LargeFileOnlineTransferTimeout = time.Minute

LargeFileOnlineTransferTimeout is the transfer timeout for large file (~30MB) online transfer tests.

View Source
const MediumFileOnlineTransferTimeout = 30 * time.Second

MediumFileOnlineTransferTimeout is the transfer timeout for medium file (~5MB) online transfer tests. Online transfers should be at least 10x faster than offline transfers. Some extra time is required to account for the delay in upgrading the bandwidth.

View Source
const MessageLog = "nearby_messages"

MessageLog is the filename of the messages log that is saved for each test. It is saved automatically by tast for local tests. For remote tests we need to grab it within the test.

View Source
const NearbyLogDir = "/tmp/nearbyshare/"

NearbyLogDir is the dir that logs will be saved in temporarily on the DUT during remote tests before being pulled back to remote host.

View Source
const SmallFileTransferTimeout = 30 * time.Second

SmallFileTransferTimeout is the test timeout for small file (~10kb) transfer tests.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Source Files

Directories

Path Synopsis
Package nearbysetup is used to set up the environment for Nearby Share tests.
Package nearbysetup is used to set up the environment for Nearby Share tests.
Package nearbytestutils provides utility functions for Nearby Share tests.
Package nearbytestutils provides utility functions for Nearby Share tests.

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