Home
last modified time | relevance | path

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

/external/autotest/client/cros/chameleon/
Dchameleon_video_capturer.py19 def __init__(self, chameleon_port, display_facade, argument
22 self.chameleon_port = chameleon_port
31 self.was_plugged = self.chameleon_port.plugged
34 self.chameleon_port.plug()
35 self.chameleon_port.wait_video_input_stable()
76 self.chameleon_port.start_capturing_video(box)
90 lambda: self.chameleon_port.get_captured_frame_count() >=
96 self.chameleon_port.stop_capturing_video()
98 self.checksums = self.chameleon_port.get_captured_checksums()
99 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.py18 def __init__(self, chameleon_port, display_facade): argument
20 self._chameleon_port = chameleon_port
77 def __init__(self, chameleon_port, display_facade): argument
79 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
Dchameleon.py505 def __init__(self, chameleon_port): argument
510 self.chameleond_proxy = chameleon_port.chameleond_proxy
511 self.port_id = chameleon_port.port_id
888 def __init__(self, chameleon_port): argument
893 self.chameleond_proxy = chameleon_port.chameleond_proxy
894 self.port_id = chameleon_port.port_id
926 def __init__(self, chameleon_port): argument
931 self.chameleond_proxy = chameleon_port.chameleond_proxy
932 self.port_id = chameleon_port.port_id
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'
Daudio_widget.py446 chameleon_port = finder.find_port(interface)
447 if not chameleon_port:
450 return chameleon_port
579 chameleon_port = finder.find_port(interface)
580 if not chameleon_port:
583 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_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/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.py65 resolution = self.chameleon_port.get_resolution()
69 def run_test_on_port(self, chameleon_port, test_mirrored): argument
76 self.chameleon_port = chameleon_port
78 self.host, chameleon_port, self.display_facade, self.outputdir)
117 for chameleon_port in finder.iterate_all_ports():
118 self.run_test_on_port(chameleon_port, test_mirrored)
/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/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_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.py52 for chameleon_port in finder.iterate_all_ports():
54 host, chameleon_port, display_facade, self.outputdir)
57 chameleon_port.get_connector_id(),
58 chameleon_port.get_connector_type())
77 chameleon_port.set_plug(plugged_before_suspend)
98 chameleon_port.set_plug(plugged_after_suspend)
108 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.py89 for chameleon_port in finder.iterate_all_ports():
91 host, chameleon_port, display_facade, self.outputdir)
92 chameleon_port_name = chameleon_port.get_connector_type()
118 chameleon_port.unplug()
127 with chameleon_port.use_edid_file(path):
135 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(
/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(