/external/chromium_org/components/policy/core/common/ |
D | policy_service_impl_unittest.cc | 51 &bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())); in AddTestPolicies() 159 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expected)); in TEST_F() 164 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, &observer); in TEST_F() 176 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST_F() 188 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expectedCurrent)); in TEST_F() 196 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST_F() 207 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST_F() 221 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST_F() 233 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expectedCurrent)); in TEST_F() 235 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, &observer); in TEST_F() [all …]
|
D | policy_bundle_unittest.cc | 73 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))); in TEST() 78 EXPECT_TRUE(bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST() 83 EXPECT_EQ(POLICY_DOMAIN_CHROME, it->first.domain); in TEST() 102 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))); in TEST() 110 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST() 119 EXPECT_TRUE(bundle1.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST() 127 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST() 144 bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST() 154 bundle1.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST() 164 bundle2.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST() [all …]
|
D | schema_map_unittest.cc | 72 EXPECT_FALSE(map->GetComponents(POLICY_DOMAIN_CHROME)); in TEST_F() 74 EXPECT_FALSE(map->GetSchema(PolicyNamespace(POLICY_DOMAIN_CHROME, ""))); in TEST_F() 87 domain_map[POLICY_DOMAIN_CHROME] = component_map; in TEST_F() 103 PolicyNamespace(POLICY_DOMAIN_CHROME, ""))); in TEST_F() 105 PolicyNamespace(POLICY_DOMAIN_CHROME, "extension-1"))); in TEST_F() 107 PolicyNamespace(POLICY_DOMAIN_CHROME, "legacy-extension"))); in TEST_F() 140 PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); in TEST_F() 252 PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); in TEST_F() 283 map[POLICY_DOMAIN_CHROME][""] = Schema(); in TEST_F() 285 map[POLICY_DOMAIN_CHROME][""] = Schema(); in TEST_F() [all …]
|
D | forwarding_policy_provider_unittest.cc | 49 EXPECT_CALL(mock_provider_, IsInitializationComplete(POLICY_DOMAIN_CHROME)) in TEST_F() 52 forwarding_provider_.IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 61 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); in TEST_F() 87 schema_registry_.SetReady(POLICY_DOMAIN_CHROME); in TEST_F() 100 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, "")).CopyFrom(policy_map); in TEST_F() 114 schema_registry_.SetReady(POLICY_DOMAIN_CHROME); in TEST_F() 120 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, "")) in TEST_F() 151 schema_registry_.SetReady(POLICY_DOMAIN_CHROME); in TEST_F() 176 schema_registry_.SetReady(POLICY_DOMAIN_CHROME); in TEST_F()
|
D | configuration_policy_provider_test.cc | 129 const PolicyNamespace ns(POLICY_DOMAIN_CHROME, ""); in SetUp() 178 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); in SetUp() 224 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in CheckValue() 340 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST_P() 399 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST_P()
|
D | forwarding_policy_provider.cc | 32 if (domain == POLICY_DOMAIN_CHROME) in IsInitializationComplete() 89 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); in OnUpdatePolicy()
|
D | schema_map.cc | 42 if (it->first.domain == POLICY_DOMAIN_CHROME) in FilterBundle() 75 if (domain->first == POLICY_DOMAIN_CHROME) in HasComponents()
|
D | policy_bundle.cc | 19 DCHECK(ns.domain != POLICY_DOMAIN_CHROME || ns.component_id.empty()); in Get() 27 DCHECK(ns.domain != POLICY_DOMAIN_CHROME || ns.component_id.empty()); in Get()
|
D | schema_registry_unittest.cc | 117 registry.SetReady(POLICY_DOMAIN_CHROME); in TEST() 121 registry.SetReady(POLICY_DOMAIN_CHROME); in TEST() 223 registry1.RegisterComponent(PolicyNamespace(POLICY_DOMAIN_CHROME, ""), in TEST()
|
D | policy_test_utils.cc | 39 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())); in PolicyServiceIsEmpty() 98 case policy::POLICY_DOMAIN_CHROME: { in operator <<()
|
D | policy_namespace.h | 20 POLICY_DOMAIN_CHROME, enumerator
|
D | mock_configuration_policy_provider.cc | 25 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in UpdateChromePolicy()
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | network_configuration_updater.cc | 20 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this); in ~NetworkConfigurationUpdater() 47 if (domain != POLICY_DOMAIN_CHROME) in OnPolicyServiceInitialized() 50 if (policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)) { in OnPolicyServiceInitialized() 52 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this); in OnPolicyServiceInitialized() 68 PolicyNamespace(POLICY_DOMAIN_CHROME, in NetworkConfigurationUpdater() 79 if (policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)) { in Init() 83 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, this); in Init() 111 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())); in ApplyPolicy()
|
D | login_profile_policy_provider.cc | 70 device_policy_service_->AddObserver(POLICY_DOMAIN_CHROME, this); in Init() 71 if (device_policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)) in Init() 76 device_policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this); in Shutdown() 92 if (ns == PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in OnPolicyUpdated() 98 if (domain == POLICY_DOMAIN_CHROME) in OnPolicyServiceInitialized() 112 const PolicyNamespace chrome_namespaces(POLICY_DOMAIN_CHROME, std::string()); in UpdateFromDevicePolicy()
|
D | user_cloud_policy_manager_chromeos_unittest.cc | 116 expected_bundle_.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in SetUp() 172 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in CreateManager() 297 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in FetchPolicy() 419 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 421 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 443 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 447 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 485 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 489 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 505 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() [all …]
|
D | proxy_policy_provider_unittest.cc | 47 EXPECT_TRUE(proxy_provider_.IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 53 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST_F() 67 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST_F()
|
D | device_local_account_policy_provider.cc | 34 if (domain == POLICY_DOMAIN_CHROME) in IsInitializationComplete() 77 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in UpdateFromBroker()
|
D | cloud_external_data_policy_observer.cc | 65 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, this); in PolicyServiceObserver() 73 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in PolicyServiceObserver() 82 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this); in ~PolicyServiceObserver() 89 DCHECK(ns == PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())); in OnPolicyUpdated()
|
D | device_cloud_policy_manager_chromeos_unittest.cc | 153 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 175 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 178 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST_F() 201 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 254 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in SetUp() 280 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in ExpectSuccessfulEnrollment()
|
/external/chromium_org/components/policy/core/browser/ |
D | configuration_policy_pref_store.cc | 45 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, this); in ConfigurationPolicyPrefStore() 62 return policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME); in IsInitializationComplete() 80 DCHECK_EQ(POLICY_DOMAIN_CHROME, ns.domain); in OnPolicyUpdated() 87 if (domain == POLICY_DOMAIN_CHROME) { in OnPolicyServiceInitialized() 94 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this); in ~ConfigurationPolicyPrefStore() 116 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))); in CreatePreferencesFromPolicies()
|
/external/chromium_org/chrome/browser/policy/cloud/ |
D | cloud_policy_browsertest.cc | 286 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())))); in IN_PROC_BROWSER_TEST_F() 298 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())))); in IN_PROC_BROWSER_TEST_F() 303 policy_service->AddObserver(POLICY_DOMAIN_CHROME, this); in IN_PROC_BROWSER_TEST_F() 330 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())))); in IN_PROC_BROWSER_TEST_F() 332 policy_service->RemoveObserver(POLICY_DOMAIN_CHROME, this); in IN_PROC_BROWSER_TEST_F() 351 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())))); in IN_PROC_BROWSER_TEST_F() 364 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())))); in IN_PROC_BROWSER_TEST_F() 378 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())))); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/policy/ |
D | schema_registry_service.cc | 18 RegisterComponent(PolicyNamespace(POLICY_DOMAIN_CHROME, ""), chrome_schema); in SchemaRegistryService() 19 SetReady(POLICY_DOMAIN_CHROME); in SchemaRegistryService()
|
/external/chromium_org/components/policy/core/common/cloud/ |
D | cloud_policy_manager.cc | 55 if (domain == POLICY_DOMAIN_CHROME) in IsInitializationComplete() 93 if (IsInitializationComplete(POLICY_DOMAIN_CHROME) && in CheckAndPublishPolicy() 96 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in CheckAndPublishPolicy()
|
D | cloud_policy_manager_unittest.cc | 175 expected_bundle_.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in SetUp() 216 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 228 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 250 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 274 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 283 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F() 350 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F()
|
D | user_cloud_policy_manager_unittest.cc | 38 expected_bundle_.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in SetUp() 89 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F()
|