Home
last modified time | relevance | path

Searched refs:tab_descriptor (Results 1 – 11 of 11) sorted by relevance

/external/autotest/client/cros/multimedia/
Dfacade_resource.py249 tab_descriptor = self._generate_tab_descriptor(tab)
250 self._tabs[tab_descriptor] = tab
252 return tab_descriptor
286 def get_tab_by_descriptor(self, tab_descriptor): argument
292 return self._tabs[tab_descriptor]
296 def close_tab(self, tab_descriptor): argument
302 if tab_descriptor not in self._tabs:
303 raise RuntimeError('There is no tab for %s' % tab_descriptor)
304 tab = self._tabs[tab_descriptor]
305 del self._tabs[tab_descriptor]
[all …]
Dbrowser_facade_native.py84 def close_tab(self, tab_descriptor): argument
90 tab = self._resource.get_tab_by_descriptor(tab_descriptor)
92 self._resource.close_tab(tab_descriptor)
96 self, tab_descriptor, expression, timeout): argument
105 tab_descriptor, expression, timeout)
108 def execute_javascript(self, tab_descriptor, statement, timeout): argument
116 tab_descriptor, statement, timeout)
119 def evaluate_javascript(self, tab_descriptor, expression, timeout): argument
128 tab_descriptor, expression, timeout)
Ddisplay_facade_native.py691 tab_descriptor = self.load_url('file://%s' % path)
692 return tab_descriptor
695 def load_color_sequence(self, tab_descriptor, color_sequence): argument
706 tab = self._resource.get_tab_by_descriptor(tab_descriptor)
746 def close_tab(self, tab_descriptor): argument
760 if tab_descriptor:
770 self._resource.close_tab(tab_descriptor)
Ddisplay_facade_adapter.py117 def load_color_sequence(self, tab_descriptor, color_sequence): argument
128 return self._display_component.load_color_sequence(tab_descriptor,
132 def close_tab(self, tab_descriptor): argument
146 self._display_component.close_tab(tab_descriptor)
/external/autotest/server/cros/multimedia/
Dbrowser_facade_adapter.py89 def close_tab(self, tab_descriptor): argument
95 self._browser_proxy.close_tab(tab_descriptor)
99 self, tab_descriptor, expression, timeout): argument
107 tab_descriptor, expression, timeout)
110 def execute_javascript(self, tab_descriptor, statement, timeout): argument
118 tab_descriptor, statement, timeout)
121 def evaluate_javascript(self, tab_descriptor, expression, timeout): argument
130 tab_descriptor, expression, timeout)
Ddisplay_facade_adapter.py132 def load_color_sequence(self, tab_descriptor, color_sequence): argument
143 return self._display_proxy.load_color_sequence(tab_descriptor,
147 def close_tab(self, tab_descriptor): argument
161 self._display_proxy.close_tab(tab_descriptor)
/external/autotest/server/site_tests/enterprise_CFM_AutotestSmokeTest/
Denterprise_CFM_AutotestSmokeTest.py21 tab_descriptor = browser_facade.new_tab('chrome://version')
22 browser_facade.close_tab(tab_descriptor)
/external/autotest/server/site_tests/audio_MediaBasicVerification/
Daudio_MediaBasicVerification.py70 tab_descriptor = browser_facade.new_tab(audio_test_file)
80 browser_facade.close_tab(tab_descriptor)
/external/autotest/server/site_tests/audio_AudioBasicHDMI/
Daudio_AudioBasicHDMI.py52 tab_descriptor = browser_facade.new_tab(file_url)
58 browser_facade.close_tab(tab_descriptor)
/external/autotest/server/site_tests/audio_LeftRightInternalSpeaker/
Daudio_LeftRightInternalSpeaker.py146 tab_descriptor = self.browser_facade.new_tab(sound_file)
156 self.browser_facade.close_tab(tab_descriptor)
/external/autotest/server/site_tests/audio_AudioArtifacts/
Daudio_AudioArtifacts.py133 tab_descriptor = browser_facade.new_tab(file_url)
169 browser_facade.close_tab(tab_descriptor)