Exemple #1
0
 def test_Multi_display_rotation_default_display1_doesnot_rotation(self):
     try:
         multi_display.is_multi_displayed()
         file_sys.switch_hwc_display('ROTATION', 'true')
         file_sys.switch_hwc_display('PHYSICAL_DISPLAY_ROTATION', '0:4')
         adb32.refresh_ui()
         launch_settings_am()
         multi_display.is_clone_mode()
         file_sys.init_hwc_display()
         self.do_initiation = multi_display.is_clone_mode()
         raise Exception(
             'Need BKM for checking multi display orientation status.')
     except:
         raise Exception(
             'Test failed, some problems occurred on above steps.')
     finally:
         if not self.do_initiation:
             file_sys.init_hwc_display()
Exemple #2
0
 def test_Two_Displays_Extended_Desktop_HDMI1_HDMI2(self):
     try:
         multi_display.is_multi_displayed()
         file_sys.switch_hwc_display('MOSAIC', 'true')
         file_sys.switch_hwc_display('MOSAIC_DISPLAY', '0+1+2')
         adb32.refresh_ui()
         launch_settings_am()
         multi_display.is_show_different_picture()
         file_sys.init_hwc_display()
         self.do_initiation = multi_display.is_clone_mode()
         raise Exception(
             'Need BKM for checking multi display orientation status.')
     except:
         raise Exception(
             'Test failed, some problems occurred on above steps.')
     finally:
         if not self.do_initiation:
             file_sys.init_hwc_display()
Exemple #3
0
 def test_HDMI_CloneMode(self):
     multi_display.is_multi_displayed()
     multi_display.is_clone_mode()
Exemple #4
0
 def test_HDMI_Idle(self):
     multi_display.is_multi_displayed()
     multi_display.is_clone_mode()
     adb32.adb_shell_stop()
     adb32.adb_shell_start()