Home
last modified time | relevance | path

Searched refs:chameleon_port (Results 1 – 25 of 25) sorted by relevance

/external/autotest/server/site_tests/display_Tearing/
Ddisplay_Tearing.py63 def _get_single_color_checksum(self, chameleon_port, color): argument
71 chameleon_port.start_capturing_video()
76 chameleon_port.stop_capturing_video()
78 last = chameleon_port.get_captured_frame_count() - 1
79 return tuple(chameleon_port.get_captured_checksums(last)[0])
81 def _display_and_get_checksum_table(self, chameleon_port, color_sequence): argument
98 checksum = self._get_single_color_checksum(chameleon_port, color)
111 def _display_and_capture(self, chameleon_port, color_sequence): argument
123 chameleon_port.start_capturing_video()
129 chameleon_port.stop_capturing_video()
[all …]
/external/autotest/client/cros/chameleon/
Dchameleon_video_capturer.py25 def __init__(self, chameleon_port, display_facade, argument
28 self.chameleon_port = chameleon_port
37 self.was_plugged = self.chameleon_port.plugged
40 self.chameleon_port.plug()
41 self.chameleon_port.wait_video_input_stable()
82 self.chameleon_port.start_capturing_video(box)
96 lambda: self.chameleon_port.get_captured_frame_count() >=
102 self.chameleon_port.stop_capturing_video()
104 self.checksums = self.chameleon_port.get_captured_checksums()
105 count = self.chameleon_port.get_captured_frame_count()
[all …]
Dchameleon_measurer_base.py47 with finder.use_first_port() as chameleon_port:
49 chameleon_port.get_connector_type())
61 resolution = chameleon_port.get_resolution()
64 yield chameleon_port
92 with finder.use_first_port() as chameleon_port:
94 chameleon_port.get_connector_type())
107 resolution = chameleon_port.get_resolution()
115 yield chameleon_port
Dresolution_comparison.py19 def __init__(self, chameleon_port, display_facade): argument
21 self._chameleon_port = chameleon_port
78 def __init__(self, chameleon_port, display_facade): argument
80 self._chameleon_port = chameleon_port
Dscreen_capture.py38 def __init__(self, chameleon_port): argument
40 self._chameleon_port = chameleon_port
67 def __init__(self, chameleon_port): argument
69 self._chameleon_port = chameleon_port
Dscreen_utility_factory.py32 def __init__(self, chameleon_port, display_facade): argument
34 self._chameleon_port = chameleon_port
36 self._is_vga = chameleon_port.get_connector_type() == 'VGA'
Dchameleon.py658 def __init__(self, chameleon_port): argument
663 self.chameleond_proxy = chameleon_port.chameleond_proxy
664 self.port_id = chameleon_port.port_id
1043 def __init__(self, chameleon_port): argument
1048 self.chameleond_proxy = chameleon_port.chameleond_proxy
1049 self.port_id = chameleon_port.port_id
1081 def __init__(self, chameleon_port): argument
1086 self.chameleond_proxy = chameleon_port.chameleond_proxy
1087 self.port_id = chameleon_port.port_id
Daudio_widget.py486 chameleon_port = finder.find_port(interface)
487 if not chameleon_port:
490 return chameleon_port
621 chameleon_port = finder.find_port(interface)
622 if not chameleon_port:
625 return chameleon_port
Dchameleon_screen_test.py23 def __init__(self, host, chameleon_port, display_facade, output_dir): argument
28 chameleon_port, display_facade)
/external/autotest/server/site_tests/display_LidCloseOpen/
Ddisplay_LidCloseOpen.py77 return self.chameleon_port.wait_video_input_stable(
96 resolution = self.chameleon_port.get_resolution()
128 for chameleon_port in finder.iterate_all_ports():
129 self.run_test_on_port(chameleon_port, display_facade, plug_status)
132 def run_test_on_port(self, chameleon_port, display_facade, plug_status): argument
140 self.chameleon_port = chameleon_port
143 self.host, chameleon_port, display_facade, self.outputdir)
162 self.chameleon_port.set_plug(plugged_before_close)
163 self.chameleon_port.wait_video_input_stable(
176 self.chameleon_port.set_plug(plugged_after_close)
[all …]
/external/autotest/server/site_tests/display_HDCPScreen/
Ddisplay_HDCPScreen.py53 for chameleon_port in finder.iterate_all_ports():
55 host, chameleon_port, display_facade, self.outputdir)
58 chameleon_port.get_connector_id(),
59 chameleon_port.get_connector_type())
69 chameleon_port.is_content_protection_enabled())
75 chameleon_port.unplug()
77 chameleon_port.set_content_protection(enable_chameleon)
79 chameleon_port.plug()
80 chameleon_port.wait_video_input_stable()
95 encrypted = chameleon_port.is_video_input_encrypted()
[all …]
/external/autotest/server/site_tests/display_HotPlugNoisy/
Ddisplay_HotPlugNoisy.py57 for chameleon_port in finder.iterate_all_ports():
59 host, chameleon_port, display_facade, self.outputdir)
62 chameleon_port.get_connector_id(),
63 chameleon_port.get_connector_type())
80 chameleon_port.set_plug(plugged_before_noise)
88 chameleon_port.fire_mixed_hpd_pulses(
93 chameleon_port.wait_video_input_stable()
120 chameleon_port.unplug()
122 chameleon_port.plug()
123 chameleon_port.wait_video_input_stable()
/external/autotest/server/site_tests/display_CheckModesAfterSignOutSignIn/
Ddisplay_CheckModesAfterSignOutSignIn.py66 resolution = self.chameleon_port.get_resolution()
70 def run_test_on_port(self, chameleon_port, test_mirrored): argument
77 self.chameleon_port = chameleon_port
79 self.host, chameleon_port, self.display_facade, self.outputdir)
120 for chameleon_port in finder.iterate_all_ports():
121 self.run_test_on_port(chameleon_port, test_mirrored)
/external/autotest/server/site_tests/platform_RotationFps/
Dplatform_RotationFps.py39 with measurer.start_dock_mode_measurement() as chameleon_port:
40 chameleon_port_name = chameleon_port.get_connector_type()
45 chameleon_port.start_capturing_video()
52 chameleon_port.stop_capturing_video()
57 fps_list = chameleon_port.get_captured_fps_list()
/external/autotest/server/site_tests/display_SwitchMode/
Ddisplay_SwitchMode.py68 for chameleon_port in finder.iterate_all_ports():
69 self.chameleon_port = chameleon_port
71 host, chameleon_port, self.display_facade, self.outputdir)
74 self.chameleon_port.get_connector_id(),
75 self.chameleon_port.get_connector_type())
/external/autotest/server/site_tests/display_HotPlugAtBoot/
Ddisplay_HotPlugAtBoot.py44 for chameleon_port in finder.iterate_all_ports():
46 host, chameleon_port, display_facade, self.outputdir)
49 chameleon_port.get_connector_id(),
50 chameleon_port.get_connector_type())
69 chameleon_port.set_plug(plugged_before_boot)
77 chameleon_port.set_plug(plugged_after_boot)
/external/autotest/server/site_tests/display_EdidStress/
Ddisplay_EdidStress.py51 for chameleon_port in finder.iterate_all_ports():
53 host, chameleon_port, display_facade, self.outputdir)
56 chameleon_port.get_connector_id(),
57 chameleon_port.get_connector_type())
59 connector = chameleon_port.get_connector_type()
72 with chameleon_port.use_edid(
/external/autotest/server/site_tests/display_HotPlugAtSuspend/
Ddisplay_HotPlugAtSuspend.py54 for chameleon_port in finder.iterate_all_ports():
56 host, chameleon_port, display_facade, self.outputdir)
59 chameleon_port.get_connector_id(),
60 chameleon_port.get_connector_type())
79 chameleon_port.set_plug(plugged_before_suspend)
100 chameleon_port.set_plug(plugged_after_suspend)
110 chameleon_port.set_plug(plugged_before_resume)
/external/autotest/server/site_tests/display_ResolutionList/
Ddisplay_ResolutionList.py48 for chameleon_port in finder.iterate_all_ports():
50 host, chameleon_port, display_facade, self.outputdir)
51 chameleon_port_name = chameleon_port.get_connector_type()
64 with chameleon_port.use_edid_file(edid_path):
97 chameleon_port.wait_video_input_stable()
/external/autotest/server/site_tests/display_Resolution/
Ddisplay_Resolution.py93 for chameleon_port in finder.iterate_all_ports():
95 host, chameleon_port, display_facade, self.outputdir)
96 chameleon_port_name = chameleon_port.get_connector_type()
122 chameleon_port.unplug()
131 with chameleon_port.use_edid_file(path):
139 chameleon_port.plug()
/external/autotest/server/hosts/
Dchameleon_host.py43 def _initialize(self, chameleon_host='localhost', chameleon_port=9992, argument
62 self._chameleon_port = chameleon_port
69 self.hostname, chameleon_port)
76 None, chameleon_port,
193 chameleon_port=hosts[0].attributes.get(
280 chameleon_port=hosts[0].attributes.get(
/external/autotest/server/site_tests/graphics_MultipleDisplays/
Dgraphics_MultipleDisplays.py131 def _measure_external_display_fps(self, chameleon_port): argument
139 chameleon_port.start_capturing_video()
141 chameleon_port.stop_capturing_video()
144 self._fps_list = chameleon_port.get_captured_fps_list()
202 for chameleon_port in finder.iterate_all_ports():
211 self._measure_external_display_fps(chameleon_port)
/external/autotest/server/site_tests/display_NoEdid/
Ddisplay_NoEdid.py38 for chameleon_port in finder.iterate_all_ports():
40 host, chameleon_port, display_facade, self.outputdir)
42 with chameleon_port.use_edid(edid.NO_EDID):
/external/autotest/server/site_tests/display_SuspendStress/
Ddisplay_SuspendStress.py57 for chameleon_port in finder.iterate_all_ports():
59 host, chameleon_port, display_facade, self.outputdir)
62 with chameleon_port.use_edid_file(edid_path):
/external/autotest/server/site_tests/video_PlaybackQuality/
Dvideo_PlaybackQuality.py347 for chameleon_port in finder.iterate_all_ports():
348 self._chameleon_port = chameleon_port
350 connector_type = chameleon_port.get_connector_type()
352 chameleon_port.get_connector_id(),
355 with chameleon_port.use_edid(