Home
last modified time | relevance | path

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

/external/libchrome/components/policy/core/common/
Dschema_map_unittest.cc144 "ChromePolicy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
151 .Set("AnotherExtensionPolicy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
162 map.Set("list", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
164 map.Set("boolean", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
166 map.Set("integer", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
168 map.Set("null", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
170 map.Set("double", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
175 map.Set("object", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
177 map.Set("string", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
182 .Set("Unexpected", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
[all …]
Dpolicy_service_impl_unittest.cc57 policy_map->Set(kSameLevelPolicy, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPolicies()
64 policy_map->Set(kSameLevelPolicy, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPolicies()
83 new_policy.Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in OnPolicyUpdated()
114 policy0_.Set("pre", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetUp()
164 expected.Set("pre", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
176 expectedPrevious.Set("pre", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
182 expectedCurrent.Set("aaa", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
185 policy0_.Set("aaa", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
204 expectedCurrent.Set("bbb", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
207 policy0_.Set("bbb", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
[all …]
Dpolicy_map_unittest.cc37 map->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, in SetPolicy()
44 map->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, in SetPolicy()
76 EXPECT_EQ(POLICY_SCOPE_USER, entry->scope); in TEST_F()
176 a.Set(kTestPolicyName1, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
184 a.Set(kTestPolicyName4, POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER, in TEST_F()
189 a.Set(kTestPolicyName7, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
208 b.Set(kTestPolicyName6, POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER, in TEST_F()
210 b.Set(kTestPolicyName7, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
236 c.Set(kTestPolicyName6, POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER, in TEST_F()
239 c.Set(kTestPolicyName7, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
[all …]
Dpolicy_bundle_unittest.cc33 policy->Set("mandatory-user", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPolicies()
38 policy->Set("recommended-user", POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER, in AddTestPolicies()
59 policy->Set(kPolicyClashing0, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPoliciesWithParams()
64 policy->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPoliciesWithParams()
151 &policy0, kPolicy0, 0u, POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER); in TEST()
171 &policy2, kPolicy2, 2u, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER); in TEST()
193 expected.Set(kPolicyClashing0, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST()
197 expected.Set(kPolicy0, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST()
199 expected.Set(kPolicy1, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST()
201 expected.Set(kPolicy2, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST()
[all …]
Dschema_registry_tracking_policy_provider_unittest.cc87 bundle.Get(chrome_ns).Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
95 .Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
123 policy_map.Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
172 policy_map.Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
211 platform_policy.Get(ns).Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
Dproxy_policy_provider_unittest.cc57 .Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
69 .Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
Dpolicy_types.h16 POLICY_SCOPE_USER, enumerator
Dconfig_dir_policy_loader_unittest.cc234 POLICY_SCOPE_USER); in TEST_F()
239 .LoadFrom(&test_dict_foo, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
Dpolicy_map.h31 PolicyScope scope = POLICY_SCOPE_USER;
Dpolicy_statistics_collector_unittest.cc110 policy_map_.Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetPolicy()
Dpolicy_test_utils.cc160 case policy::POLICY_SCOPE_USER: in operator <<()
Dasync_policy_provider_unittest.cc35 .Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetPolicy()
Dgenerate_policy_source_unittest.cc217 POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, in TEST()