OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getPreferences
(Results
1 - 25
of
69
) sorted by null
1
2
3
/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();
/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/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);
/packages/apps/Browser/src/com/android/browser/preferences/
DebugPreferencesFragment.java
45
BrowserSettings.getInstance().
getPreferences
().edit()
/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);
/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
() {
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/jni/
JniInterface.java
97
SharedPreferences prefs = sContext.
getPreferences
(Activity.MODE_PRIVATE);
251
sContext.
getPreferences
(Activity.MODE_PRIVATE).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);
/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
();
BrowserBookmarksPage.java
330
SharedPreferences prefs = BrowserSettings.getInstance().
getPreferences
();
353
SharedPreferences prefs = BrowserSettings.getInstance().
getPreferences
();
BrowserSettings.java
531
public SharedPreferences
getPreferences
() {
/packages/apps/Email/src/com/android/email2/ui/
MailActivityEmail.java
195
Preferences prefs = Preferences.
getPreferences
(this);
216
Preferences prefs = Preferences.
getPreferences
(context);
/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);
GeneralPreferences.java
142
mPreferences = Preferences.
getPreferences
(getActivity());
AccountSetupBasics.java
419
Preferences.
getPreferences
(context).getLastUsedAccountId();
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
Chromoting.java
108
SharedPreferences prefs =
getPreferences
(MODE_PRIVATE);
227
getPreferences
(MODE_PRIVATE).edit().putString("account_name", accountName).
/packages/apps/Email/src/com/android/email/preferences/
EmailPreferenceMigrator.java
72
final Preferences preferences = Preferences.
getPreferences
(context);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ActivityTest.java
402
SharedPreferences preferences = activity.
getPreferences
(Context.MODE_PRIVATE);
405
assertThat(activity.
getPreferences
(Context.MODE_PRIVATE).getString("foo", null), equalTo("bar"));
/development/apps/CustomLocale/src/com/android/customlocale2/
CustomLocaleActivity.java
85
mPrefs =
getPreferences
(MODE_PRIVATE);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowActivity.java
248
public SharedPreferences
getPreferences
(int mode) {
/packages/apps/Email/src/com/android/email/service/
EmailBroadcastProcessorService.java
313
final Preferences pref = Preferences.
getPreferences
(this);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.ui.sdk_1.0.100.v20100513.jar
Completed in 1596 milliseconds
1
2
3