Home
last modified time | relevance | path

Searched refs:PolicyMap (Results 1 – 25 of 29) sorted by relevance

12

/external/libchrome/components/policy/core/common/
Dpolicy_map.cc14 PolicyMap::Entry::Entry() = default;
16 PolicyMap::Entry::~Entry() = default;
18 PolicyMap::Entry::Entry(Entry&&) noexcept = default;
19 PolicyMap::Entry& PolicyMap::Entry::operator=(Entry&&) noexcept = default;
21 PolicyMap::Entry PolicyMap::Entry::DeepCopy() const { in DeepCopy()
36 bool PolicyMap::Entry::has_higher_priority_than( in has_higher_priority_than()
37 const PolicyMap::Entry& other) const { in has_higher_priority_than()
47 bool PolicyMap::Entry::Equals(const PolicyMap::Entry& other) const { in Equals()
58 PolicyMap::PolicyMap() {} in PolicyMap() function in policy::PolicyMap
60 PolicyMap::~PolicyMap() { in ~PolicyMap()
[all …]
Dpolicy_map.h25 class POLICY_EXPORT PolicyMap {
59 PolicyMap();
60 virtual ~PolicyMap();
104 void Swap(PolicyMap* other);
107 void CopyFrom(const PolicyMap& other);
110 std::unique_ptr<PolicyMap> DeepCopy() const;
116 void MergeFrom(const PolicyMap& other);
130 void GetDifferingKeys(const PolicyMap& other,
133 bool Equals(const PolicyMap& other) const;
152 DISALLOW_COPY_AND_ASSIGN(PolicyMap);
Dpolicy_map_unittest.cc34 void SetPolicy(PolicyMap* map, in SetPolicy()
41 void SetPolicy(PolicyMap* map, in SetPolicy()
63 PolicyMap map; in TEST_F()
73 const PolicyMap::Entry* entry = map.Get(kTestPolicyName1); in TEST_F()
95 PolicyMap a; in TEST_F()
97 PolicyMap a2; in TEST_F()
99 PolicyMap b; in TEST_F()
101 PolicyMap c; in TEST_F()
104 PolicyMap d; in TEST_F()
106 PolicyMap d2; in TEST_F()
[all …]
Dpolicy_service.h35 const PolicyMap& previous,
36 const PolicyMap& current) = 0;
55 virtual const PolicyMap& GetPolicies(const PolicyNamespace& ns) const = 0;
101 const PolicyMap& previous,
102 const PolicyMap& current) override;
Dpolicy_bundle.h22 using MapType = std::map<PolicyNamespace, std::unique_ptr<PolicyMap>>;
30 PolicyMap& Get(const PolicyNamespace& ns);
31 const PolicyMap& Get(const PolicyNamespace& ns) const;
67 const PolicyMap kEmpty_;
Dpolicy_service_impl.h26 class PolicyMap; variable
44 const PolicyMap& GetPolicies(const PolicyNamespace& ns) const override;
57 const PolicyMap& previous,
58 const PolicyMap& current);
Dpolicy_service_impl_unittest.cc55 PolicyMap* policy_map = in AddTestPolicies()
80 const PolicyMap& previous, in OnPolicyUpdated()
81 const PolicyMap& current) override { in OnPolicyUpdated()
82 PolicyMap new_policy; in OnPolicyUpdated()
139 const PolicyMap& expected) { in VerifyPolicies()
153 PolicyMap policy0_;
154 PolicyMap policy1_;
155 PolicyMap policy2_;
163 PolicyMap expected; in TEST_F()
175 PolicyMap expectedPrevious; in TEST_F()
[all …]
Dpolicy_service_impl.cc39 void RemapProxyPolicies(PolicyMap* policies) { in RemapProxyPolicies()
42 PolicyMap::Entry current_priority; // Defaults to the lowest priority. in RemapProxyPolicies()
47 const PolicyMap::Entry* entry = policies->Get(kProxyPolicies[i]); in RemapProxyPolicies()
64 const PolicyMap::Entry* existing = policies->Get(key::kProxySettings); in RemapProxyPolicies()
121 const PolicyMap& PolicyServiceImpl::GetPolicies( in GetPolicies()
176 const PolicyMap& previous, in NotifyNamespaceUpdated()
177 const PolicyMap& current) { in NotifyNamespaceUpdated()
202 const PolicyMap kEmpty; in MergeAndTriggerUpdates()
Dpolicy_bundle_unittest.cc32 void AddTestPolicies(PolicyMap* policy) { in AddTestPolicies()
54 void AddTestPoliciesWithParams(PolicyMap *policy, in AddTestPoliciesWithParams()
84 PolicyMap policy; in TEST()
116 PolicyMap policy; in TEST()
149 PolicyMap policy0; in TEST()
159 PolicyMap policy1; in TEST()
169 PolicyMap policy2; in TEST()
192 PolicyMap expected; in TEST()
254 PolicyMap& policy_map = in TEST()
Dmock_policy_service.h19 const PolicyMap& previous,
20 const PolicyMap& current));
32 MOCK_CONST_METHOD1(GetPolicies, const PolicyMap&(const PolicyNamespace&));
Dpolicy_bundle.cc17 PolicyMap& PolicyBundle::Get(const PolicyNamespace& ns) { in Get()
19 std::unique_ptr<PolicyMap>& policy = policy_bundle_[ns]; in Get()
21 policy = std::make_unique<PolicyMap>(); in Get()
25 const PolicyMap& PolicyBundle::Get(const PolicyNamespace& ns) const { in Get()
Dpolicy_proto_decoders.h20 class PolicyMap; variable
30 PolicyMap* map);
Dpolicy_service_stub.h28 const PolicyMap& GetPolicies(
35 const PolicyMap kEmpty_;
Dpolicy_test_utils.cc45 const PolicyMap& map = service->GetPolicies( in PolicyServiceIsEmpty()
49 for (PolicyMap::const_iterator it = map.begin(); it != map.end(); ++it) in PolicyServiceIsEmpty()
192 std::ostream& operator<<(std::ostream& os, const policy::PolicyMap& policies) { in operator <<()
200 std::ostream& operator<<(std::ostream& os, const policy::PolicyMap::Entry& e) { in operator <<()
Dpolicy_service.cc29 const PolicyMap& previous, in OnPolicyUpdated()
30 const PolicyMap& current) { in OnPolicyUpdated()
Dpolicy_test_utils.h65 std::ostream& operator<<(std::ostream& os, const policy::PolicyMap& policies);
66 std::ostream& operator<<(std::ostream& os, const policy::PolicyMap::Entry& e);
Dpolicy_service_stub.cc20 const PolicyMap& PolicyServiceStub::GetPolicies( in GetPolicies()
Dmock_configuration_policy_provider.h34 void UpdateChromePolicy(const PolicyMap& policy);
Dmock_configuration_policy_provider.cc24 const PolicyMap& policy) { in UpdateChromePolicy()
Dconfig_dir_policy_loader.cc174 PolicyMap policy_map; in LoadFromPath()
225 PolicyMap policy; in Merge3rdPartyPolicy()
Dschema_registry_tracking_policy_provider_unittest.cc122 PolicyMap policy_map; in TEST_F()
171 PolicyMap policy_map; in TEST_F()
Dpolicy_statistics_collector.cc66 const PolicyMap& policies = policy_service_->GetPolicies( in CollectStatistics()
Dschema_map_unittest.cc158 PolicyMap& map = expected_bundle.Get(extension_ns); in TEST_F()
191 PolicyMap& badmap = bundle.Get(extension_ns); in TEST_F()
Dschema_map.cc42 const std::unique_ptr<PolicyMap>& policy_map = bundle_item.second; in FilterBundle()
/external/ImageMagick/MagickCore/
Dpolicy.c124 PolicyMap[] = variable
213 for (i=0; i < (ssize_t) (sizeof(PolicyMap)/sizeof(*PolicyMap)); i++) in AcquirePolicyCache()
221 p=PolicyMap+i; in AcquirePolicyCache()

12