OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:getpreferences
(Results
1 - 25
of
86
) sorted by null
1
2
3
4
/frameworks/base/docs/html/training/basics/data-storage/
shared-preferences.jd
54
<li>{@link android.app.Activity#
getPreferences
(int)
getPreferences
()} — Use this from an
75
{@link android.app.Activity#
getPreferences
(int)
getPreferences
()} method:</p>
78
SharedPreferences sharedPref = getActivity().
getPreferences
(Context.MODE_PRIVATE);
99
SharedPreferences sharedPref = getActivity().
getPreferences
(Context.MODE_PRIVATE);
115
SharedPreferences sharedPref = getActivity().
getPreferences
(Context.MODE_PRIVATE);
/external/chromium_org/chrome/browser/media_galleries/
media_galleries_preferences_factory.h
20
// Use MediaFileSystemRegistry::
GetPreferences
() to get
media_file_system_registry.h
85
MediaGalleriesPreferences*
GetPreferences
(Profile* profile);
media_file_system_registry_unittest.cc
274
MediaGalleriesPreferences*
GetPreferences
(Profile* profile);
606
MediaGalleriesPreferences* MediaFileSystemRegistryTest::
GetPreferences
(
608
MediaGalleriesPreferences* prefs = registry()->
GetPreferences
(profile);
858
// Regression test to make sure calling
GetPreferences
() does not re-insert
877
MediaGalleriesPreferences* prefs =
GetPreferences
(profile_state->profile());
891
// Call
GetPreferences
() and the gallery count should not change.
892
prefs =
GetPreferences
(profile_state->profile());
[
all
...]
media_file_system_registry.cc
399
MediaGalleriesPreferences* preferences =
GetPreferences
(profile);
430
MediaGalleriesPreferences* MediaFileSystemRegistry::
GetPreferences
(
455
MediaGalleriesPreferences* preferences =
GetPreferences
(profile_it->first);
671
MediaGalleriesPreferences* preferences =
GetPreferences
(profile);
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/
media_galleries_private_api.cc
68
g_browser_process->media_file_system_registry()->
GetPreferences
(profile);
131
g_browser_process->media_file_system_registry()->
GetPreferences
(profile_);
154
GetPreferences
(profile_)->IsInitialized());
177
g_browser_process->media_file_system_registry()->
GetPreferences
(
234
->
GetPreferences
(GetProfile())
264
g_browser_process->media_file_system_registry()->
GetPreferences
(
317
g_browser_process->media_file_system_registry()->
GetPreferences
(
355
g_browser_process->media_file_system_registry()->
GetPreferences
(
366
g_browser_process->media_file_system_registry()->
GetPreferences
(
gallery_watch_state_tracker.cc
85
g_browser_process->media_file_system_registry()->
GetPreferences
(profile);
92
g_browser_process->media_file_system_registry()->
GetPreferences
(profile_);
260
g_browser_process->media_file_system_registry()->
GetPreferences
(profile_);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerService.java
168
getPreferences
().registerOnSharedPreferenceChangeListener(mPrefListener);
183
private SharedPreferences
getPreferences
() {
188
return
getPreferences
().getBoolean(NETWORK_PREF, true);
192
return
getPreferences
().getBoolean(GPS_PREF, true);
196
return
getPreferences
().getBoolean(DEBUG_PREF, false);
200
return
getPreferences
().getBoolean(SIGNAL_PREF, false);
205
String disString =
getPreferences
().getString(MIN_DIS_PREF, "0");
216
String timeString =
getPreferences
().getString(MIN_TIME_PREF, "0");
263
getPreferences
().unregisterOnSharedPreferenceChangeListener(mPrefListener);
/external/chromium_org/chrome/browser/ui/webui/options/
media_galleries_handler.cc
34
g_browser_process->media_file_system_registry()->
GetPreferences
(profile);
125
g_browser_process->media_file_system_registry()->
GetPreferences
(profile);
143
g_browser_process->media_file_system_registry()->
GetPreferences
(
154
g_browser_process->media_file_system_registry()->
GetPreferences
(
162
g_browser_process->media_file_system_registry()->
GetPreferences
(profile);
/external/junit/src/junit/runner/
BaseTestRunner.java
46
protected static Properties
getPreferences
() {
59
getPreferences
().store(fos, "");
67
getPreferences
().put(key, value);
241
setPreferences(new Properties(
getPreferences
()));
242
getPreferences
().load(is);
253
return
getPreferences
().getProperty(key);
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
private_api_misc.h
36
// Implements the chrome.fileBrowserPrivate.
getPreferences
method.
41
DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.
getPreferences
",
/packages/apps/Browser/src/com/android/browser/preferences/
DebugPreferencesFragment.java
45
BrowserSettings.getInstance().
getPreferences
().edit()
/packages/apps/Email/src/com/android/email/
RequireManualSyncDialog.java
32
Preferences.
getPreferences
(context).setHasShownRequireManualSync(account, true);
Preferences.java
99
public static synchronized Preferences
getPreferences
(Context context) {
107
return
getPreferences
(context).mSharedPreferences;
111
return
getPreferences
(context).mSharedPreferences.getString(ACCOUNT_UUIDS, null);
115
getPreferences
(context).mSharedPreferences.edit().remove(ACCOUNT_UUIDS).apply();
/external/chromium_org/chrome/browser/extensions/api/media_galleries/
media_galleries_api.cc
100
media_file_system_registry()->
GetPreferences
(GetProfile());
255
DCHECK(registry->
GetPreferences
(GetProfile())->IsInitialized());
270
media_file_system_registry()->
GetPreferences
(GetProfile());
279
MediaGalleriesPreferences* prefs = registry->
GetPreferences
(GetProfile());
306
MediaGalleriesPreferences* prefs = registry->
GetPreferences
(GetProfile());
346
media_file_system_registry()->
GetPreferences
(GetProfile());
/cts/tests/sample/src/android/sample/
SampleDeviceActivity.java
38
mPreferences =
getPreferences
(Context.MODE_PRIVATE);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
MailAppProvider.java
298
return
getPreferences
().getString(LAST_VIEWED_ACCOUNT_KEY, null);
305
final SharedPreferences.Editor editor =
getPreferences
().edit();
315
return
getPreferences
().getString(LAST_SENT_FROM_ACCOUNT_KEY, null);
323
final SharedPreferences.Editor editor =
getPreferences
().edit();
331
final String accountsJson =
getPreferences
().getString(ACCOUNT_LIST_KEY, null);
385
final SharedPreferences.Editor editor =
getPreferences
().edit();
390
private SharedPreferences
getPreferences
() {
/development/samples/ApiDemos/src/com/example/android/apis/app/
PersistentState.java
99
SharedPreferences prefs =
getPreferences
(0);
120
SharedPreferences.Editor editor =
getPreferences
(0).edit();
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
AppWidgetHostActivity.java
93
SharedPreferences.Editor prefs =
getPreferences
(0).edit();
120
int appWidgetId =
getPreferences
(0).getInt(PENDING_APPWIDGET_ID, -1);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
PolicySerializationTestActivity.java
108
SharedPreferences prefs =
getPreferences
(MODE_PRIVATE);
127
SharedPreferences prefs =
getPreferences
(MODE_PRIVATE);
160
SharedPreferences prefs =
getPreferences
(MODE_PRIVATE);
/packages/apps/Email/src/com/android/email/activity/setup/
DebugFragment.java
60
mPreferences = Preferences.
getPreferences
(context);
/packages/apps/Browser/src/com/android/browser/
GoogleAccountLogin.java
99
Editor ed = BrowserSettings.getInstance().
getPreferences
().edit();
255
long lastLogin = BrowserSettings.getInstance().
getPreferences
()
SystemAllowGeolocationOrigins.java
92
.
getPreferences
();
/packages/apps/Email/src/com/android/email2/ui/
MailActivityEmail.java
195
Preferences prefs = Preferences.
getPreferences
(this);
216
Preferences prefs = Preferences.
getPreferences
(context);
/external/chromium_org/chrome/browser/media_galleries/win/
mtp_device_delegate_impl_win_unittest.cc
86
browser_process->media_file_system_registry()->
GetPreferences
(profile())->
Completed in 1034 milliseconds
1
2
3
4