generic_fingerprint_examples ============================ Inherit ------- - :doc:`generic_fingerprint.test_list ` ElanFPSBaseTest --------------- run_if `````` :: device.component.has_fingerprint pytest_name ``````````` :doc:`fingerprint_sensor_elan <../pytests/fingerprint_sensor_elan>` args ```` ``test_case`` :: 1 ElanFPSCompleteTest ------------------- run_if `````` :: device.component.has_fingerprint pytest_name ``````````` :doc:`fingerprint_sensor_elan <../pytests/fingerprint_sensor_elan>` args ```` ``test_case`` :: 15 ElanFPSNonInteractiveTest ------------------------- run_if `````` :: device.component.has_fingerprint pytest_name ``````````` :doc:`fingerprint_sensor_elan <../pytests/fingerprint_sensor_elan>` args ```` ``test_case`` :: 7 ElanFPSResetTest ---------------- run_if `````` :: device.component.has_fingerprint pytest_name ``````````` :doc:`fingerprint_sensor_elan <../pytests/fingerprint_sensor_elan>` args ```` ``test_case`` :: 4 ElanFPSSensorTest ----------------- run_if `````` :: device.component.has_fingerprint pytest_name ``````````` :doc:`fingerprint_sensor_elan <../pytests/fingerprint_sensor_elan>` args ```` ``test_case`` :: 2 ElanFPSTest ----------- run_if `````` :: device.component.has_fingerprint pytest_name ``````````` :doc:`fingerprint_sensor_elan <../pytests/fingerprint_sensor_elan>` ElanFPSWOETest -------------- run_if `````` :: device.component.has_fingerprint pytest_name ``````````` :doc:`fingerprint_sensor_elan <../pytests/fingerprint_sensor_elan>` args ```` ``test_case`` :: 8 FPSTestPlusManualTest --------------------- run_if `````` :: device.component.has_fingerprint pytest_name ``````````` :doc:`fingerprint_mcu <../pytests/fingerprint_mcu>` args ```` ``fpframe_retry_count`` :: 2 ``number_of_manual_captures`` :: 10 FPSTestPlusPixelMedianTestForBloonchipper ----------------------------------------- run_if `````` :: device.component.has_fingerprint pytest_name ``````````` :doc:`fingerprint_mcu <../pytests/fingerprint_mcu>` args ```` ``fpframe_retry_count`` :: 2 ``max_dead_pixels`` :: 10 ``pixel_median`` :: { "cb_type1": [ 180, 220 ], "cb_type2": [ 80, 120 ], "icb_type1": [ 15, 70 ], "icb_type2": [ 155, 210 ] } ``detect_zones`` :: [ [ 20, 16, 27, 23 ], [ 76, 16, 83, 23 ], [ 132, 16, 139, 23 ], [ 20, 56, 27, 63 ], [ 76, 56, 83, 63 ], [ 132, 56, 139, 63 ], [ 20, 88, 27, 95 ], [ 76, 88, 83, 95 ], [ 132, 88, 139, 95 ], [ 20, 128, 27, 135 ], [ 76, 128, 83, 135 ], [ 132, 128, 139, 135 ] ] FPSTestPlusPixelMedianTestForDartmonkey --------------------------------------- run_if `````` :: device.component.has_fingerprint pytest_name ``````````` :doc:`fingerprint_mcu <../pytests/fingerprint_mcu>` args ```` ``fpframe_retry_count`` :: 2 ``max_dead_pixels`` :: 10 ``pixel_median`` :: { "cb_type1": [ 180, 220 ], "cb_type2": [ 80, 120 ], "icb_type1": [ 15, 70 ], "icb_type2": [ 155, 210 ] } ``detect_zones`` :: [ [ 8, 16, 15, 23 ], [ 24, 16, 31, 23 ], [ 40, 16, 47, 23 ], [ 8, 66, 15, 73 ], [ 24, 66, 31, 73 ], [ 40, 66, 47, 73 ], [ 8, 118, 15, 125 ], [ 24, 118, 31, 125 ], [ 40, 118, 47, 125 ], [ 8, 168, 15, 175 ], [ 24, 168, 31, 175 ], [ 40, 168, 47, 175 ] ] FPSTestPlusRubberStamperTest ---------------------------- run_if `````` :: device.component.has_fingerprint pytest_name ``````````` :doc:`fingerprint_mcu <../pytests/fingerprint_mcu>` args ```` ``fpframe_retry_count`` :: 2 ``rubber_finger_present`` :: true ProbeFingerprintSensor ---------------------- pytest_name ``````````` :doc:`probe.probe <../pytests/probe.probe>` args ```` ``component_list`` :: [ "fingerprint" ] ``config_file`` :: "/usr/local/factory/py/hwid/v3/default_probe_statement.json" ``overridden_rules`` :: [ [ "fingerprint", "==", 1 ] ] SetHasFingerprint ----------------- pytest_name ``````````` :doc:`exec_shell <../pytests/exec_shell>` args ```` ``commands`` :: "factory device-data component.has_fingerprint=1" UnsetHasFingerprint ------------------- pytest_name ``````````` :doc:`exec_shell <../pytests/exec_shell>` args ```` ``commands`` :: "factory device-data component.has_fingerprint=0" UpdateFPFirmwareWithLocalBuildFirmware -------------------------------------- pytest_name ``````````` :doc:`update_fpmcu_firmware <../pytests/update_fpmcu_firmware>` args ```` ``method`` :: "UPDATE" ``firmware_file`` :: "/path/to/image.bin" ElanFPSTestGroup ---------------- Serial subtests ``````````````` - `SetHasFingerprint`_ - `UnsetHasFingerprint`_ - `ProbeFingerprintSensor`_ - UpdateFPFirmware - CheckFPFirmware - `UpdateFPFirmwareWithLocalBuildFirmware`_ - `ElanFPSBaseTest`_ - `ElanFPSSensorTest`_ - `ElanFPSResetTest`_ - `ElanFPSWOETest`_ - `ElanFPSNonInteractiveTest`_ - `ElanFPSCompleteTest`_ FingerprintTests ---------------- Serial subtests ``````````````` - `SetHasFingerprint`_ - `UnsetHasFingerprint`_ - `ProbeFingerprintSensor`_ - UpdateFPFirmware - CheckFPFirmware - `UpdateFPFirmwareWithLocalBuildFirmware`_ - FPSTest - `FPSTestPlusManualTest`_ - `FPSTestPlusPixelMedianTestForDartmonkey`_ - `FPSTestPlusPixelMedianTestForBloonchipper`_ - `FPSTestPlusRubberStamperTest`_ - FPSGroup