generic_camera¶
Inherit¶
Camera¶
This test object cannot be run directly. User have to inherit and modify it.
pytest_name¶
CameraManual¶
This test object cannot be run directly. User have to inherit and modify it.
pytest_name¶
args¶
mode
"manual"
CameraNoCharacteristics¶
This is used if camera_characteristics.conf is not ready. Users must replace ``camera_usb_vid_pid`` with vid pid they are testing.
pytest_name¶
args¶
mode
"manual"
e2e_mode
false
camera_facing
null
camera_usb_vid_pid
[ "13d3", "56ec" ]
FrontCamera¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_front_camera
pytest_name¶
args¶
camera_facing
"front"
FrontCameraAssemble¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_front_camera
pytest_name¶
args¶
camera_facing
"front"
mode
"camera_assemble"
min_luminance_ratio
0.5
FrontCameraAssembleQR¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_front_camera
pytest_name¶
args¶
camera_facing
"front"
mode
"camera_assemble_qr"
min_luminance_ratio
0.5
QR_string
"ChromeTeam"
FrontCameraFace¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_front_camera
pytest_name¶
args¶
camera_facing
"front"
mode
"face"
FrontCameraLED¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_front_camera
pytest_name¶
args¶
camera_facing
"front"
mode
"manual_led"
FrontCameraManual¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_front_camera
pytest_name¶
args¶
camera_facing
"front"
mode
"manual"
FrontCameraQRScan¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_front_camera
pytest_name¶
args¶
camera_facing
"front"
mode
"qr"
QR_string
"ChromeTeam"
timeout_secs
2000
ProbeCamera¶
pytest_name¶
args¶
component_list
[ "camera" ]
config_file
"/usr/local/factory/py/hwid/v3/default_probe_statement.json"
overridden_rules
[ [ "camera", "==", 2 ] ]
QRScan¶
Deprecated. Use FrontCameraQRScan or RearCameraQRScan.
pytest_name¶
args¶
mode
"qr"
QR_string
"Hello ChromeOS!"
RearCamera¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_rear_camera
pytest_name¶
args¶
camera_facing
"rear"
RearCameraAssemble¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_rear_camera
pytest_name¶
args¶
camera_facing
"rear"
mode
"camera_assemble"
min_luminance_ratio
0.5
RearCameraAssembleQR¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_rear_camera
pytest_name¶
args¶
camera_facing
"rear"
mode
"camera_assemble_qr"
min_luminance_ratio
0.5
QR_string
"ChromeTeam"
RearCameraFace¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_rear_camera
pytest_name¶
args¶
camera_facing
"rear"
mode
"face"
RearCameraLED¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_rear_camera
pytest_name¶
args¶
camera_facing
"rear"
mode
"manual_led"
RearCameraManual¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_rear_camera
pytest_name¶
args¶
camera_facing
"rear"
mode
"manual"
RearCameraQRScan¶
This test object cannot be run directly. User have to inherit and modify it.
run_if¶
not constants.has_device_data or device.component.has_rear_camera
pytest_name¶
args¶
camera_facing
"rear"
mode
"qr"
QR_string
"ChromeTeam"
timeout_secs
2000