/external/chromium_org/chrome_frame/test/ |
D | policy_settings_unittest.cc | 39 bool InitializePolicyKey(HKEY policy_root, RegKey* policy_key) { in InitializePolicyKey() argument 40 EXPECT_EQ(ERROR_SUCCESS, policy_key->Create(policy_root, in InitializePolicyKey() 42 return policy_key->Valid(); in InitializePolicyKey() 45 void WritePolicyList(RegKey* policy_key, in WritePolicyList() argument 48 DCHECK(policy_key); in WritePolicyList() 50 policy_key->DeleteKey(list_name); in WritePolicyList() 53 EXPECT_EQ(ERROR_SUCCESS, list_key.Create(policy_key->Handle(), list_name, in WritePolicyList() 65 RegKey policy_key; in SetRendererSettings() local 66 if (!InitializePolicyKey(policy_root, &policy_key)) in SetRendererSettings() 69 policy_key.WriteValue( in SetRendererSettings() [all …]
|
/external/chromium/chrome/browser/policy/ |
D | configuration_policy_provider_delegate_win.cc | 92 RegKey policy_key(HKEY_LOCAL_MACHINE, kRegistrySubKey, KEY_READ); in GetRegistryPolicyString() local 94 if (ReadRegistryStringValue(&policy_key, name, result)) in GetRegistryPolicyString() 98 if (policy_key.Open(HKEY_CURRENT_USER, kRegistrySubKey, in GetRegistryPolicyString() 101 return ReadRegistryStringValue(&policy_key, name, result); in GetRegistryPolicyString() 108 RegKey policy_key; in GetRegistryPolicyStringList() local 109 if (policy_key.Open(HKEY_LOCAL_MACHINE, path.c_str(), KEY_READ) != in GetRegistryPolicyStringList() 112 if (policy_key.Open(HKEY_CURRENT_USER, path.c_str(), KEY_READ) != in GetRegistryPolicyStringList() 118 while (ReadRegistryStringValue(&policy_key, base::IntToString16(++index), in GetRegistryPolicyStringList() 137 RegKey policy_key(HKEY_LOCAL_MACHINE, kRegistrySubKey, KEY_READ); in GetRegistryPolicyInteger() local 138 if (policy_key.ReadValueDW(value_name.c_str(), &value) == ERROR_SUCCESS) { in GetRegistryPolicyInteger() [all …]
|
D | config_dir_policy_provider_unittest.cc | 109 const char* policy_key, in ValueTestParams() argument 112 policy_key_(policy_key), in ValueTestParams() 134 const char* policy_key() const { return policy_key_; } in policy_key() function in policy::ValueTestParams 140 const char* policy_key) { in ForStringPolicy() argument 141 return ValueTestParams(type, policy_key, Value::CreateStringValue("test")); in ForStringPolicy() 145 const char* policy_key) { in ForBooleanPolicy() argument 146 return ValueTestParams(type, policy_key, Value::CreateBooleanValue(true)); in ForBooleanPolicy() 150 const char* policy_key) { in ForIntegerPolicy() argument 151 return ValueTestParams(type, policy_key, Value::CreateIntegerValue(42)); in ForIntegerPolicy() 155 const char* policy_key) { in ForListPolicy() argument [all …]
|
/external/chromium_org/remoting/host/policy_hack/ |
D | policy_watcher_win.cc | 121 RegKey policy_key(HKEY_LOCAL_MACHINE, kRegistrySubKey, KEY_READ); in GetRegistryPolicyString() local 122 if (policy_key.ReadValue(value_name_wide.c_str(), &value) == in GetRegistryPolicyString() 128 if (policy_key.Open(HKEY_CURRENT_USER, kRegistrySubKey, KEY_READ) == in GetRegistryPolicyString() 130 if (policy_key.ReadValue(value_name_wide.c_str(), &value) == in GetRegistryPolicyString() 144 RegKey policy_key(HKEY_LOCAL_MACHINE, kRegistrySubKey, KEY_READ); in GetRegistryPolicyInteger() local 145 if (policy_key.ReadValueDW(value_name_wide.c_str(), &value) == in GetRegistryPolicyInteger() 151 if (policy_key.Open(HKEY_CURRENT_USER, kRegistrySubKey, KEY_READ) == in GetRegistryPolicyInteger() 153 if (policy_key.ReadValueDW(value_name_wide.c_str(), &value) == in GetRegistryPolicyInteger()
|
D | policy_watcher_mac.mm | 51 base::ScopedCFTypeRef<CFStringRef> policy_key( 56 bool value = CFPreferencesGetAppBooleanValue(policy_key, 66 CFPreferencesCopyAppValue(policy_key, policy_bundle_id));
|
/external/chromium_org/chrome/browser/policy/test/ |
D | policy_testserver.py | 171 policy_key = self.GetUniqueParam('key') 172 if not policy_key: 174 data = self.server.ReadPolicyDataFromDataDir(policy_key) 176 return (404, 'Policy not found for ' + policy_key) 220 def CreatePolicyForExternalPolicyData(self, policy_key): argument 234 data = self.server.ReadPolicyDataFromDataDir(policy_key) 237 self.server.GetBaseURL(), 'externalpolicydata?key=%s' % policy_key) 542 policy_key = msg.policy_type 544 policy_key += '/' + msg.settings_entity_id 550 payload = self.server.ReadPolicyFromDataDir(policy_key, settings) [all …]
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | network_configuration_updater.cc | 59 std::string policy_key, in NetworkConfigurationUpdater() argument 66 policy_key_(policy_key), in NetworkConfigurationUpdater()
|
D | network_configuration_updater.h | 61 std::string policy_key,
|
/external/chromium_org/chrome/browser/policy/ |
D | policy_path_parser_win.cc | 27 base::win::RegKey policy_key(hive, in LoadUserDataDirPolicyFromRegistry() local 30 if (policy_key.ReadValue(key_name.c_str(), &value) == ERROR_SUCCESS) { in LoadUserDataDirPolicyFromRegistry()
|
/external/chromium_org/chromeos/dbus/ |
D | session_manager_client.h | 149 const std::string& policy_key,
|
D | fake_session_manager_client.h | 55 const std::string& policy_key,
|
D | session_manager_client.cc | 586 const std::string& policy_key, in StorePolicyForUser() argument 588 if (policy_key.empty()) { in StorePolicyForUser() 613 key_path, policy_key), in StorePolicyForUser()
|
D | fake_session_manager_client.cc | 119 const std::string& policy_key, in StorePolicyForUser() argument
|
/external/chromium_org/chrome/installer/util/ |
D | google_update_settings.cc | 543 RegKey policy_key; in GetAppUpdatePolicy() local 546 if (policy_key.Open(HKEY_LOCAL_MACHINE, kGoogleUpdatePoliciesKey, in GetAppUpdatePolicy() 557 found_override = (policy_key.ReadValueDW(app_update_override.c_str(), in GetAppUpdatePolicy() 563 policy_key.ReadValueDW(kGoogleUpdateUpdatePolicyValue, in GetAppUpdatePolicy()
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
D | device_settings_test_helper.h | 110 const std::string& policy_key,
|
D | device_settings_test_helper.cc | 164 const std::string& policy_key, in StorePolicyForUser() argument
|
/external/chromium/net/tools/testserver/ |
D | device_management.py | 284 setting.policy_key = 'chrome-policy'
|