Home
last modified time | relevance | path

Searched refs:preferences (Results 1 – 25 of 129) sorted by relevance

123456

/external/chromium_org/chrome/browser/ui/webui/options/
Dmedia_galleries_handler.cc33 MediaGalleriesPreferences* preferences = in ~MediaGalleriesHandler() local
35 if (preferences->IsInitialized()) in ~MediaGalleriesHandler()
36 preferences->RemoveGalleryChangeObserver(this); in ~MediaGalleriesHandler()
124 MediaGalleriesPreferences* preferences = in HandleInitializeMediaGalleries() local
126 preferences->EnsureInitialized(base::Bind( in HandleInitializeMediaGalleries()
142 MediaGalleriesPreferences* preferences = in HandleForgetGallery() local
145 preferences->ForgetGalleryById(id); in HandleForgetGallery()
153 MediaGalleriesPreferences* preferences = in FileSelected() local
156 preferences->AddGalleryByPath(path); in FileSelected()
161 MediaGalleriesPreferences* preferences = in PreferencesInitialized() local
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
DPerformancesView.java22 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
23 import org.eclipse.core.runtime.preferences.InstanceScope;
24 import org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener;
25 import org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent;
154 IEclipsePreferences preferences; field in PerformancesView
187 this.preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in PerformancesView()
190 …int eclipseVersion = this.preferences.getInt(IPerformancesConstants.PRE_ECLIPSE_VERSION, IPerforma… in PerformancesView()
191 …String databaseLocation = this.preferences.get(IPerformancesConstants.PRE_DATABASE_LOCATION, IPerf… in PerformancesView()
192 …boolean connected = this.preferences.getBoolean(IPerformancesConstants.PRE_DATABASE_CONNECTION, IP… in PerformancesView()
194 this.preferences.addPreferenceChangeListener(this); in PerformancesView()
[all …]
DComponentResultsView.java15 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
16 import org.eclipse.core.runtime.preferences.InstanceScope;
17 import org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener;
18 import org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent;
105 IEclipsePreferences preferences; field in ComponentResultsView
114 this.preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in ComponentResultsView()
115 this.preferences.addPreferenceChangeListener(this); in ComponentResultsView()
116 Util.initMilestones(this.preferences); in ComponentResultsView()
260 …ComponentResultsView.this.preferences.putBoolean(IPerformancesConstants.PRE_FILTER_ADVANCED_SCENAR… in makeActions()
270 …ComponentResultsView.this.preferences.putBoolean(IPerformancesConstants.PRE_FILTER_OLD_BUILDS, isC… in makeActions()
[all …]
DPerformanceResultsPreferenceInitializer.java13 import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
14 import org.eclipse.core.runtime.preferences.DefaultScope;
15 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
16 import org.eclipse.core.runtime.preferences.IScopeContext;
DBuildsView.java22 import org.eclipse.core.runtime.preferences.InstanceScope;
71 …String resultGenerationDir = BuildsView.this.preferences.get(IPerformancesConstants.PRE_RESULTS_GE… in run()
78 …BuildsView.this.preferences.put(IPerformancesConstants.PRE_RESULTS_GENERATION_DIR, dir.getAbsolute… in run()
296 this.preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in BuildsView()
297 this.preferences.addPreferenceChangeListener(this); in BuildsView()
462 …boolean connected = this.preferences.getBoolean(IPerformancesConstants.PRE_DATABASE_CONNECTION, IP… in makeActions()
489 …int eclipseVersion = this.preferences.getInt(IPerformancesConstants.PRE_ECLIPSE_VERSION, IPerforma… in resetView()
490 …boolean connected = this.preferences.getBoolean(IPerformancesConstants.PRE_DATABASE_CONNECTION, IP… in resetView()
491 …String databaseLocation = this.preferences.get(IPerformancesConstants.PRE_DATABASE_LOCATION, IPerf… in resetView()
492 String lastBuild = this.preferences.get(IPerformancesConstants.PRE_LAST_BUILD, null); in resetView()
DComponentsView.java23 import org.eclipse.core.runtime.preferences.InstanceScope;
24 import org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent;
124 this.preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in ComponentsView()
127 …WRITE_STATUS = this.preferences.getInt(IPerformancesConstants.PRE_WRITE_STATUS, IPerformancesConst… in ComponentsView()
169 …boolean fingerprints = ComponentsView.this.preferences.getBoolean(IPerformancesConstants.PRE_FILTE… in createPartControl()
263 this.preferences.putBoolean(IPerformancesConstants.PRE_FILTER_ADVANCED_SCENARIOS, fingerprints); in filterAdvancedScenarios()
393 …boolean checked = this.preferences.getBoolean(IPerformancesConstants.PRE_FILTER_ADVANCED_SCENARIOS… in restoreState()
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/
Dgallery_watch_state_tracker.cc84 MediaGalleriesPreferences* preferences = in GalleryWatchStateTracker() local
86 preferences->AddGalleryChangeObserver(this); in GalleryWatchStateTracker()
91 MediaGalleriesPreferences* preferences = in ~GalleryWatchStateTracker() local
93 preferences->RemoveGalleryChangeObserver(this); in ~GalleryWatchStateTracker()
114 MediaGalleriesPreferences* preferences, in OnPermissionAdded() argument
120 SetupGalleryWatch(extension_id, gallery_id, preferences); in OnPermissionAdded()
124 MediaGalleriesPreferences* preferences, in OnPermissionRemoved() argument
130 RemoveGalleryWatch(extension_id, gallery_id, preferences); in OnPermissionRemoved()
163 MediaGalleriesPreferences* preferences) { in RemoveAllGalleryWatchersForExtension() argument
171 RemoveGalleryWatch(extension_id, gallery_id_iter->second, preferences); in RemoveAllGalleryWatchersForExtension()
[all …]
Dmedia_galleries_private_api.cc67 MediaGalleriesPreferences* preferences = in GetGalleryFilePathAndId() local
70 preferences->LookUpGalleryPathForExtension(pref_id, extension, false)); in GetGalleryFilePathAndId()
130 MediaGalleriesPreferences* preferences = in OnListenerAdded() local
132 preferences->EnsureInitialized(base::Bind( in OnListenerAdded()
176 MediaGalleriesPreferences* preferences = in RunImpl() local
179 preferences->EnsureInitialized(base::Bind( in RunImpl()
263 MediaGalleriesPreferences* preferences = in RunImpl() local
266 preferences->EnsureInitialized(base::Bind( in RunImpl()
316 MediaGalleriesPreferences* preferences = in RunImpl() local
319 preferences->EnsureInitialized(base::Bind( in RunImpl()
[all …]
Dgallery_watch_state_tracker.h77 MediaGalleriesPreferences* preferences);
105 MediaGalleriesPreferences* preferences);
111 MediaGalleriesPreferences* preferences);
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
DInvalidationPreferences.java106 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(mContext); in getSavedSyncedTypes() local
107 return preferences.getStringSet(PrefKeys.SYNC_TANGO_TYPES, null); in getSavedSyncedTypes()
120 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(mContext); in getSavedObjectIds() local
121 Set<String> objectIdStrings = preferences.getStringSet(PrefKeys.TANGO_OBJECT_IDS, null); in getSavedObjectIds()
147 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(mContext); in getSavedSyncedAccount() local
148 String accountName = preferences.getString(PrefKeys.SYNC_ACCT_NAME, null); in getSavedSyncedAccount()
149 String accountType = preferences.getString(PrefKeys.SYNC_ACCT_TYPE, null); in getSavedSyncedAccount()
164 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(mContext); in getInternalNotificationClientState() local
165 String base64State = preferences.getString(PrefKeys.SYNC_TANGO_INTERNAL_STATE, null); in getInternalNotificationClientState()
/external/chromium_org/chrome/browser/extensions/api/media_galleries/
Dmedia_galleries_apitest.cc124 MediaGalleriesPreferences* preferences = GetAndInitializePreferences(); in RemoveAllGalleries() local
128 preferences->known_galleries(); in RemoveAllGalleries()
131 preferences->ForgetGalleryById(it->first); in RemoveAllGalleries()
141 MediaGalleriesPreferences* preferences = GetAndInitializePreferences(); in MakeSingleFakeGallery() local
144 ASSERT_FALSE(preferences->LookUpGalleryByPath(fake_gallery_temp_dir_.path(), in MakeSingleFakeGallery()
146 preferences->AddGallery(gallery_info.device_id, in MakeSingleFakeGallery()
219 MediaGalleriesPreferences* preferences = in GetAndInitializePreferences() local
223 preferences->EnsureInitialized(runloop.QuitClosure()); in GetAndInitializePreferences()
225 return preferences; in GetAndInitializePreferences()
Dmedia_galleries_api.cc99 MediaGalleriesPreferences* preferences = in RunImpl() local
101 preferences->EnsureInitialized(base::Bind( in RunImpl()
269 MediaGalleriesPreferences* preferences = in RunImpl() local
271 preferences->EnsureInitialized(base::Bind( in RunImpl()
345 MediaGalleriesPreferences* preferences = in RunImpl() local
349 preferences->EnsureInitialized(base::Bind( in RunImpl()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/identity/
DUuidBasedUniqueIdentificationGenerator.java32 SharedPreferences preferences = PreferenceManager in getUniqueId() local
34 String storedUniqueId = preferences.getString(mPreferenceKey, null); in getUniqueId()
43 SharedPreferences.Editor editor = preferences.edit(); in getUniqueId()
/external/chromium/chrome/browser/policy/
Dconfiguration_policy_provider_mac.cc38 MacPreferences* preferences, in MacPreferencesPolicyProviderDelegate() argument
42 preferences_(preferences) { in MacPreferencesPolicyProviderDelegate()
134 MacPreferences* preferences) in ConfigurationPolicyProviderMac() argument
136 new MacPreferencesPolicyProviderDelegate(preferences, in ConfigurationPolicyProviderMac()
Dconfiguration_policy_provider_mac.h22 MacPreferences* preferences,
53 MacPreferences* preferences);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DPreferenceActivityTest.java52 activity.addPreferencesFromResource(R.xml.preferences); in shouldRecordPreferencesResourceId()
53 assertThat(shadow.getPreferencesResId(), equalTo(R.xml.preferences)); in shouldRecordPreferencesResourceId()
58 activity.addPreferencesFromResource(R.xml.preferences); in shouldLoadPreferenceScreen()
/external/chromium/chrome/browser/autofill/
Dautofill_download.cc67 PrefService* preferences = profile_->GetPrefs(); in AutofillDownloadManager()
69 preferences->GetDouble(prefs::kAutofillPositiveUploadRate); in AutofillDownloadManager()
71 preferences->GetDouble(prefs::kAutofillNegativeUploadRate); in AutofillDownloadManager()
181 PrefService* preferences = profile_->GetPrefs(); in SetPositiveUploadRate() local
182 preferences->SetDouble(prefs::kAutofillPositiveUploadRate, rate); in SetPositiveUploadRate()
194 PrefService* preferences = profile_->GetPrefs(); in SetNegativeUploadRate() local
195 preferences->SetDouble(prefs::kAutofillNegativeUploadRate, rate); in SetNegativeUploadRate()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/
DScenarioResultsElement.java15 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
16 import org.eclipse.core.runtime.preferences.InstanceScope;
140 IEclipsePreferences preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in writableStatus() local
141 String comment = preferences.get(getId(), null); in writableStatus()
DComponentResultsElement.java19 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
20 import org.eclipse.core.runtime.preferences.InstanceScope;
214 IEclipsePreferences preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in writableStatus() local
215 String comment = preferences.get(getId(), null); in writableStatus()
DResultsElement.java18 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
19 import org.eclipse.core.runtime.preferences.InstanceScope;
342 IEclipsePreferences preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in getPropertyValue() local
343 return preferences.get(getId(), ""); in getPropertyValue()
563 IEclipsePreferences preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in setPropertyValue() local
564 preferences.put(getId(), (String) value); in setPropertyValue()
566 preferences.flush(); in setPropertyValue()
/external/chromium_org/components/user_prefs/
DREADME4 preferences associated with users can look them up by
8 components that need to register preferences associated with users.
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DUiPlugin.java14 import org.eclipse.core.runtime.preferences.InstanceScope;
16 import org.eclipse.ui.preferences.ScopedPreferenceStore;
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_file_system_registry.cc399 MediaGalleriesPreferences* preferences = GetPreferences(profile); in GetMediaFileSystemsForExtension() local
401 preferences->GalleriesForExtension(*extension); in GetMediaFileSystemsForExtension()
411 preferences->AddGalleryChangeObserver(this); in GetMediaFileSystemsForExtension()
426 extension_host->GetMediaFileSystems(galleries, preferences->known_galleries(), in GetMediaFileSystemsForExtension()
455 MediaGalleriesPreferences* preferences = GetPreferences(profile_it->first); in OnRemovableStorageDetached() local
457 if (!preferences->IsInitialized()) in OnRemovableStorageDetached()
462 preferences->LookUpGalleriesByDeviceId(info.device_id()); in OnRemovableStorageDetached()
671 MediaGalleriesPreferences* preferences = GetPreferences(profile); in OnExtensionGalleriesHostEmpty() local
672 preferences->RemoveGalleryChangeObserver(this); in OnExtensionGalleriesHostEmpty()
/external/chromium_org/ppapi/proxy/
Dflash_resource.cc153 plugin_dispatcher_->preferences().is_3d_supported)); in GetSetting()
158 plugin_dispatcher_->preferences().is_stage3d_supported)); in GetSetting()
161 plugin_dispatcher_->preferences().is_stage3d_baseline_supported)); in GetSetting()
167 plugin_dispatcher_->preferences().number_of_cpu_cores); in GetSetting()
/external/chromium_org/content/renderer/pepper/
Dhost_dispatcher_wrapper.cc36 const ppapi::Preferences& preferences, in Init() argument
55 preferences)) { in Init()

123456