/frameworks/base/core/java/android/util/ |
H A D | CalendarUtils.java | 115 SharedPreferences prefs = getSharedPreferences((Context)cookie, mPrefsName); 212 SharedPreferences prefs = getSharedPreferences(context, mPrefsName); 265 SharedPreferences prefs = getSharedPreferences(context, mPrefsName); 317 // SharedPreferences prefs = getSharedPreferences(context); 332 // SharedPreferences prefs = getSharedPreferences(context, prefsName); 339 public static SharedPreferences getSharedPreferences(Context context, String prefsName) { method in class:CalendarUtils 340 return context.getSharedPreferences(prefsName, Context.MODE_PRIVATE);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceManager.java | 281 * @return The name that can be passed to {@link Context#getSharedPreferences(String, int)}. 282 * @see Context#getSharedPreferences(String, int) 293 * @see Context#getSharedPreferences(String, int) 304 * @return The mode that can be passed to {@link Context#getSharedPreferences(String, int)}. 305 * @see Context#getSharedPreferences(String, int) 316 * @see Context#getSharedPreferences(String, int) 330 public SharedPreferences getSharedPreferences() { method in class:PreferenceManager 332 mSharedPreferences = mContext.getSharedPreferences(mSharedPreferencesName, 348 return context.getSharedPreferences(getDefaultSharedPreferencesName(context), 437 final SharedPreferences defaultValueSp = context.getSharedPreferences( [all...] |
H A D | Preference.java | 861 public SharedPreferences getSharedPreferences() { method in class:Preference 866 return mPreferenceManager.getSharedPreferences(); 875 * {@link #getSharedPreferences()}. If {@link #shouldCommit()} returns 886 * @see #getSharedPreferences() 1167 if (!shouldPersist || !getSharedPreferences().contains(mKey)) { 1256 return mPreferenceManager.getSharedPreferences().getString(mKey, defaultReturnValue); 1300 return mPreferenceManager.getSharedPreferences().getInt(mKey, defaultReturnValue); 1344 return mPreferenceManager.getSharedPreferences().getFloat(mKey, defaultReturnValue); 1388 return mPreferenceManager.getSharedPreferences().getLong(mKey, defaultReturnValue); 1432 return mPreferenceManager.getSharedPreferences() [all...] |
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
H A D | TestAppWidgetProvider.java | 53 SharedPreferences prefs = context.getSharedPreferences(
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
H A D | BackupTestActivity.java | 114 SharedPreferences prefs = getSharedPreferences(PREF_GROUP_SETTINGS, MODE_PRIVATE); 123 SharedPreferences prefs = getSharedPreferences(PREF_GROUP_SETTINGS, MODE_PRIVATE);
|
/frameworks/base/core/java/android/content/ |
H A D | ContextWrapper.java | 145 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:ContextWrapper 146 return mBase.getSharedPreferences(name, mode);
|
H A D | Context.java | 328 public abstract SharedPreferences getSharedPreferences(String name, method in class:Context
|
/frameworks/base/services/java/com/android/server/ |
H A D | BootReceiver.java | 99 final SharedPreferences prefs = ctx.getSharedPreferences("log_files", Context.MODE_PRIVATE);
|
/frameworks/ex/common/tests/src/com/android/common/ |
H A D | OperationSchedulerTest.java | 39 SharedPreferences sp = getContext().getSharedPreferences("OperationSchedulerTest", 0);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 255 .getSharedPreferences(PREF_FILE, 1457 SharedPreferences sp = mContext.getSharedPreferences(PREF_FILE,
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContext.java | 126 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:MockContext
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 1058 public SharedPreferences getSharedPreferences(String arg0, int arg1) { method in class:BridgeContext
|
/frameworks/base/core/java/android/server/ |
H A D | BluetoothService.java | 1352 SharedPreferences sp = mContext.getSharedPreferences(SHARED_PREFERENCES_NAME, 1898 mContext.getSharedPreferences(SHARED_PREFERENCES_NAME,
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 493 * {@link Context#getSharedPreferences Context.getSharedPreferences()} method 515 * SharedPreferences mPrefs = getSharedPreferences(); 3511 * {@link #getSharedPreferences(String, int)} method by passing in this activity's 3522 return getSharedPreferences(getLocalClassName(), mode);
|
H A D | ContextImpl.java | 343 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:ContextImpl 384 Log.w(TAG, "getSharedPreferences", e); 386 Log.w(TAG, "getSharedPreferences", e); 388 Log.w(TAG, "getSharedPreferences", e);
|