/external/autotest/client/common_lib/cros/ |
D | assistant_util.py | 13 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 …]
|
D | arc_util.py | 44 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 …]
|
D | chrome.py | 57 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/ |
D | enterprise_policy_utils.py | 21 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 …]
|
D | policy_manager.py | 49 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)
|
D | enterprise_policy_base.py | 281 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/ |
D | autoupdate_UserData.py | 55 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/ |
D | enterprise_OnlineDemoModeEnrollment.py | 12 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/ |
D | desktopui_ConnectivityDiagnostics.py | 41 with chrome.Chrome(disable_default_apps=False, autotest_ext=True) as cr: 42 extension = cr.autotest_ext
|
/external/autotest/client/site_tests/policy_NativePrintersBulkAccessMode/ |
D | policy_NativePrintersBulkAccessMode.py | 70 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/ |
D | touch_TabSwitch.py | 93 with chrome.Chrome(autotest_ext=True, 95 self._set_autotest_ext(cr.autotest_ext)
|
/external/autotest/client/site_tests/touch_ScrollDirection/ |
D | touch_ScrollDirection.py | 88 with chrome.Chrome(autotest_ext=True, 91 self._set_autotest_ext(cr.autotest_ext)
|
/external/autotest/client/site_tests/touch_TapSettings/ |
D | touch_TapSettings.py | 95 with chrome.Chrome(autotest_ext=True, 98 self._set_autotest_ext(cr.autotest_ext)
|
/external/autotest/client/site_tests/desktopui_ScreenLocker/ |
D | desktopui_ScreenLocker.py | 71 ext = self._chrome.autotest_ext 147 with chrome.Chrome(autotest_ext=True, password='good') as self._chrome:
|
/external/autotest/client/site_tests/power_VideoCall/ |
D | power_VideoCall.py | 53 autotest_ext=True) as cr: 78 cr.autotest_ext.EvaluateJavaScript(cmd)
|
/external/autotest/client/bin/ |
D | telemetry_sanity.py | 111 with chrome.Chrome(autotest_ext=True) as cr: 112 cr.autotest_ext.ExecuteJavaScript('chrome.autotestPrivate.lockScreen();')
|
D | vm_sanity.py | 111 with chrome.Chrome(autotest_ext=True) as cr: 112 cr.autotest_ext.ExecuteJavaScript('chrome.autotestPrivate.lockScreen();')
|
/external/autotest/client/site_tests/graphics_Stress/ |
D | graphics_Stress.py | 38 autotest_ext=True) 43 cr.autotest_ext.ExecuteJavaScript(cmd)
|
/external/autotest/client/site_tests/policy_DeviceAllowBluetooth/ |
D | policy_DeviceAllowBluetooth.py | 36 ext = self.cr.autotest_ext
|
/external/autotest/client/site_tests/policy_VirtualMachinesAllowed/ |
D | policy_VirtualMachinesAllowed.py | 38 self.cr.autotest_ext.ExecuteJavaScript('''
|
/external/autotest/client/site_tests/display_DisplayContainEdid/ |
D | display_DisplayContainEdid.py | 22 autotest_ext=True) as cr:
|
/external/autotest/client/site_tests/display_ClientChameleonConnection/ |
D | display_ClientChameleonConnection.py | 28 with chrome.Chrome(extension_paths=ext_paths, autotest_ext=True) as cr:
|
/external/autotest/client/site_tests/touch_GestureNav/ |
D | touch_GestureNav.py | 57 with chrome.Chrome(autotest_ext=True,
|
/external/autotest/client/site_tests/touch_TouchscreenScroll/ |
D | touch_TouchscreenScroll.py | 81 with chrome.Chrome(autotest_ext=True,
|
/external/autotest/client/site_tests/audio_CrasGetNodes/ |
D | audio_CrasGetNodes.py | 37 autotest_ext=True) as cr:
|