Home
last modified time | relevance | path

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

12

/external/autotest/client/common_lib/cros/
Dassistant_util.py13 def enable_assistant(autotest_ext): argument
19 if autotest_ext is None:
24 autotest_ext.ExecuteJavaScript('''
42 lambda: autotest_ext.EvaluateJavaScript(
48 autotest_ext.EvaluateJavaScript(
52 def enable_hotword(autotest_ext): argument
59 autotest_ext.ExecuteJavaScript('''
77 lambda: autotest_ext.EvaluateJavaScript(
83 autotest_ext.EvaluateJavaScript(
87 def send_text_query(autotest_ext, text_query): argument
[all …]
Darc_util.py44 def get_arc_session_state(autotest_ext): argument
67 state = autotest_ext.EvaluateJavaScript(get_arc_state, promise=True)
73 def _wait_arc_provisioned(autotest_ext): argument
82 condition=lambda: get_arc_session_state(autotest_ext).provisioned,
185 def enable_play_store(autotest_ext, enabled, enable_managed_policy=True): argument
203 if autotest_ext is None:
222 state = autotest_ext.EvaluateJavaScript(get_play_store_state,
235 autotest_ext.ExecuteJavaScript('''
324 autotest_ext, argument
353 tos_needed = get_arc_session_state(autotest_ext).tos_needed
[all …]
Dchrome.py57 def __init__(self, logged_in=True, extension_paths=None, autotest_ext=False, argument
155 autotest_ext = True
185 if autotest_ext:
261 arc_util.enable_play_store(self.autotest_ext, True)
268 autotest_ext=self.autotest_ext,
272 assistant_util.enable_assistant(self.autotest_ext)
323 def autotest_ext(self): member in Chrome
330 ext = self.autotest_ext
349 ext = self.autotest_ext
366 ext = self.autotest_ext
/external/autotest/client/cros/enterprise/
Denterprise_policy_utils.py21 def get_all_policies(autotest_ext): argument
24 policy_data = _get_pol_from_api(autotest_ext)
32 def _get_pol_from_api(autotest_ext): argument
43 policy_data = autotest_ext.EvaluateJavaScript(new_promise, promise=True)
47 def _wait_for_new_pols_after_refresh(autotest_ext): argument
55 prior = _get_pol_from_api(autotest_ext)
56 _call_refresh_policies_from_api(autotest_ext)
59 curr = _get_pol_from_api(autotest_ext)
64 def _call_refresh_policies_from_api(autotest_ext): argument
75 autotest_ext.EvaluateJavaScript(new_promise, promise=True)
[all …]
Dpolicy_manager.py49 self.autotest_ext = None
170 def obtain_policies_from_device(self, autotest_ext=None): argument
178 if autotest_ext:
179 self.autotest_ext = autotest_ext
180 if not self.autotest_ext:
183 self.autotest_ext)
Denterprise_policy_base.py281 self.pol_manager.obtain_policies_from_device(self.cr.autotest_ext)
452 enterprise_policy_utils.refresh_policies(self.cr.autotest_ext,
574 autotest_ext=True,
647 autotest_ext=True,
659 autotest_ext=True,
/external/autotest/client/site_tests/autoupdate_UserData/
Dautoupdate_UserData.py55 current_ime = self._cr.autotest_ext.EvaluateJavaScript(
60 self._cr.autotest_ext.EvaluateJavaScript(add_ime_js)
61 self._cr.autotest_ext.EvaluateJavaScript(self._SET_IME_JS %
63 new_ime = self._cr.autotest_ext.EvaluateJavaScript(self._GET_IME_JS)
70 current_time_zone = self._cr.autotest_ext.EvaluateJavaScript(
73 self._cr.autotest_ext.EvaluateJavaScript(
75 new_timezone = self._cr.autotest_ext.EvaluateJavaScript(
84 autotest_ext=True) as cr:
90 current_ime = cr.autotest_ext.EvaluateJavaScript(
98 current_time_zone = cr.autotest_ext.EvaluateJavaScript(
[all …]
/external/autotest/client/site_tests/enterprise_OnlineDemoModeEnrollment/
Denterprise_OnlineDemoModeEnrollment.py12 def _launch_arc_app(autotest_ext, app_id): argument
14 autotest_ext.ExecuteJavaScript('''
22 return autotest_ext.EvaluateJavaScript('window.__app_launched')
39 autotest_ext=True,
43 condition=lambda: _launch_arc_app(cr.autotest_ext,
/external/autotest/client/site_tests/desktopui_ConnectivityDiagnostics/
Ddesktopui_ConnectivityDiagnostics.py41 with chrome.Chrome(disable_default_apps=False, autotest_ext=True) as cr:
42 extension = cr.autotest_ext
/external/autotest/client/site_tests/policy_NativePrintersBulkAccessMode/
Dpolicy_NativePrintersBulkAccessMode.py70 self.cr.autotest_ext.ExecuteJavaScript(
75 self.cr.autotest_ext.WaitForJavaScriptCondition(
77 printers = self.cr.autotest_ext.EvaluateJavaScript(
/external/autotest/client/site_tests/touch_TabSwitch/
Dtouch_TabSwitch.py93 with chrome.Chrome(autotest_ext=True,
95 self._set_autotest_ext(cr.autotest_ext)
/external/autotest/client/site_tests/touch_ScrollDirection/
Dtouch_ScrollDirection.py88 with chrome.Chrome(autotest_ext=True,
91 self._set_autotest_ext(cr.autotest_ext)
/external/autotest/client/site_tests/touch_TapSettings/
Dtouch_TapSettings.py95 with chrome.Chrome(autotest_ext=True,
98 self._set_autotest_ext(cr.autotest_ext)
/external/autotest/client/site_tests/desktopui_ScreenLocker/
Ddesktopui_ScreenLocker.py71 ext = self._chrome.autotest_ext
147 with chrome.Chrome(autotest_ext=True, password='good') as self._chrome:
/external/autotest/client/site_tests/power_VideoCall/
Dpower_VideoCall.py53 autotest_ext=True) as cr:
78 cr.autotest_ext.EvaluateJavaScript(cmd)
/external/autotest/client/bin/
Dtelemetry_sanity.py111 with chrome.Chrome(autotest_ext=True) as cr:
112 cr.autotest_ext.ExecuteJavaScript('chrome.autotestPrivate.lockScreen();')
Dvm_sanity.py111 with chrome.Chrome(autotest_ext=True) as cr:
112 cr.autotest_ext.ExecuteJavaScript('chrome.autotestPrivate.lockScreen();')
/external/autotest/client/site_tests/graphics_Stress/
Dgraphics_Stress.py38 autotest_ext=True)
43 cr.autotest_ext.ExecuteJavaScript(cmd)
/external/autotest/client/site_tests/policy_DeviceAllowBluetooth/
Dpolicy_DeviceAllowBluetooth.py36 ext = self.cr.autotest_ext
/external/autotest/client/site_tests/policy_VirtualMachinesAllowed/
Dpolicy_VirtualMachinesAllowed.py38 self.cr.autotest_ext.ExecuteJavaScript('''
/external/autotest/client/site_tests/display_DisplayContainEdid/
Ddisplay_DisplayContainEdid.py22 autotest_ext=True) as cr:
/external/autotest/client/site_tests/display_ClientChameleonConnection/
Ddisplay_ClientChameleonConnection.py28 with chrome.Chrome(extension_paths=ext_paths, autotest_ext=True) as cr:
/external/autotest/client/site_tests/touch_GestureNav/
Dtouch_GestureNav.py57 with chrome.Chrome(autotest_ext=True,
/external/autotest/client/site_tests/touch_TouchscreenScroll/
Dtouch_TouchscreenScroll.py81 with chrome.Chrome(autotest_ext=True,
/external/autotest/client/site_tests/audio_CrasGetNodes/
Daudio_CrasGetNodes.py37 autotest_ext=True) as cr:

12