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.py245 tab_descriptor = self._generate_tab_descriptor(tab)
246 self._tabs[tab_descriptor] = tab
248 return tab_descriptor
282 def get_tab_by_descriptor(self, tab_descriptor): argument
288 return self._tabs[tab_descriptor]
292 def close_tab(self, tab_descriptor): argument
298 if tab_descriptor not in self._tabs:
299 raise RuntimeError('There is no tab for %s' % tab_descriptor)
300 tab = self._tabs[tab_descriptor]
301 del self._tabs[tab_descriptor]
[all …]
Dbrowser_facade_native.py81 def close_tab(self, tab_descriptor): argument
87 tab = self._resource.get_tab_by_descriptor(tab_descriptor)
89 self._resource.close_tab(tab_descriptor)
93 self, tab_descriptor, expression, timeout): argument
102 tab_descriptor, expression, timeout)
105 def execute_javascript(self, tab_descriptor, statement, timeout): argument
113 tab_descriptor, statement, timeout)
116 def evaluate_javascript(self, tab_descriptor, expression, timeout): argument
125 tab_descriptor, expression, timeout)
Ddisplay_facade_native.py678 tab_descriptor = self.load_url('file://%s' % path)
679 return tab_descriptor
682 def load_color_sequence(self, tab_descriptor, color_sequence): argument
693 tab = self._resource.get_tab_by_descriptor(tab_descriptor)
733 def close_tab(self, tab_descriptor): argument
747 if tab_descriptor:
757 self._resource.close_tab(tab_descriptor)
Ddisplay_facade_adapter.py111 def load_color_sequence(self, tab_descriptor, color_sequence): argument
122 return self._display_component.load_color_sequence(tab_descriptor,
126 def close_tab(self, tab_descriptor): argument
140 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.py126 def load_color_sequence(self, tab_descriptor, color_sequence): argument
137 return self._display_proxy.load_color_sequence(tab_descriptor,
141 def close_tab(self, tab_descriptor): argument
155 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.py68 tab_descriptor = browser_facade.new_tab(audio_test_file)
78 browser_facade.close_tab(tab_descriptor)
/external/autotest/server/site_tests/audio_AudioBasicHDMI/
Daudio_AudioBasicHDMI.py60 tab_descriptor = browser_facade.new_tab(file_url)
71 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)
/external/autotest/server/site_tests/audio_LeftRightInternalSpeaker/
Daudio_LeftRightInternalSpeaker.py151 tab_descriptor = self.browser_facade.new_tab(sound_file)
161 self.browser_facade.close_tab(tab_descriptor)