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
80
) sorted by null
1
2
3
4
/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);
/cts/tests/sample/src/android/sample/
SampleDeviceActivity.java
38
mPreferences =
getPreferences
(Context.MODE_PRIVATE);
/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/Email/src/com/android/email/
Preferences.java
101
public static synchronized Preferences
getPreferences
(Context context) {
109
return
getPreferences
(context).mSharedPreferences;
113
return
getPreferences
(context).mSharedPreferences.getString(ACCOUNT_UUIDS, null);
117
getPreferences
(context).mSharedPreferences.edit().remove(ACCOUNT_UUIDS).apply();
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
MailAppProvider.java
303
return
getPreferences
().getString(LAST_VIEWED_ACCOUNT_KEY, null);
310
final SharedPreferences.Editor editor =
getPreferences
().edit();
320
return
getPreferences
().getString(LAST_SENT_FROM_ACCOUNT_KEY, null);
328
final SharedPreferences.Editor editor =
getPreferences
().edit();
336
final String accountsJson =
getPreferences
().getString(ACCOUNT_LIST_KEY, null);
390
final SharedPreferences.Editor editor =
getPreferences
().edit();
395
private SharedPreferences
getPreferences
() {
/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
533
public SharedPreferences
getPreferences
() {
/packages/apps/Email/src/com/android/email2/ui/
MailActivityEmail.java
180
final Preferences prefs = Preferences.
getPreferences
(this);
197
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
54
mPreferences = Preferences.
getPreferences
(context);
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/jni/
JniInterface.java
177
SharedPreferences prefs = sContext.
getPreferences
(Activity.MODE_PRIVATE);
290
sContext.
getPreferences
(Activity.MODE_PRIVATE).edit().
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
Chromoting.java
192
SharedPreferences prefs =
getPreferences
(MODE_PRIVATE);
342
getPreferences
(MODE_PRIVATE).edit().putString("account_name", mAccount.name).
/packages/apps/Email/src/com/android/email/preferences/
EmailPreferenceMigrator.java
73
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
311
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
org.eclipse.ant.core_3.2.200.v20100427.jar
/packages/apps/Email/src/com/android/email/mail/store/
ImapStore.java
207
String devUID = Preferences.
getPreferences
(context).getDeviceUID();
Completed in 2288 milliseconds
1
2
3
4