privacy_screen ============== **Source code:** `privacy_screen.py `_ Test that sets privacy screen to specific state. Description ----------- This test measures the functionality of the privacy screen. It sets privacy screen to a specific state then checks if privacy screen is refreshed to that state. Test Procedure -------------- This is an automatic test that doesn't need any user interaction. Dependency ---------- - Need a built-in privacy screen. - Command ``cros-health-tool``. Examples -------- Turn privacy screen on and then validate state: .. test_list:: generic_display_panel_examples:DisplayPanelTests.PrivacyScreen Argument ``target_state`` is required and must be either ``on`` or ``off``. Test Arguments -------------- .. list-table:: :widths: 20 10 60 :header-rows: 1 :align: left * - Name - Type - Description * - target_state - ['off', 'on'] - Privacy screen target state.