/external/chromium_org/chrome/browser/ui/views/toolbar/ |
home_button.cc | 7 #include "base/prefs/pref_service.h" 117 PrefService* prefs = user_prefs::UserPrefs::Get(browser_->profile()); local 118 prefs->SetBoolean(prefs::kHomePageIsNewTabPage, undo_value_is_ntp_); 119 prefs->SetString(prefs::kHomePage, undo_url_.spec()); 171 PrefService* prefs = browser_->profile()->GetPrefs(); local 172 bool old_is_ntp = prefs->GetBoolean(prefs::kHomePageIsNewTabPage); 173 GURL old_homepage(prefs->GetString(prefs::kHomePage)) [all...] |
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
reset_screen_handler.cc | 17 #include "base/prefs/pref_registry_simple.h" 18 #include "base/prefs/pref_service.h" 100 PrefService* prefs = g_browser_process->local_state(); local 101 prefs->SetBoolean(prefs::kFactoryResetRequested, false); 102 prefs->SetBoolean(prefs::kRollbackRequested, false); 103 prefs->CommitPendingWrite(); 117 PrefService* prefs = g_browser_process->local_state(); local 124 reboot_was_requested_ = prefs->GetBoolean(prefs::kFactoryResetRequested) 152 PrefService* prefs = g_browser_process->local_state(); local 259 PrefService* prefs = g_browser_process->local_state(); local [all...] |
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
new_tab_page_handler.cc | 11 #include "base/prefs/pref_service.h" 47 PrefService* prefs = Profile::FromWebUI(web_ui())->GetPrefs(); local 48 int shown_page_type = prefs->GetInteger(prefs::kNtpShownPage) >> 136 PrefService* prefs = Profile::FromWebUI(web_ui())->GetPrefs(); local 138 prefs->GetInteger(prefs::kNtpShownPage) >> kPageIdOffset; 142 prefs->SetInteger(prefs::kNtpShownPage, page_id | index); 179 prefs::kNtpShownPage 191 PrefService* prefs = profile->GetPrefs(); local [all...] |
/external/chromium_org/chrome/browser/ui/webui/translate_internals/ |
translate_internals_handler.cc | 12 #include "base/prefs/pref_service.h" 128 PrefService* prefs = profile->GetOriginalProfile()->GetPrefs(); local 130 ChromeTranslateClient::CreateTranslatePrefs(prefs)); 181 PrefService* prefs = profile->GetOriginalProfile()->GetPrefs(); local 186 keys.push_back(prefs::kEnableTranslate); 198 const PrefService::Preference* pref = prefs->FindPreference(key.c_str());
|
/external/chromium_org/components/google/core/browser/ |
google_url_tracker.cc | 9 #include "base/prefs/pref_service.h" 34 client_->GetPrefs()->GetString(prefs::kLastKnownGoogleURL)), 92 PrefService* prefs = client_->GetPrefs(); local 93 prefs->SetString(prefs::kLastKnownGoogleURL, google_url_.spec()); 94 prefs->SetString(prefs::kLastPromptedGoogleURL, google_url_.spec()); 102 client_->GetPrefs()->SetString(prefs::kLastPromptedGoogleURL, 133 client_->GetPrefs()->GetString(prefs::kLastPromptedGoogleURL));
|
/external/chromium_org/components/metrics/ |
metrics_log_unittest.cc | 13 #include "base/prefs/pref_service.h" 14 #include "base/prefs/testing_pref_service.h" 50 TestingPrefServiceSimple* prefs) 51 : MetricsLog(client_id, session_id, log_type, client, prefs), 52 prefs_(prefs) { 68 prefs_->SetString(metrics::prefs::kMetricsReportingEnabledTimestamp, 146 TestingPrefServiceSimple prefs; local 148 MetricsLog log1("id", 0, MetricsLog::ONGOING_LOG, &client, &prefs); 151 MetricsLog log2("id", 0, MetricsLog::INITIAL_STABILITY_LOG, &client, &prefs); 158 TestingPrefServiceSimple prefs; local 202 TestingPrefServiceSimple prefs; local [all...] |
metrics_pref_names.cc | 8 namespace prefs { namespace in namespace:metrics 12 // new prefs to do a one-time reset of the previous values. 25 // new prefs to do a one-time reset of the previous values. 136 } // namespace prefs
|
/external/chromium_org/components/password_manager/core/browser/ |
password_generation_manager_unittest.cc | 7 #include "base/prefs/pref_registry_simple.h" 8 #include "base/prefs/pref_service.h" 9 #include "base/prefs/testing_pref_service.h" 74 TestPasswordManagerClient(scoped_ptr<PrefService> prefs) 75 : prefs_(prefs.Pass()), driver_(this), is_sync_enabled_(false) {} 110 // Construct a PrefService and register all necessary prefs before handing 112 // indirectly cause those prefs to be immediately accessed. 113 scoped_ptr<TestingPrefServiceSimple> prefs(new TestingPrefServiceSimple()); 114 prefs->registry()->RegisterBooleanPref(prefs::kPasswordManagerEnabled 144 PrefService* prefs = client_->GetPrefs(); local 162 PrefService* prefs = client_->GetPrefs(); local 216 PrefService* prefs = client_->GetPrefs(); local [all...] |
/external/chromium_org/components/translate/core/browser/ |
translate_manager.cc | 11 #include "base/prefs/pref_service.h" 94 PrefService* prefs = translate_client_->GetPrefs(); local 95 if (!prefs->GetBoolean(prefs::kEnableTranslate)) { 132 base::SplitString(prefs->GetString(accept_languages_pref_name_.c_str()), ',',
|
/external/chromium_org/content/renderer/pepper/ |
ppb_graphics_3d_impl.cc | 221 const WebPreferences& prefs = local 225 if (!prefs.pepper_3d_enabled)
|
/external/ipsec-tools/src/racoon/ |
admin.h | 97 u_int8_t prefs; member in struct:admin_com_indexes
|
policy.c | 141 || spidx->prefs != prefixlen) 192 || a->prefs != b->prefs 252 b->prefs); 254 b->prefs); 256 a, b->prefs, saddr2str((struct sockaddr *)&sa1)); 258 b, b->prefs, saddr2str((struct sockaddr *)&sa2)); 322 u_int8_t prefs, prefd; local 332 prefs = spidx.prefs; [all...] |
policy.h | 64 u_int8_t prefs; /* prefix length in bits for src */ member in struct:policyindex 116 (idx)->prefs = (ps); \ 129 (idx)->prefs = (ps); \
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
FilePreferencesImplTest.java | 17 package org.apache.harmony.tests.java.util.prefs; 21 import java.util.prefs.BackingStoreException; 22 import java.util.prefs.Preferences; 23 import java.util.prefs.PreferencesFactory;
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldPreferenceChangeEventTest.java | 17 package libcore.java.util.prefs; 20 import java.util.prefs.AbstractPreferences; 21 import java.util.prefs.PreferenceChangeEvent; 22 import java.util.prefs.PreferenceChangeListener; 23 import java.util.prefs.Preferences; 24 import java.util.prefs.PreferencesFactory;
|
PreferencesTest.java | 17 package libcore.java.util.prefs; 22 import java.util.prefs.FilePreferencesImpl; 23 import java.util.prefs.Preferences; 24 import java.util.prefs.PreferencesFactory; 72 final File userPrefs = new File(userPrefsDir, "prefs.xml");
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertReminder.java | 107 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local 108 String prefStr = prefs.getString(CellBroadcastSettings.KEY_ALERT_REMINDER_INTERVAL, null);
|
CellBroadcastConfigService.java | 147 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); local 154 boolean enableEmergencyAlerts = prefs.getBoolean( 164 prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_CHANNEL_50_ALERTS, true); 167 boolean enableEtwsTestAlerts = prefs.getBoolean( 170 boolean enableCmasExtremeAlerts = prefs.getBoolean( 173 boolean enableCmasSevereAlerts = prefs.getBoolean( 176 boolean enableCmasAmberAlerts = prefs.getBoolean( 179 boolean enableCmasTestAlerts = prefs.getBoolean(
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsApplication.java | 78 SharedPreferences prefs = sInjectedServices.getSharedPreferences(); local 79 if (prefs != null) { 80 return prefs;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/location/ |
UpdateCountryService.java | 49 final SharedPreferences prefs = local 52 final Editor editor = prefs.edit();
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestAuthenticator.java | 50 final SharedPreferences prefs = local 52 final int nextId = prefs.getInt(PREF_KEY_LAST_USER_ID, 0) + 1; 53 prefs.edit().putInt(PREF_KEY_LAST_USER_ID, nextId).apply();
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsMessageSender.java | 85 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext); local 86 boolean requestDeliveryReport = prefs.getBoolean(
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
SearchBaseUrlHelper.java | 53 SearchSettings searchSettings, SharedPreferences prefs) { 61 prefs.registerOnSharedPreferenceChangeListener(this);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
UserSwitchListenerService.java | 97 SharedPreferences prefs = context.getSharedPreferences(SHARED_PREFERENCES_NAME, local 99 return prefs.getInt(ON_BOOT_USER_ID_PREFERENCE, UserHandle.USER_OWNER);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
AdvancedSettingsFragment.java | 58 final SharedPreferences prefs = getPreferenceManager().getSharedPreferences(); local 60 if (!Settings.isInternal(prefs)) { 89 Settings.readKeyPreviewPopupEnabled(prefs, res)); 118 final SharedPreferences prefs = getPreferenceManager().getSharedPreferences(); local 122 showSetupWizardIcon.setChecked(Settings.readShowSetupWizardIcon(prefs, getActivity())); 128 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { 132 Settings.readKeyPreviewPopupEnabled(prefs, res)); 141 final SharedPreferences prefs = getSharedPreferences(); local 144 Settings.readVibrationEnabled(prefs, res)); 146 Settings.readKeypressSoundEnabled(prefs, res)) 155 final SharedPreferences prefs = getSharedPreferences(); local 199 final SharedPreferences prefs = getSharedPreferences(); local [all...] |