/external/libchrome/components/policy/core/common/ |
D | schema_map_unittest.cc | 144 "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 …]
|
D | policy_service_impl_unittest.cc | 57 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 …]
|
D | policy_map_unittest.cc | 37 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 …]
|
D | policy_bundle_unittest.cc | 33 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 …]
|
D | schema_registry_tracking_policy_provider_unittest.cc | 87 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()
|
D | proxy_policy_provider_unittest.cc | 57 .Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 69 .Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
|
D | policy_types.h | 16 POLICY_SCOPE_USER, enumerator
|
D | config_dir_policy_loader_unittest.cc | 234 POLICY_SCOPE_USER); in TEST_F() 239 .LoadFrom(&test_dict_foo, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
|
D | policy_map.h | 31 PolicyScope scope = POLICY_SCOPE_USER;
|
D | policy_statistics_collector_unittest.cc | 110 policy_map_.Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetPolicy()
|
D | policy_test_utils.cc | 160 case policy::POLICY_SCOPE_USER: in operator <<()
|
D | async_policy_provider_unittest.cc | 35 .Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetPolicy()
|
D | generate_policy_source_unittest.cc | 217 POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, in TEST()
|