HomeSort by relevance Sort by last modified time
    Searched refs:policy_value (Results 1 - 18 of 18) sorted by null

  /external/autotest/client/site_tests/policy_RestoreOnStartupURLs/
policy_RestoreOnStartupURLs.py 40 def _test_startup_urls(self, policy_value, policies_json):
47 @param policy_value: policy value expected on chrome://policy page.
51 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
53 policy_value, policies_json)
67 # Compare open tabs with expected tabs by |policy_value|.
68 if tab_urls_value != policy_value:
71 (tab_urls_value, policy_value))
76 Set the expected |policy_value| string and |policies_json| data based
78 command line args, then use it to set the |policy_value| and blank out
85 # If |value| was given by user, then set expected |policy_value|
    [all...]
  /external/autotest/client/site_tests/policy_EditBookmarksEnabled/
policy_EditBookmarksEnabled.py 56 def _test_edit_bookmarks_enabled(self, policy_value, policies_json):
69 @param policy_value: policy value expected on chrome://policy page.
74 policy_value, policies_json)
75 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
77 if policy_value == 'true' or policy_value == 'null':
109 Set the expected |policy_value| and |policies_json| data based on the
111 set the |policy_value| and blank out |policies_json|.
117 # If |value| was given by user, then set expected |policy_value|
119 policy_value = self.valu
    [all...]
  /external/autotest/client/site_tests/policy_CookiesAllowedForUrls/
policy_CookiesAllowedForUrls.py 73 def _test_CookiesAllowedForUrls(self, policy_value, policies_json):
81 @param policy_value: policy value expected on chrome://policy page.
88 policy_value, policies_json)
89 self.setup_case(POLICY_NAME, policy_value, policies_json)
94 if policy_value and URL_HOST in policy_value:
104 Set the expected |policy_value| and |policies_json| data based on the
106 line args, then use it to set the |policy_value| and blank out the
112 policy_value = None
117 # |policy_value| to the given value, and |policies_json| to None
    [all...]
  /external/autotest/client/site_tests/policy_CookiesBlockedForUrls/
policy_CookiesBlockedForUrls.py 72 def _test_CookiesBlockedForUrls(self, policy_value, policies_json):
81 @param policy_value: policy value expected on chrome://policy page.
88 policy_value, policies_json)
89 self.setup_case(POLICY_NAME, policy_value, policies_json)
93 if policy_value and URL_HOST in policy_value:
104 Set the expected |policy_value| and |policies_json| data based on the
106 line args, then use it to set the |policy_value| and blank out the
112 policy_value = None
117 # |policy_value| to the given value, and |policies_json| to None
    [all...]
  /external/autotest/client/site_tests/policy_ManagedBookmarks/
policy_ManagedBookmarks.py 62 def _test_managed_bookmarks(self, policy_value, policies_json):
69 @param policy_value: policy value expected on chrome://policy page.
73 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
74 logging.info('Running _test_managed_bookmarks(policy_value=%s, '
75 'policies_json=%s)', policy_value, policies_json)
76 if policy_value is None:
77 if self._managed_bookmarks_are_shown(policy_value):
80 if not self._managed_bookmarks_are_shown(policy_value):
153 Set the expected |policy_value| string and |policies_json| data based
155 command line args, then use it to set the |policy_value| and blank ou
    [all...]
  /external/autotest/client/site_tests/policy_PopupsAllowedForUrls/
policy_PopupsAllowedForUrls.py 74 def _test_popups_allowed_for_urls(self, policy_value, policies_json):
82 @param policy_value: policy value expected on chrome://policy page.
86 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
88 policy_value, policies_json)
94 # String |URL_HOST| will be found in string |policy_value| for
97 if policy_value is not None and self.URL_HOST in policy_value:
108 Set the expected |policy_value| and |policies_json| data based on the
110 line args, then use it to set the |policy_value| and blank out the
117 # If |value| was given in args, then set expected |policy_value|
    [all...]
  /external/autotest/client/site_tests/policy_PopupsBlockedForUrls/
policy_PopupsBlockedForUrls.py 74 def _test_popups_blocked_for_urls(self, policy_value, policies_json):
82 @param policy_value: policy value expected on chrome://policy page.
86 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
88 policy_value, policies_json)
94 # String |URL_HOST| will be found in string |policy_value| for
97 if policy_value is not None and self.URL_HOST in policy_value:
108 Set the expected |policy_value| and |policies_json| data based on the
110 line args, then use it to set the |policy_value| and blank out the
117 # If |value| was given in args, then set expected |policy_value|
    [all...]
  /external/autotest/client/site_tests/policy_JavaScriptAllowedForUrls/
policy_JavaScriptAllowedForUrls.py 89 def _test_javascript_allowed_for_urls(self, policy_value, policies_json):
97 @param policy_value: policy value expected on chrome://policy page.
101 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
103 policy_value, policies_json)
115 if policy_value is not None and self.URL_HOST in policy_value:
116 # If |URL_HOST| is in |policy_value|, then JavaScript execution
128 Set the expected |policy_value| string and |policies_json| data based
130 command line args, then use it to set the |policy_value| and blank out
138 # |policy_value| to the given value, and |policies_json| to None
    [all...]
  /external/autotest/client/site_tests/policy_JavaScriptBlockedForUrls/
policy_JavaScriptBlockedForUrls.py 91 def _test_javascript_blocked_for_urls(self, policy_value, policies_json):
99 @param policy_value: policy value expected on chrome://policy page.
103 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
105 policy_value, policies_json)
116 if policy_value is not None and self.URL_HOST in policy_value:
117 # If |URL_HOST| is in |policy_value|, then JavaScript execution
129 Set the expected |policy_value| string and |policies_json| data based
131 command line args, then use it to set the |policy_value| and blank out
139 # |policy_value| to the given value, and |policies_json| to None
    [all...]
  /external/autotest/client/site_tests/policy_ImagesAllowedForUrls/
policy_ImagesAllowedForUrls.py 81 def _test_images_allowed_for_urls(self, policy_value, policies_json):
90 @param policy_value: policy value expected on chrome://policy page.
94 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
96 policy_value, policies_json)
106 # String |URL_HOST| will be found in string |policy_value| for
108 if policy_value is not None and self.URL_HOST in policy_value:
120 Set the expected |policy_value| and |policies_json| data based on the
122 line args, then use it to set the |policy_value| and blank out the
134 # |policy_value| to the given value, and |policies_json| to None
    [all...]
  /external/autotest/client/site_tests/policy_ImagesBlockedForUrls/
policy_ImagesBlockedForUrls.py 82 def _test_images_blocked_for_urls(self, policy_value, policies_json):
91 @param policy_value: policy value expected on chrome://policy page.
95 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
97 policy_value, policies_json)
107 # String |URL_HOST| will be found in string |policy_value| for
109 if policy_value is not None and self.URL_HOST in policy_value:
121 Set the expected |policy_value| and |policies_json| data based on the
123 line args, then use it to set the |policy_value| and blank out the
135 # |policy_value| to the given value, and |policies_json| to None
    [all...]
  /external/autotest/client/site_tests/policy_URLBlacklist/
policy_URLBlacklist.py 123 def _test_URLBlacklist(self, policy_value, policies_json):
131 @param policy_value: policy value expected on chrome://policy page.
138 self.setup_case(POLICY_NAME, policy_value, policies_json)
140 policy_value, policies_json)
144 if policy_value:
145 if url in policy_value and not url_is_blocked:
156 Set the expected |policy_value| and |policies_json| data based on the
158 line args, then use it to set the |policy_value| and blank out the
164 policy_value = None
173 # |policy_value| to the given value, and |policies_json| to None
    [all...]
  /external/autotest/client/site_tests/policy_URLWhitelist/
policy_URLWhitelist.py 128 def _test_URLWhitelist(self, policy_value, policies_json):
137 @param policy_value: policy value expected on chrome://policy page.
145 policy_value, policies_json)
146 self.setup_case(POLICY_NAME, policy_value, policies_json)
150 if policy_value:
151 if url in policy_value and url_is_blocked:
154 elif url not in policy_value and not url_is_blocked:
166 Set the expected |policy_value| and |policies_json| data based on the
168 line args, then use it to set the |policy_value| and blank out the
174 policy_value = Non
    [all...]
  /external/autotest/client/site_tests/policy_ProxySettings/
policy_ProxySettings.py 148 def _test_proxy_configuration(self, policy_value, policies_json):
151 @param policy_value: policy value expected on chrome://policy page.
155 policy_value, policies_json)
156 self.setup_case(POLICY_NAME, policy_value, policies_json)
171 if policy_value is None or 'direct' in policy_value:
175 elif 'fixed_servers' in policy_value:
183 Set the expected |policy_value| and |policies_json| data based on the
185 then set |policy_value| to |value|, and |policies_json| to None.
192 # |policy_value| to the given value, and |policies_json| to None
    [all...]
  /external/autotest/client/cros/
enterprise_policy_base.py 207 def setup_case(self, policy_name, policy_value, policies_json):
217 |policy_name| and has the correct |policy_value|.
220 @param policy_value: Expected value to appear on chrome://policy page.
224 @raises error.TestFail if |policy_name| and |policy_value| are not
239 if not self._policy_value_matches_shown(policy_value, value_shown):
242 (value_shown, policy_value))
275 def _policy_value_matches_shown(self, policy_value, value_shown):
276 """Compare |policy_value| to |value_shown| with whitespace removed.
284 @param policy_value: Expected value to appear on chrome://policy page.
294 if policy_value is None or policy_value == ''
    [all...]
  /external/autotest/client/common_lib/cros/
policy.py 62 settings.ParseFromString(data_proto.policy_value)
119 data_proto.policy_value = settings.SerializeToString()
  /external/autotest/client/site_tests/login_OwnershipTaken/
login_OwnershipTaken.py 50 polval.ParseFromString(poldata.policy_value)
  /external/libbrillo/policy/
device_policy_impl.cc 132 device_policy_.ParseFromString(policy_data_.policy_value());

Completed in 5418 milliseconds