generic_camera_examples ======================= Inherit ------- - :doc:`generic_camera.test_list ` FrontCameraAssemble07 --------------------- 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 ``````````` :doc:`camera <../pytests/camera>` args ```` ``camera_facing`` :: "front" ``mode`` :: "camera_assemble" ``min_luminance_ratio`` :: 0.7 FrontCameraBrightness --------------------- 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 ``````````` :doc:`camera <../pytests/camera>` args ```` ``camera_facing`` :: "front" ``num_frames_to_pass`` :: 5 ``mode`` :: "brightness" ``timeout_secs`` :: 3 ``brightness_range`` :: [ null, 10 ] FrontCameraFrames ----------------- 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 ``````````` :doc:`camera <../pytests/camera>` args ```` ``camera_facing`` :: "front" ``num_frames_to_pass`` :: 100 ``mode`` :: "frame_count" ``timeout_secs`` :: 1000 ``show_image`` :: false FrontCameraManualOpenCV ----------------------- 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 ``````````` :doc:`camera <../pytests/camera>` args ```` ``camera_facing`` :: "front" ``mode`` :: "manual" ``e2e_mode`` :: false 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 ``````````` :doc:`camera <../pytests/camera>` args ```` ``camera_facing`` :: "front" ``mode`` :: "qr" ``QR_string`` :: "Hello ChromeOS!" ``timeout_secs`` :: 2000 FrontCameraQRScan1920x1080 -------------------------- 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 ``````````` :doc:`camera <../pytests/camera>` args ```` ``camera_facing`` :: "front" ``mode`` :: "qr" ``QR_string`` :: "Hello ChromeOS!" ``timeout_secs`` :: 2000 ``camera_args`` :: { "resolution": [ 1920, 1080 ] } FrontCameraStress ----------------- 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 ``````````` :doc:`camera <../pytests/camera>` args ```` ``camera_facing`` :: "front" ``mode`` :: "timeout" ``timeout_secs`` :: 1000 ``show_image`` :: false ProbeOneCamera -------------- pytest_name ``````````` :doc:`probe.probe <../pytests/probe.probe>` args ```` ``component_list`` :: [ "camera" ] ``config_file`` :: "/usr/local/factory/py/hwid/v3/default_probe_statement.json" ``overridden_rules`` :: [ [ "camera", "==", 1 ] ] ProbeTwoCameras --------------- pytest_name ``````````` :doc:`probe.probe <../pytests/probe.probe>` args ```` ``component_list`` :: [ "camera" ] ``config_file`` :: "/usr/local/factory/py/hwid/v3/default_probe_statement.json" ``overridden_rules`` :: [ [ "camera", "==", 2 ] ] RearCameraManualOpenCV ---------------------- 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 ``````````` :doc:`camera <../pytests/camera>` args ```` ``camera_facing`` :: "rear" ``mode`` :: "manual" ``e2e_mode`` :: false 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 ``````````` :doc:`camera <../pytests/camera>` args ```` ``camera_facing`` :: "rear" ``mode`` :: "qr" ``QR_string`` :: "Hello ChromeOS!" ``timeout_secs`` :: 2000 RearCameraStress ---------------- 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 ``````````` :doc:`camera <../pytests/camera>` args ```` ``camera_facing`` :: "rear" ``mode`` :: "timeout" ``timeout_secs`` :: 1000 ``show_image`` :: false SetHasFrontCamera ----------------- pytest_name ``````````` :doc:`exec_shell <../pytests/exec_shell>` args ```` ``commands`` :: "factory device-data component.has_front_camera=1" SetHasRearCamera ---------------- pytest_name ``````````` :doc:`exec_shell <../pytests/exec_shell>` args ```` ``commands`` :: "factory device-data component.has_rear_camera=1" UnsetHasFrontCamera ------------------- pytest_name ``````````` :doc:`exec_shell <../pytests/exec_shell>` args ```` ``commands`` :: "factory device-data component.has_front_camera=0" UnsetHasRearCamera ------------------ pytest_name ``````````` :doc:`exec_shell <../pytests/exec_shell>` args ```` ``commands`` :: "factory device-data component.has_rear_camera=0" CameraTests ----------- Serial subtests ``````````````` - `SetHasFrontCamera`_ - `SetHasRearCamera`_ - `ProbeOneCamera`_ - FrontCameraFace - FrontCameraLED - FrontCameraManual - `FrontCameraManualOpenCV`_ - `FrontCameraQRScan`_ - `FrontCameraQRScan1920x1080`_ - `FrontCameraStress`_ - `FrontCameraFrames`_ - FrontCameraAssemble - FrontCameraAssembleQR - `FrontCameraAssemble07`_ - `FrontCameraBrightness`_ - CameraNoCharacteristics - `ProbeTwoCameras`_ - RearCameraFace - RearCameraLED - RearCameraManual - `RearCameraManualOpenCV`_ - `RearCameraQRScan`_ - RearCameraAssemble - RearCameraAssembleQR - `RearCameraStress`_ - `UnsetHasFrontCamera`_ - `UnsetHasRearCamera`_