generic_common

Inherit

Definitions

Only pytest definitions are listed.

Defined Name Pytest Name
Accelerometers accelerometers
AccelerometersCalibration accelerometers_calibration
AccelerometersLidAngle accelerometers_lid_angle
ActivateRegCode shopfloor_service
AllCheckPoint summary
AudioJack audio_loop
Backlight backlight
BadBlocks bad_blocks
Barrier summary
BaseAccelerometersCalibration accelerometers_calibration
Battery battery
BatterySysfs battery_sysfs
BlockingCharge blocking_charge
Bluetooth bluetooth
Button button
Camera camera
CameraManual camera
ChargeDischargeCurrent battery_current
ChargerTypeDetection ac_power
CheckCr50BoardIDNotSet check_cr50_board_id
CheckPoint summary
CheckReleaseImage check_image_version
CheckSerialNumber check_serial_number
ClearTPMOwnerRequest tpm_clear_owner
Cr50WriteWhitelabelFlags cr50_write_whitelabel_flags
Display display
DisplayPoint display_point
ExecShell exec_shell
ExternalDisplay external_display
Finish message
FlashNetboot flash_netboot
FlushTestlog sync_factory_server
GetDeviceInfo shopfloor_service
Gyroscope gyroscope
GyroscopeCalibration gyroscope_calibration
Idle nop
Keyboard keyboard
KeyboardBacklight keyboard_backlight
LED led
LidAccelerometersCalibration accelerometers_calibration
LidSwitch lid_switch
Message message
ModelSKU model_sku
ModemSecurity modem_security
PartitionTable partition_table
Placeholder nop
Probe probe.probe
QRScan camera
ReSignReleaseKernel update_kernel
ReadDeviceDataFromVPD read_device_data_from_vpd
RemovableStorage removable_storage
SDPerformance removable_storage
Scan scan
ShopfloorNotifyEnd shopfloor_service
ShopfloorNotifyStart shopfloor_service
ShopfloorService shopfloor_service
SpatialSensorCalibration spatial_sensor_calibration
SpeakerDMic audio_loop
Start start
StationEndSyncFactoryServer sync_factory_server
StressAppTest stressapptest
Stylus stylus
SuspendResume suspend_resume
SyncFactoryServer sync_factory_server
SyncFactoryServerUploadReport sync_factory_server
TPMVerifyEK tpm_verify_ek
TabletMode tablet_mode
TabletRotation tablet_rotation
ThermalSensors thermal_sensors
Touchpad touchpad
Touchscreen touchscreen
TouchscreenUniformity touch_uniformity
URandom urandom
USBPerformance removable_storage
USBTypeCManualCharge battery_current
UpdateDeviceData update_device_data
UpdateSKUID update_sku
UploadRegCodes sync_factory_server
VerifyRootPartition verify_root_partition
WebGLAquarium webgl_aquarium
WifiSSIDList wifi_throughput
Wireless wireless_antenna
WirelessAntenna wireless_antenna
WirelessRadiotap wireless_antenna
WriteDeviceDataToVPD write_device_data_to_vpd
WriteHWID hwid
WriteProtectSwitch write_protect_switch

Accelerometers

AccelerometersCalibration

args

orientation
{
  "in_accel_x": 0,
  "in_accel_y": 0,
  "in_accel_z": 1
}
spec_offset
[
  0.5,
  0.5
]

AccelerometersLidAngle

args

spec_offset
[
  0.5,
  0.5
]

ActivateRegCode

args

method
"ActivateRegCode"

AllCheckPoint

args

disable_input_on_fail
true
pass_without_prompt
false
accessibility
true
include_parents
true

AudioJack

args

check_dongle
true
tests_to_conduct
[
  {
    "freq_threshold": 300,
    "rms_threshold": [
      0.08,
      null
    ],
    "type": "sinewav"
  }
]
require_dongle
true

Backlight

BadBlocks

When run alone, this takes ~.5s/MiB (for four passes). We’ll do a gigabyte, which takes about 9 minutes.

args

log_threshold_secs
10
max_bytes
1073741824
timeout_secs
120

Barrier

args

disable_input_on_fail
true
pass_without_prompt
true
accessibility
true

BaseAccelerometersCalibration

args

orientation
{
  "in_accel_x": 0,
  "in_accel_y": 0,
  "in_accel_z": 1
}
spec_offset
[
  0.5,
  0.5
]
location
"base"

Battery

BatterySysfs

BlockingCharge

Bluetooth

args

scan_devices
true
expected_adapter_count
1
average_rssi_threshold
-55.0

Button

args

timeout_secs
120

Camera

CameraManual

args

mode
"manual"

ChargeDischargeCurrent

args

min_charging_current
150
timeout_secs
30
min_discharging_current
400
max_battery_level
90

ChargerTypeDetection

CheckCr50BoardIDNotSet

args

board_id_type
"ffffffff"
board_id_flags
"ffffffff"

CheckPoint

args

disable_input_on_fail
true
pass_without_prompt
false
accessibility
true

CheckReleaseImage

args

use_netboot
false
check_release_image
true

CheckSerialNumber

ClearTPMOwnerRequest

Cr50WriteWhitelabelFlags

Display

DisplayPoint

args

max_point_count
5

ExecShell

ExternalDisplay

args

main_display
"eDP-1"
display_info
[
  "External Dispaly",
  "HDMI",
  null,
  0
]

Finish

FlashNetboot

FlushTestlog

args

upload_report
false
flush_testlog
true
server_url
"eval! constants.default_factory_server_url"
upload_reg_codes
false
sync_event_logs
false
update_toolkit
false

GetDeviceInfo

args

method
"GetDeviceInfo"

Gyroscope

args

rotation_threshold
1.0
stop_threshold
0.1

GyroscopeCalibration

Idle

Keyboard

args

allow_multi_keys
true

KeyboardBacklight

LED

args

challenge
true

LidAccelerometersCalibration

args

orientation
{
  "in_accel_x": 0,
  "in_accel_y": 0,
  "in_accel_z": 1
}
spec_offset
[
  0.5,
  0.5
]
location
"lid"

LidSwitch

Message

ModelSKU

ModemSecurity

PartitionTable

Placeholder

Probe

args

config_file
"probe.json"

QRScan

args

mode
"qr"
QR_string
"Hello ChromeOS!"

ReSignReleaseKernel

args

to_release
true

ReadDeviceDataFromVPD

RemovableStorage

args

perform_sequential_test
true
block_size
524288
perform_random_test
false
sequential_block_count
8

SDPerformance

args

media
"SD"
perform_random_test
false
sysfs_path
"eval! constants.sd.sysfs_path"
sequential_block_count
8
perform_sequential_test
true
block_size
524288

Scan

ShopfloorNotifyEnd

args

args
[
  "eval! locals.station"
]
method
"NotifyEnd"

ShopfloorNotifyStart

args

args
[
  "eval! locals.station"
]
method
"NotifyStart"

ShopfloorService

SpatialSensorCalibration

SpeakerDMic

args

check_dongle
true
tests_to_conduct
[
  {
    "duration": 4,
    "threshold": 80,
    "type": "audiofun",
    "volume_gain": 50
  }
]
require_dongle
false

Start

StationEndSyncFactoryServer

args

upload_report
"eval! locals.station_end_upload_report"
report_stage
"eval! locals.station"
server_url
"eval! constants.default_factory_server_url"

StressAppTest

Stylus

SuspendResume

SyncFactoryServer

args

server_url
"eval! constants.default_factory_server_url"

SyncFactoryServerUploadReport

args

report_stage
"eval! locals.station"
server_url
"eval! constants.default_factory_server_url"
upload_report
true

TPMVerifyEK

TabletMode

TabletRotation

ThermalSensors

Touchpad

Touchscreen

TouchscreenUniformity

URandom

USBPerformance

args

media
"USB"
perform_sequential_test
true
block_size
524288
perform_random_test
false
sequential_block_count
8

USBTypeCManualCharge

args

min_discharging_current
400
max_battery_level
90
min_charging_current
150
timeout_secs
30
usbpd_prompt
"eval! locals.usb_label"
usbpd_info
[
  "eval! locals.usb.usbpd_id",
  "eval! locals.voltage * 1000 - 500",
  "eval! locals.voltage * 1000 + 500"
]

UpdateDeviceData

UpdateSKUID

UploadRegCodes

args

sync_time
true
flush_testlog
false
upload_report
false
server_url
"eval! constants.default_factory_server_url"
sync_event_logs
false
update_toolkit
false
upload_reg_codes
true

VerifyRootPartition

args

max_bytes
1048576

WebGLAquarium

WifiSSIDList

Wireless

args

services
[
  [
    "antenna_test",
    2412,
    null
  ]
]
strength
{
  "all": -60,
  "aux": -60,
  "main": -60
}
wifi_chip_type
null
device_name
"wlan0"

WirelessAntenna

args

wifi_chip_type
"switch_antenna"

WirelessRadiotap

args

wifi_chip_type
"radiotap"

WriteDeviceDataToVPD

WriteHWID

args

run_vpd
"eval! constants.hwid_need_vpd"
enable_factory_server
"eval! constants.enable_factory_server"
rma_mode
"eval! constants.rma_mode"

WriteProtectSwitch

Table Of Contents

Previous topic

disable_factory_server

Next topic

generic_fat

This Page