HomeSort by relevance Sort by last modified time
    Searched defs:setting (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /external/chromium_org/chrome/browser/policy/
javascript_policy_handler.cc 53 int setting = CONTENT_SETTING_DEFAULT; local
58 default_setting->GetAsInteger(&setting);
66 setting = CONTENT_SETTING_BLOCK;
70 if (setting != CONTENT_SETTING_DEFAULT) {
72 base::Value::CreateIntegerValue(setting));
  /external/chromium_org/chrome/browser/renderer_host/pepper/
pepper_broker_message_filter.cc 65 ContentSetting setting = local
70 if (setting == CONTENT_SETTING_ALLOW)
  /external/chromium_org/chrome/browser/ui/webui/options/
pepper_flash_content_settings_utils.cc 84 ContentSetting setting = FlashPermissionToContentSetting(iter->permission); local
86 media_exceptions->push_back(MediaException(pattern, setting, setting));
  /external/chromium_org/chrome/browser/content_settings/
content_settings_utils.cc 106 ContentSetting setting = CONTENT_SETTING_DEFAULT; local
107 bool valid = ParseContentSettingValue(value, &setting);
109 return setting;
113 ContentSetting* setting) {
115 *setting = CONTENT_SETTING_DEFAULT;
121 *setting = IntToContentSetting(int_value);
122 return *setting != CONTENT_SETTING_DEFAULT;
cookie_settings.cc 34 bool IsValidSetting(ContentSetting setting) {
35 return (setting == CONTENT_SETTING_ALLOW ||
36 setting == CONTENT_SETTING_SESSION_ONLY ||
37 setting == CONTENT_SETTING_BLOCK);
40 bool IsAllowed(ContentSetting setting) {
41 DCHECK(IsValidSetting(setting));
42 return (setting == CONTENT_SETTING_ALLOW ||
43 setting == CONTENT_SETTING_SESSION_ONLY);
119 ContentSetting setting = GetCookieSetting(url, first_party_url, false, NULL); local
120 return IsAllowed(setting);
125 ContentSetting setting = GetCookieSetting(url, first_party_url, true, NULL); local
130 ContentSetting setting = GetCookieSetting(origin, origin, true, NULL); local
    [all...]
content_settings_policy_provider.cc 62 ContentSetting setting; member in struct:__anon8033::PrefsForManagedContentSettingsMapEntry
157 // Preferences for default content setting policies. If a policy is not set of
219 // default content setting is managed and to hold the managed default setting
221 // corresponding default content setting is managed. These preferences exist
297 kPrefsForManagedContentSettingsMap[i].setting));
348 VLOG(1) << "Ignoring invalid certificate auto select setting. Reason:"
362 VLOG(1) << "Ignoring invalid certificate auto select setting. Reason:"
371 VLOG(1) << "Ignoring invalid certificate auto select setting:"
397 // If a pref to manage a default-content-setting was not set (NOTICE
407 int setting = prefs_->GetInteger(kPrefToManageType[content_type]); local
    [all...]
content_settings_pref_provider.cc 45 ContentSetting setting) {
47 setting == CONTENT_SETTING_ASK) {
50 return setting;
110 // Migrate the obsolete media content setting exceptions to the new settings.
314 // Skip default setting and rules without a value.
332 // Add the exception to the new microphone content setting.
340 // Add the exception to the new camera content setting.
424 int setting = CONTENT_SETTING_DEFAULT; local
425 bool is_integer = j.value().GetAsInteger(&setting);
427 DCHECK_NE(CONTENT_SETTING_DEFAULT, setting);
438 const base::DictionaryValue* setting = NULL; local
446 int setting = CONTENT_SETTING_DEFAULT; local
    [all...]
host_content_settings_map.cc 255 ContentSetting setting) {
256 DCHECK(IsSettingAllowedForType(prefs_, setting, content_type));
259 if (setting != CONTENT_SETTING_DEFAULT)
260 value = base::Value::CreateIntegerValue(setting);
299 ContentSetting setting) {
302 if (setting != CONTENT_SETTING_DEFAULT)
303 value = base::Value::CreateIntegerValue(setting);
315 ContentSetting setting) {
333 setting); local
355 ContentSetting setting,
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/content_settings/
content_settings_api.cc 151 ContentSetting setting; local
153 // TODO(jochen): Do we return the value for setting or for reading cookies?
155 setting = cookie_settings->GetCookieSetting(primary_url, secondary_url,
158 setting = map->GetContentSetting(primary_url, secondary_url, content_type,
164 helpers::ContentSettingToString(setting));
205 params->details.setting->GetAsString(&setting_str));
206 ContentSetting setting; local
208 helpers::StringToContentSetting(setting_str, &setting));
210 GetProfile()->GetPrefs(), setting, content_type));
245 resource_identifier, setting, scope) local
    [all...]
  /external/chromium_org/chrome/browser/
pepper_broker_infobar_delegate.cc 47 ContentSetting setting = local
52 if (setting == CONTENT_SETTING_ASK) {
65 bool allowed = (setting == CONTENT_SETTING_ALLOW);
  /external/chromium_org/chrome/browser/ui/content_settings/
content_setting_bubble_model_unittest.cc 166 ContentSetting setting = CONTENT_SETTING_BLOCK; local
172 setting);
178 setting);
197 // setting.
220 // Change the radio setting.
223 // Test that the media setting were change correctly.
  /external/chromium_org/chrome/browser/ui/website_settings/
website_settings_ui.h 66 ContentSetting setting; member in struct:WebsiteSettingsUI::PermissionInfo
117 ContentSetting setting,
121 // Returns the icon resource ID for the given permission |type| and |setting|.
123 ContentSetting setting);
126 // setting is CONTENT_SETTING_DEFAULT, it will return the icon for |info|'s
127 // default setting.
website_settings_ui.cc 19 // button if the permission setting is managed by policy.
32 // button if the permission setting is managed by an extension.
45 // button if the permission setting is managed by the user.
58 // button if the permission setting is the global default setting.
78 setting(CONTENT_SETTING_DEFAULT),
157 ContentSetting setting,
160 ContentSetting effective_setting = setting;
167 if (setting == CONTENT_SETTING_DEFAULT)
191 ContentSetting setting) {
246 ContentSetting setting = info.setting; local
    [all...]
website_settings_unittest.cc 162 ContentSetting setting = content_settings->GetContentSetting( local
164 EXPECT_EQ(setting, CONTENT_SETTING_BLOCK);
165 setting = content_settings->GetContentSetting(
167 EXPECT_EQ(setting, CONTENT_SETTING_ALLOW);
168 setting = content_settings->GetContentSetting(
170 EXPECT_EQ(setting, CONTENT_SETTING_ASK);
171 setting = content_settings->GetContentSetting(
173 EXPECT_EQ(setting, CONTENT_SETTING_ASK);
174 setting = content_settings->GetContentSetting(
176 EXPECT_EQ(setting, CONTENT_SETTING_ASK)
    [all...]
  /external/chromium_org/chrome/common/
content_settings.h 32 ContentSetting setting,
38 ContentSetting setting; member in struct:ContentSettingPatternSource
66 // |SettingInfo| provides meta data for content setting values. |source|
  /external/chromium_org/google_apis/gcm/engine/
gservices_settings_unittest.cc 37 checkin_proto::GservicesSetting* setting = checkin_response.add_setting(); local
38 setting->set_name(iter->first);
39 setting->set_value(iter->second);
152 // Setting the checkin interval to less than minimum.
311 // Default setting overwritten by settings diff.
315 // Setting up diff removing some of the values (including default setting).
331 // Default setting back to norm.
  /external/smack/src/org/jivesoftware/smackx/workgroup/settings/
GenericSettings.java 89 GenericSettings setting = new GenericSettings(); local
101 setting.getMap().put(name, value);
108 return setting;
  /libcore/dom/src/test/java/org/w3c/domts/
DOMTestDocumentBuilderFactory.java 105 DocumentBuilderSetting setting = settings[i]; local
109 if (newSetting.hasConflict(setting) || setting.hasConflict(newSetting)) {
115 mergedSettings.add(setting);
  /external/chromium_org/chrome/browser/plugins/
plugin_info_message_filter_unittest.cc 138 ContentSetting setting = expected_setting == CONTENT_SETTING_DEFAULT ? local
144 &setting, &is_default, &is_managed); local
145 EXPECT_EQ(expected_setting, setting);
250 // There is no specific content setting for "bar", so the general setting
  /external/chromium_org/chrome/browser/supervised_user/
supervised_user_shared_settings_service_unittest.cc 107 const sync_pb::ManagedUserSharedSettingSpecifics& setting = local
110 setting.value(),
111 ToJson(settings_service_.GetValue(setting.mu_id(), setting.key())));
  /external/chromium_org/gpu/command_buffer/tests/
gl_copy_texture_CHROMIUM_unittest.cc 79 // Test that the extension respects the flip-y pixel storage setting.
115 // storage setting.
139 // storage setting.
258 GLboolean setting = reference_settings[x]; local
259 glEnableDisable(GL_DEPTH_TEST, setting);
260 glEnableDisable(GL_SCISSOR_TEST, setting);
261 glEnableDisable(GL_STENCIL_TEST, setting);
262 glEnableDisable(GL_CULL_FACE, setting);
263 glEnableDisable(GL_BLEND, setting);
264 glColorMask(setting, setting, setting, setting)
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
CoreSettingsObserver.java 87 for (String setting : sSecureSettingToTypeMap.keySet()) {
88 Uri uri = Settings.Secure.getUriFor(setting);
93 for (String setting : sSystemSettingToTypeMap.keySet()) {
94 Uri uri = Settings.System.getUriFor(setting);
99 for (String setting : sGlobalSettingToTypeMap.keySet()) {
100 Uri uri = Settings.Global.getUriFor(setting);
109 String setting = entry.getKey(); local
115 value = Settings.Secure.getString(context.getContentResolver(), setting);
117 value = Settings.System.getString(context.getContentResolver(), setting);
119 value = Settings.Global.getString(context.getContentResolver(), setting);
    [all...]
  /frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
FixVibrateSetting.java 68 int setting = mAudioManager.getVibrateSetting(vibrateType); local
69 switch (setting) {
  /packages/apps/Settings/src/com/android/settings/location/
SettingsInjector.java 65 * If reading the status of a setting takes longer than this, we go ahead and start reading
66 * the next setting.
91 private final Set<Setting> mSettings;
97 mSettings = new HashSet<Setting>();
104 * expected setting metadata.
122 InjectedSetting setting = parseServiceInfo(resolveInfo, pm); local
123 if (setting == null) {
126 settings.add(setting);
155 Log.w(TAG, "Ignoring attempt to inject setting from app not in system image: "
195 * Returns an immutable representation of the static attributes for the setting, or null
357 Setting setting = iter.next(); local
391 public final InjectedSetting setting; field in class:SettingsInjector.Setting
    [all...]
  /external/chromium_org/chrome/browser/chromeos/attestation/
platform_verification_flow.cc 366 LOG(ERROR) << "Failed to get device setting.";
421 ContentSetting setting = content_settings->GetContentSetting( local
426 if (setting != CONTENT_SETTING_ALLOW && setting != CONTENT_SETTING_BLOCK)
429 *pref_value = (setting == CONTENT_SETTING_ALLOW);
454 ContentSetting setting = allow_domain ? CONTENT_SETTING_ALLOW local
461 setting);

Completed in 493 milliseconds

1 2 3 4