/external/chromium_org/components/policy/core/browser/ |
D | configuration_policy_handler.cc | 55 const char* policy_name, in TypeCheckingPolicyHandler() argument 57 : policy_name_(policy_name), in TypeCheckingPolicyHandler() 64 const char* TypeCheckingPolicyHandler::policy_name() const { in policy_name() function in policy::TypeCheckingPolicyHandler 91 const char* policy_name, in IntRangePolicyHandlerBase() argument 95 : TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_INTEGER), in IntRangePolicyHandlerBase() 125 errors->AddError(policy_name(), in EnsureInRange() 145 const char* policy_name, in StringToIntEnumListPolicyHandler() argument 149 : TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_LIST), in StringToIntEnumListPolicyHandler() 167 const base::Value* value = policies.GetValue(policy_name()); in ApplyPolicySettings() 190 errors->AddError(policy_name(), in Convert() [all …]
|
D | configuration_policy_handler.h | 25 const char* const policy_name; member 65 TypeCheckingPolicyHandler(const char* policy_name, 73 const char* policy_name() const; 97 IntRangePolicyHandlerBase(const char* policy_name, 133 SimplePolicyHandler(const char* policy_name, 159 StringToIntEnumListPolicyHandler(const char* policy_name, 191 IntRangePolicyHandler(const char* policy_name, 214 IntPercentageToDoublePolicyHandler(const char* policy_name,
|
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
D | adml_writer.py | 64 policy_name = policy['name'] 68 policy_caption = policy_name 72 policy_description = policy_name 76 policy_label = policy_name 78 self._AddString(self._string_table_elem, policy_name, policy_caption) 79 self._AddString(self._string_table_elem, policy_name + '_Explain', 82 self._presentation_table_elem, 'presentation', {'id': policy_name}) 89 {'refId': policy_name}) 94 {'refId': policy_name}) 100 {'refId': policy_name}) [all …]
|
D | admx_writer.py | 255 policy_name = policy['name'] 263 'displayName': self._AdmlString(policy_name), 264 'explainText': self._AdmlStringExplain(policy_name), 265 'presentation': self._AdmlPresentation(policy_name), 277 self.AddAttribute(policy_elem, 'valueName', policy_name) 282 self._AddStringPolicy(parent, policy_name) 285 self._AddIntPolicy(parent, policy_name) 291 self._AddListPolicy(parent, key, policy_name)
|
D | plist_writer.py | 82 policy_name = policy['name'] 89 self._AddStringKeyValuePair(dict, 'pfm_name', policy_name)
|
/external/chromium_org/components/policy/core/common/ |
D | config_dir_policy_loader_unittest.cc | 40 virtual void InstallStringPolicy(const std::string& policy_name, 42 virtual void InstallIntegerPolicy(const std::string& policy_name, 44 virtual void InstallBooleanPolicy(const std::string& policy_name, 47 const std::string& policy_name, 50 const std::string& policy_name, 97 void TestHarness::InstallStringPolicy(const std::string& policy_name, in InstallStringPolicy() argument 100 dict.SetString(policy_name, policy_value); in InstallStringPolicy() 104 void TestHarness::InstallIntegerPolicy(const std::string& policy_name, in InstallIntegerPolicy() argument 107 dict.SetInteger(policy_name, policy_value); in InstallIntegerPolicy() 111 void TestHarness::InstallBooleanPolicy(const std::string& policy_name, in InstallBooleanPolicy() argument [all …]
|
D | policy_loader_mac_unittest.cc | 133 virtual void InstallStringPolicy(const std::string& policy_name, 135 virtual void InstallIntegerPolicy(const std::string& policy_name, 137 virtual void InstallBooleanPolicy(const std::string& policy_name, 140 const std::string& policy_name, 143 const std::string& policy_name, 172 void TestHarness::InstallStringPolicy(const std::string& policy_name, in InstallStringPolicy() argument 174 ScopedCFTypeRef<CFStringRef> name(base::SysUTF8ToCFStringRef(policy_name)); in InstallStringPolicy() 179 void TestHarness::InstallIntegerPolicy(const std::string& policy_name, in InstallIntegerPolicy() argument 181 ScopedCFTypeRef<CFStringRef> name(base::SysUTF8ToCFStringRef(policy_name)); in InstallIntegerPolicy() 187 void TestHarness::InstallBooleanPolicy(const std::string& policy_name, in InstallBooleanPolicy() argument [all …]
|
D | configuration_policy_provider_test.h | 87 virtual void InstallStringPolicy(const std::string& policy_name, 89 virtual void InstallIntegerPolicy(const std::string& policy_name, 91 virtual void InstallBooleanPolicy(const std::string& policy_name, 93 virtual void InstallStringListPolicy(const std::string& policy_name, 96 const std::string& policy_name, 128 void CheckValue(const char* policy_name,
|
D | policy_loader_win_unittest.cc | 179 virtual void InstallStringPolicy(const std::string& policy_name, 181 virtual void InstallIntegerPolicy(const std::string& policy_name, 183 virtual void InstallBooleanPolicy(const std::string& policy_name, 186 const std::string& policy_name, 189 const std::string& policy_name, 230 virtual void InstallStringPolicy(const std::string& policy_name, 232 virtual void InstallIntegerPolicy(const std::string& policy_name, 234 virtual void InstallBooleanPolicy(const std::string& policy_name, 237 const std::string& policy_name, 240 const std::string& policy_name, [all …]
|
D | schema_map.cc | 62 const std::string& policy_name = it_map->first; in FilterBundle() local 64 Schema policy_schema = schema->GetProperty(policy_name); in FilterBundle() 67 map->Erase(policy_name); in FilterBundle()
|
D | policy_service.cc | 21 void PolicyChangeRegistrar::Observe(const std::string& policy_name, in Observe() argument 25 callback_map_[policy_name] = callback; in Observe()
|
/external/chromium_org/chrome/browser/extensions/ |
D | policy_handlers.cc | 21 ExtensionListPolicyHandler::ExtensionListPolicyHandler(const char* policy_name, in ExtensionListPolicyHandler() argument 24 : policy::TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_LIST), in ExtensionListPolicyHandler() 75 errors->AddError(policy_name(), in CheckAndGetList() 83 errors->AddError(policy_name(), in CheckAndGetList() 145 errors->AddError(policy_name(), in ParseList() 159 errors->AddError(policy_name(), in ParseList() 171 errors->AddError(policy_name(), in ParseList() 190 const char* policy_name, in ExtensionURLPatternListPolicyHandler() argument 192 : policy::TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_LIST), in ExtensionURLPatternListPolicyHandler() 218 errors->AddError(policy_name(), in CheckPolicySettings() [all …]
|
D | policy_handlers.h | 23 ExtensionListPolicyHandler(const char* policy_name, 75 ExtensionURLPatternListPolicyHandler(const char* policy_name,
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | configuration_policy_handler_chromeos.cc | 68 ExternalDataPolicyHandler::ExternalDataPolicyHandler(const char* policy_name) in ExternalDataPolicyHandler() argument 69 : TypeCheckingPolicyHandler(policy_name, Value::TYPE_DICTIONARY) { in ExternalDataPolicyHandler() 80 const std::string policy = policy_name(); in CheckPolicySettings() 151 errors->AddError(policy_name(), IDS_POLICY_NETWORK_CONFIG_PARSE_FAILED); in CheckPolicySettings() 170 errors->AddError(policy_name(), IDS_POLICY_NETWORK_CONFIG_IMPORT_PARTIAL); in CheckPolicySettings() 172 errors->AddError(policy_name(), IDS_POLICY_NETWORK_CONFIG_IMPORT_FAILED); in CheckPolicySettings() 184 const base::Value* value = policies.GetValue(policy_name()); in ApplyPolicySettings() 208 const PolicyMap::Entry* entry = policies->Get(policy_name()); in PrepareForDisplaying() 215 policies->Set(policy_name(), entry->level, entry->scope, in PrepareForDisplaying() 220 const char* policy_name, in NetworkConfigurationPolicyHandler() argument [all …]
|
D | configuration_policy_handler_chromeos.h | 25 explicit ExternalDataPolicyHandler(const char* policy_name); 58 const char* policy_name,
|
/external/chromium_org/components/policy/core/common/cloud/ |
D | cloud_policy_manager_unittest.cc | 43 virtual void InstallStringPolicy(const std::string& policy_name, 45 virtual void InstallIntegerPolicy(const std::string& policy_name, 47 virtual void InstallBooleanPolicy(const std::string& policy_name, 50 const std::string& policy_name, 53 const std::string& policy_name, 90 void TestHarness::InstallStringPolicy(const std::string& policy_name, in InstallStringPolicy() argument 92 store_.policy_map_.Set(policy_name, policy_level(), policy_scope(), in InstallStringPolicy() 96 void TestHarness::InstallIntegerPolicy(const std::string& policy_name, in InstallIntegerPolicy() argument 98 store_.policy_map_.Set(policy_name, policy_level(), policy_scope(), in InstallIntegerPolicy() 102 void TestHarness::InstallBooleanPolicy(const std::string& policy_name, in InstallBooleanPolicy() argument [all …]
|
/external/chromium/chrome/browser/policy/ |
D | configuration_policy_provider_win_unittest.cc | 42 const char* policy_name, in PolicyTestParams() argument 46 policy_name_(policy_name), in PolicyTestParams() 71 const char* policy_name() const { return policy_name_; } in policy_name() function in policy::__anone0ffae5e0111::PolicyTestParams 78 const char* policy_name) { in ForStringPolicy() argument 80 policy_name, in ForStringPolicy() 86 const char* policy_name) { in ForBooleanPolicy() argument 88 policy_name, in ForBooleanPolicy() 94 const char* policy_name) { in ForIntegerPolicy() argument 96 policy_name, in ForIntegerPolicy() 102 const char* policy_name) { in ForListPolicy() argument [all …]
|
D | configuration_policy_provider_mac_unittest.cc | 24 const char* policy_name, in PolicyTestParams() argument 27 policy_name_(policy_name), in PolicyTestParams() 49 const char* policy_name() const { return policy_name_; } in policy_name() function in policy::PolicyTestParams 152 base::SysUTF8ToCFStringRef(GetParam().policy_name())); in TEST_P() 166 base::SysUTF8ToCFStringRef(GetParam().policy_name())); in TEST_P() 181 base::SysUTF8ToCFStringRef(GetParam().policy_name())); in TEST_P()
|
/external/chromium_org/chrome/browser/search_engines/ |
D | default_search_policy_handler.cc | 89 const Value* value = policies.GetValue(policy_name()); in ApplyPolicySettings() 113 const char* policy_name = kDefaultSearchPolicyMap[i].policy_name; in DefaultSearchPolicyHandler() local 114 if (policy_name == key::kDefaultSearchProviderEncodings) { in DefaultSearchPolicyHandler() 118 policy_name, in DefaultSearchPolicyHandler() 141 const char* policy_name = (*handler)->policy_name(); in CheckPolicySettings() local 142 if (policy_name != key::kDefaultSearchProviderEnabled && in CheckPolicySettings() 143 HasDefaultSearchPolicy(policies, policy_name)) { in CheckPolicySettings() 144 errors->AddError(policy_name, IDS_POLICY_DEFAULT_SEARCH_DISABLED); in CheckPolicySettings() 267 const char* policy_name) { in HasDefaultSearchPolicy() argument 268 return policies.Get(policy_name) != NULL; in HasDefaultSearchPolicy() [all …]
|
/external/libsepol/tests/ |
D | helpers.c | 35 …ad_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name) in test_load_policy() argument 40 if (snprintf(filename, PATH_MAX, "policies/%s/%s.mls", test_name, policy_name) < 0) { in test_load_policy() 44 if (snprintf(filename, PATH_MAX, "policies/%s/%s.std", test_name, policy_name) < 0) { in test_load_policy()
|
/external/chromium_org/remoting/host/policy_hack/ |
D | policy_watcher_win.cc | 176 const std::string& policy_name = i.key(); in Load() local 179 if (GetRegistryPolicyBoolean(policy_name, &bool_value)) { in Load() 180 policy->SetBoolean(policy_name, bool_value); in Load() 185 if (GetRegistryPolicyString(policy_name, &string_value)) { in Load() 186 policy->SetString(policy_name, string_value); in Load()
|
D | policy_watcher_mac.mm | 50 const std::string& policy_name = i.key(); 52 base::SysUTF8ToCFStringRef(policy_name)); 60 policy.SetBoolean(policy_name, value); 71 policy.SetString(policy_name,
|
/external/chromium_org/chrome/browser/sessions/ |
D | restore_on_startup_policy_handler.cc | 30 policies.GetValue(policy_name()); in ApplyPolicySettings() 90 errors->AddError(policy_name(), IDS_POLICY_VALUE_DEPRECATED); in CheckPolicySettings() 122 errors->AddError(policy_name(), in CheckPolicySettings()
|
/external/chromium_org/chrome_frame/test/ |
D | policy_settings_unittest.cc | 97 const char* policy_name, in SetCFPolicyString() argument 103 std::wstring policy_name_str(ASCIIToWide(policy_name)); in SetCFPolicyString() 110 const char* policy_name, in SetCFPolicyBool() argument 114 std::wstring policy_name_str(ASCIIToWide(policy_name)); in SetCFPolicyBool()
|
/external/chromium_org/chrome/browser/policy/ |
D | configuration_policy_handler_android.cc | 72 errors->AddError(policy_name(), IDS_POLICY_INVALID_BOOKMARK, index); in CheckPolicySettings() 82 const base::Value* value = policies.GetValue(policy_name()); in ApplyPolicySettings()
|