/external/autotest/client/site_tests/policy_DefaultImagesSetting/ |
D | policy_DefaultImagesSetting.py | 34 def _image_check(self, policy_value): argument 47 if (policy_value is None or policy_value == 1) and image_is_blocked: 50 elif policy_value == 2 and not image_is_blocked: 72 policy_value = self.LOOKUP[case] 73 self.setup_case(user_policies={self.POLICY_NAME: policy_value})
|
/external/autotest/client/site_tests/policy_CookiesSessionOnlyForUrls/ |
D | policy_CookiesSessionOnlyForUrls.py | 120 def _test_cookies_allowed_for_urls(self, policy_value): argument 137 if policy_value and self.WEB_HOST in policy_value: 145 if policy_value and self.WEB_HOST in policy_value:
|
/external/autotest/client/site_tests/policy_RestoreOnStartupURLs/ |
D | policy_RestoreOnStartupURLs.py | 41 def _test_startup_urls(self, policy_value): argument 57 if policy_value is None: 63 elif set(tab_urls) != set(policy_value): 65 (tab_urls, policy_value))
|
/external/autotest/client/site_tests/policy_EnterpriseForceInstallCustom/ |
D | policy_EnterpriseForceInstallCustom.py | 33 policy_value = self._get_policy_value_from_new_tab(self.POLICY_NAME) 34 if not policy_value: 40 if app_settings not in policy_value: 43 for app in policy_value[app_settings]:
|
/external/autotest/client/site_tests/policy_JavaScriptAllowedForUrls/ |
D | policy_JavaScriptAllowedForUrls.py | 90 def _test_javascript_allowed_for_urls(self, policy_value): argument 113 if policy_value is not None and (self.WEB_HOST in policy_value or 114 self.TEST_URL in policy_value):
|
/external/autotest/client/site_tests/policy_JavaScriptBlockedForUrls/ |
D | policy_JavaScriptBlockedForUrls.py | 93 def _test_javascript_blocked_for_urls(self, policy_value): argument 117 if policy_value is not None and (self.WEB_HOST in policy_value or 118 self.TEST_URL in policy_value):
|
/external/autotest/client/site_tests/policy_URLWhitelist/ |
D | policy_URLWhitelist.py | 106 def _test_url_whitelist(self, policy_value): argument 121 if policy_value: 122 if url in policy_value and url_is_blocked: 126 elif url not in policy_value and not url_is_blocked:
|
/external/autotest/client/site_tests/policy_EditBookmarksEnabled/ |
D | policy_EditBookmarksEnabled.py | 34 def _test_edit_bookmarks_enabled(self, policy_value): argument 52 if policy_value is False and boomark_present: 55 elif policy_value is not False and not boomark_present:
|
/external/autotest/client/site_tests/policy_URLBlacklist/ |
D | policy_URLBlacklist.py | 95 def _test_url_blacklist(self, policy_value): argument 112 if policy_value: 113 should_be_blocked = (policy_value == self.BLACKLIST_WILDCARD or 114 url in policy_value)
|
/external/autotest/client/site_tests/policy_SearchSuggestEnabled/ |
D | policy_SearchSuggestEnabled.py | 16 def _search_bar_check(self, policy_value): argument 35 if policy_value is False and search_sugg: 37 elif policy_value is not False and not search_sugg:
|
/external/autotest/client/site_tests/policy_AlternateErrorPages/ |
D | policy_AlternateErrorPages.py | 28 def _alt_page_check(self, policy_value): argument 64 if self.RESULTS_DICT[policy_value] != list_content: 68 .format(self.RESULTS_DICT[policy_value], list_content))
|
/external/autotest/client/cros/enterprise/ |
D | enterprise_policy_utils.py | 110 def _remove_visual_formatting(policy_value): argument 119 policy_value['value'] = json.loads(policy_value['value'])
|
/external/autotest/client/site_tests/policy_ExternalStorageReadOnly/ |
D | policy_ExternalStorageReadOnly.py | 36 def _test_external_storage(self, policy_value): argument 55 if policy_value and os.path.isfile(self.TEST_FILE): 58 elif not policy_value and not os.path.isfile(self.TEST_FILE):
|
/external/autotest/client/site_tests/policy_DisableScreenshots/ |
D | policy_DisableScreenshots.py | 88 def _test_screenshot_shortcut(self, policy_value): argument 108 if policy_value: 115 def _test_screenshot_apis(self, policy_value): argument 163 if policy_value:
|
/external/autotest/client/site_tests/policy_CookiesBlockedForUrls/ |
D | policy_CookiesBlockedForUrls.py | 73 def _test_cookies_blocked_for_urls(self, policy_value): argument 88 if policy_value and self.WEB_HOST in policy_value:
|
/external/autotest/client/site_tests/policy_CookiesAllowedForUrls/ |
D | policy_CookiesAllowedForUrls.py | 72 def _test_cookies_allowed_for_urls(self, policy_value): argument 86 if policy_value and self.WEB_HOST in policy_value:
|
/external/autotest/client/site_tests/policy_ManagedBookmarks/ |
D | policy_ManagedBookmarks.py | 52 def _test_managed_bookmarks(self, policy_value): argument 66 if not policy_value: 74 pol_set = self._get_set(policy_value)
|
/external/autotest/client/site_tests/policy_PopupsAllowedForUrls/ |
D | policy_PopupsAllowedForUrls.py | 70 def _test_popups_allowed_for_urls(self, policy_value): argument 87 if policy_value is not None and self.WEB_HOST in policy_value:
|
/external/autotest/client/site_tests/policy_PopupsBlockedForUrls/ |
D | policy_PopupsBlockedForUrls.py | 71 def _test_popups_blocked_for_urls(self, policy_value): argument 88 if policy_value is not None and self.WEB_HOST in policy_value:
|
/external/autotest/client/site_tests/policy_NotificationsAllowedForUrls/ |
D | policy_NotificationsAllowedForUrls.py | 90 def _test_notifications_allowed_for_urls(self, policy_value): argument 108 if policy_value is not None and self.WEB_HOST in policy_value:
|
/external/autotest/client/site_tests/policy_ImagesBlockedForUrls/ |
D | policy_ImagesBlockedForUrls.py | 85 def _test_images_blocked_for_urls(self, policy_value): argument 102 if policy_value is not None and self.WEB_HOST in policy_value:
|
/external/autotest/client/site_tests/policy_NotificationsBlockedForUrls/ |
D | policy_NotificationsBlockedForUrls.py | 94 def _test_notifications_blocked_for_urls(self, policy_value): argument 112 if policy_value is not None and self.WEB_HOST in policy_value:
|
/external/autotest/client/site_tests/policy_ImagesAllowedForUrls/ |
D | policy_ImagesAllowedForUrls.py | 86 def _test_images_allowed_for_urls(self, policy_value): argument 104 if policy_value is not None and self.WEB_HOST in policy_value:
|
/external/autotest/client/site_tests/policy_KeyboardDefaultToFunctionKeys/ |
D | policy_KeyboardDefaultToFunctionKeys.py | 47 def _test_function_keys_default(self, policy_value): argument 63 if policy_value: 78 (policy_value, keys, action))
|
/external/autotest/client/site_tests/policy_PluginsBlockedForUrls/ |
D | policy_PluginsBlockedForUrls.py | 114 def _test_plugins_blocked_for_urls(self, policy_value): argument 140 if policy_value is not None and self.WEB_HOST in policy_value:
|