Home
last modified time | relevance | path

Searched refs:POLICY_SCOPE_USER (Results 1 – 25 of 67) sorted by relevance

123

/external/chromium_org/chrome/browser/net/
Dproxy_policy_handler_unittest.cc79 POLICY_SCOPE_USER, in TEST_F()
84 POLICY_SCOPE_USER, in TEST_F()
88 key::kProxyServerMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
103 key::kProxyServerMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
109 POLICY_SCOPE_USER, in TEST_F()
114 POLICY_SCOPE_USER, in TEST_F()
128 key::kProxyServerMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
140 policy.Set(key::kProxyServerMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
153 POLICY_SCOPE_USER, in TEST_F()
164 key::kProxyServerMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
[all …]
Ddisk_cache_dir_policy_handler_unittest.cc33 POLICY_SCOPE_USER, in TEST_F()
45 POLICY_SCOPE_USER, in TEST_F()
/external/chromium_org/components/policy/core/browser/
Dconfiguration_policy_handler_unittest.cc62 POLICY_SCOPE_USER, list.DeepCopy(), NULL); in TEST()
69 POLICY_SCOPE_USER, list.DeepCopy(), NULL); in TEST()
76 POLICY_SCOPE_USER, list.DeepCopy(), NULL); in TEST()
83 POLICY_SCOPE_USER, in TEST()
103 POLICY_SCOPE_USER, list.DeepCopy(), NULL); in TEST()
111 POLICY_SCOPE_USER, list.DeepCopy(), NULL); in TEST()
118 POLICY_SCOPE_USER, list.DeepCopy(), NULL); in TEST()
134 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL); in TEST()
140 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL); in TEST()
146 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL); in TEST()
[all …]
Dconfiguration_policy_pref_store_unittest.cc59 POLICY_SCOPE_USER, in_value, NULL); in TEST_F()
84 POLICY_SCOPE_USER, in TEST_F()
110 POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); in TEST_F()
121 POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); in TEST_F()
148 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(2), NULL); in TEST_F()
182 POLICY_SCOPE_USER, in TEST_F()
Dautofill_policy_handler_unittest.cc30 POLICY_SCOPE_USER, in TEST_F()
45 POLICY_SCOPE_USER, in TEST_F()
/external/chromium_org/components/policy/core/common/
Dschema_map_unittest.cc143 POLICY_SCOPE_USER, in TEST_F()
153 POLICY_SCOPE_USER, in TEST_F()
164 map.Set("list", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
166 map.Set("boolean", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
168 map.Set("integer", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
170 map.Set("null", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
172 map.Set("double", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
177 map.Set("object", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
179 map.Set("string", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
185 POLICY_SCOPE_USER, in TEST_F()
[all …]
Dpolicy_service_impl_unittest.cc52 policy_map->Set(kSameLevelPolicy, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPolicies()
59 POLICY_SCOPE_USER, base::Value::CreateStringValue(value), in AddTestPolicies()
77 new_policy.Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in OnPolicyUpdated()
107 policy0_.Set("pre", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetUp()
156 expected.Set("pre", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
167 expectedPrevious.Set("pre", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
172 expectedCurrent.Set("aaa", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
174 policy0_.Set("aaa", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
192 expectedCurrent.Set("bbb", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
194 policy0_.Set("bbb", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
[all …]
Dpolicy_bundle_unittest.cc31 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(123), NULL); in AddTestPolicies()
35 POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); in AddTestPolicies()
53 policy->Set(kPolicyClashing0, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPoliciesWithParams()
57 policy->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPoliciesWithParams()
143 &policy0, kPolicy0, 0u, POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER); in TEST()
163 &policy2, kPolicy2, 2u, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER); in TEST()
185 expected.Set(kPolicyClashing0, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST()
189 expected.Set(kPolicy0, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST()
191 expected.Set(kPolicy1, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST()
193 expected.Set(kPolicy2, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST()
[all …]
Dpolicy_map_unittest.cc28 map->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, value, NULL); in SetPolicy()
34 map->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetPolicy()
66 EXPECT_EQ(POLICY_SCOPE_USER, entry->scope); in TEST_F()
164 a.Set(kTestPolicyName1, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
171 a.Set(kTestPolicyName4, POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER, in TEST_F()
194 POLICY_SCOPE_USER, in TEST_F()
220 c.Set(kTestPolicyName6, POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER, in TEST_F()
228 a.Set(kTestPolicyName1, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
238 a.Set(kTestPolicyName5, POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER, in TEST_F()
243 a.Set(kTestPolicyName7, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
[all …]
Dforwarding_policy_provider_unittest.cc82 bundle.Get(chrome_ns).Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
89 .Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
117 policy_map.Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
163 policy_map.Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
203 platform_policy.Get(ns).Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
/external/chromium_org/chrome/browser/extensions/
Dpolicy_handlers_unittest.cc28 policy::POLICY_SCOPE_USER, in TEST()
39 policy::POLICY_SCOPE_USER, in TEST()
49 policy::POLICY_SCOPE_USER, in TEST()
59 policy::POLICY_SCOPE_USER, in TEST()
85 policy::POLICY_SCOPE_USER, in TEST()
95 policy::POLICY_SCOPE_USER, in TEST()
111 policy::POLICY_SCOPE_USER, in TEST()
121 policy::POLICY_SCOPE_USER, in TEST()
133 policy::POLICY_SCOPE_USER, in TEST()
144 policy::POLICY_SCOPE_USER, in TEST()
[all …]
/external/chromium_org/chrome/browser/chromeos/policy/
Dconfiguration_policy_handler_chromeos_unittest.cc63 POLICY_SCOPE_USER, in TEST_F()
83 POLICY_SCOPE_USER, in TEST_F()
111 POLICY_SCOPE_USER, in TEST()
126 POLICY_SCOPE_USER, in TEST()
142 POLICY_SCOPE_USER, in TEST()
157 POLICY_SCOPE_USER, in TEST()
173 POLICY_SCOPE_USER, in TEST()
191 POLICY_SCOPE_USER, in TEST()
251 POLICY_SCOPE_USER, in TEST()
265 POLICY_SCOPE_USER, in TEST()
[all …]
Dnetwork_configuration_updater_unittest.cc308 POLICY_SCOPE_USER, in TEST_F()
441 POLICY_SCOPE_USER, in TEST_F()
463 POLICY_SCOPE_USER, new base::StringValue(kFakeONC), NULL); in TEST_F()
536 policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_P()
558 policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_P()
598 policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_P()
641 policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_P()
/external/chromium_org/chrome/browser/policy/
Dpolicy_browsertest.cc617 POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetScreenshotPolicy()
754 key::kApplicationLocaleValue, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetUpInProcessBrowserTestFixture()
799 POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); in IN_PROC_BROWSER_TEST_F()
810 POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); in IN_PROC_BROWSER_TEST_F()
846 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(4), NULL); in IN_PROC_BROWSER_TEST_F()
891 POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); in IN_PROC_BROWSER_TEST_F()
893 POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in IN_PROC_BROWSER_TEST_F()
896 POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in IN_PROC_BROWSER_TEST_F()
902 POLICY_SCOPE_USER, alternate_urls, NULL); in IN_PROC_BROWSER_TEST_F()
904 POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in IN_PROC_BROWSER_TEST_F()
[all …]
Djavascript_policy_handler_unittest.cc29 POLICY_SCOPE_USER, in TEST_F()
36 POLICY_SCOPE_USER, in TEST_F()
51 POLICY_SCOPE_USER, in TEST_F()
62 POLICY_SCOPE_USER, in TEST_F()
Dmanaged_bookmarks_policy_handler_unittest.cc32 POLICY_SCOPE_USER, in TEST_F()
110 POLICY_SCOPE_USER, in TEST_F()
127 POLICY_SCOPE_USER, in TEST_F()
155 POLICY_SCOPE_USER, in TEST_F()
Dfile_selection_dialogs_policy_handler_unittest.cc32 POLICY_SCOPE_USER, in TEST_F()
45 POLICY_SCOPE_USER, in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/messaging/
Dnative_messaging_policy_handler_unittest.cc27 policy::POLICY_SCOPE_USER, in TEST()
39 policy::POLICY_SCOPE_USER, in TEST()
51 policy::POLICY_SCOPE_USER, in TEST()
63 policy::POLICY_SCOPE_USER, in TEST()
89 policy::POLICY_SCOPE_USER, in TEST()
101 policy::POLICY_SCOPE_USER, in TEST()
111 policy::POLICY_SCOPE_USER, in TEST()
/external/chromium_org/chrome/browser/search_engines/
Ddefault_search_policy_handler_unittest.cc86 POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); in BuildDefaultSearchPolicy()
88 POLICY_SCOPE_USER, base::Value::CreateStringValue(kSearchURL), in BuildDefaultSearchPolicy()
91 POLICY_SCOPE_USER, base::Value::CreateStringValue(kName), NULL); in BuildDefaultSearchPolicy()
93 POLICY_SCOPE_USER, base::Value::CreateStringValue(kKeyword), in BuildDefaultSearchPolicy()
96 POLICY_SCOPE_USER, base::Value::CreateStringValue(kSuggestURL), in BuildDefaultSearchPolicy()
99 POLICY_SCOPE_USER, base::Value::CreateStringValue(kIconURL), in BuildDefaultSearchPolicy()
102 POLICY_SCOPE_USER, encodings, NULL); in BuildDefaultSearchPolicy()
104 POLICY_SCOPE_USER, default_alternate_urls_.DeepCopy(), NULL); in BuildDefaultSearchPolicy()
106 POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in BuildDefaultSearchPolicy()
109 POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in BuildDefaultSearchPolicy()
[all …]
/external/chromium_org/chrome/browser/download/
Ddownload_dir_policy_handler_unittest.cc73 policy::POLICY_SCOPE_USER, in TEST_F()
96 policy::POLICY_SCOPE_USER, in TEST_F()
122 policy::POLICY_SCOPE_USER, in TEST_F()
130 policy::POLICY_SCOPE_USER, in TEST_F()
148 policy::POLICY_SCOPE_USER, in TEST_F()
/external/chromium_org/chrome/browser/prefs/
Dproxy_policy_unittest.cc126 policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
128 policy.Set(key::kProxyBypassList, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
130 policy.Set(key::kProxyServer, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
160 policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
187 policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
210 policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/storage/
Dpolicy_value_store_unittest.cc124 policy::POLICY_SCOPE_USER, expected.DeepCopy(), NULL); in TEST_F()
126 policy::POLICY_SCOPE_USER, in TEST_F()
168 policies.Set("aaa", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, in TEST_F()
184 policies.Set("bbb", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, in TEST_F()
202 policies.Set("bbb", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, in TEST_F()
/external/chromium_org/chrome/browser/policy/cloud/
Dcloud_policy_browsertest.cc142 POLICY_SCOPE_USER, base::Value::CreateStringValue("not-allowed"), NULL); in GetExpectedDefaultPolicy()
147 expected->Set(key::kShowHomeButton, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in GetExpectedTestPolicy()
150 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(4), NULL); in GetExpectedTestPolicy()
155 key::kURLBlacklist, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in GetExpectedTestPolicy()
159 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(1000), NULL); in GetExpectedTestPolicy()
162 POLICY_SCOPE_USER, base::Value::CreateStringValue(homepage), NULL); in GetExpectedTestPolicy()
166 POLICY_SCOPE_USER, base::Value::CreateStringValue("not-allowed"), NULL); in GetExpectedTestPolicy()
/external/chromium_org/chrome/browser/sync/
Dsync_policy_handler_unittest.cc30 policy::POLICY_SCOPE_USER, in TEST_F()
45 policy::POLICY_SCOPE_USER, in TEST_F()
/external/chromium_org/chrome/browser/profiles/
Dincognito_mode_policy_handler_unittest.cc37 POLICY_SCOPE_USER, in SetPolicies()
44 POLICY_SCOPE_USER, in SetPolicies()

123