/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Prefs.java | 32 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE); in read() 36 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE).edit(); in edit()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceManager.java | 348 public SharedPreferences getSharedPreferences() { in getSharedPreferences() method in PreferenceManager 350 mSharedPreferences = mContext.getSharedPreferences(mSharedPreferencesName, in getSharedPreferences() 366 return context.getSharedPreferences(getDefaultSharedPreferencesName(context), in getDefaultSharedPreferences() 455 final SharedPreferences defaultValueSp = context.getSharedPreferences( in setDefaultValues() 489 mEditor = getSharedPreferences().edit(); in getEditor() 494 return getSharedPreferences().edit(); in getEditor()
|
D | Preference.java | 1001 public SharedPreferences getSharedPreferences() { in getSharedPreferences() method in Preference 1006 return mPreferenceManager.getSharedPreferences(); in getSharedPreferences() 1307 if (!shouldPersist || !getSharedPreferences().contains(mKey)) { in dispatchSetInitialValue() 1396 return mPreferenceManager.getSharedPreferences().getString(mKey, defaultReturnValue); in getPersistedString() 1451 return mPreferenceManager.getSharedPreferences().getStringSet(mKey, defaultReturnValue); in getPersistedStringSet() 1495 return mPreferenceManager.getSharedPreferences().getInt(mKey, defaultReturnValue); in getPersistedInt() 1539 return mPreferenceManager.getSharedPreferences().getFloat(mKey, defaultReturnValue); in getPersistedFloat() 1583 return mPreferenceManager.getSharedPreferences().getLong(mKey, defaultReturnValue); in getPersistedLong() 1627 return mPreferenceManager.getSharedPreferences().getBoolean(mKey, defaultReturnValue); in getPersistedBoolean()
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | TestAppWidgetConfigure.java | 46 … SharedPreferences.Editor prefs = getSharedPreferences(TestAppWidgetProvider.PREFS_NAME, 0)
|
D | TestAppWidgetProvider.java | 53 SharedPreferences prefs = context.getSharedPreferences( in onReceive()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
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/ |
D | ContextWrapper.java | 152 public SharedPreferences getSharedPreferences(String name, int mode) { in getSharedPreferences() method in ContextWrapper 153 return mBase.getSharedPreferences(name, mode); in getSharedPreferences()
|
D | Context.java | 431 public abstract SharedPreferences getSharedPreferences(String name, in getSharedPreferences() method in Context
|
/frameworks/base/services/java/com/android/server/ |
D | BootReceiver.java | 86 final SharedPreferences prefs = ctx.getSharedPreferences("log_files", Context.MODE_PRIVATE); in logBootEvents()
|
/frameworks/ex/common/tests/src/com/android/common/ |
D | OperationSchedulerTest.java | 39 SharedPreferences sp = getContext().getSharedPreferences("OperationSchedulerTest", 0); in getFreshStorage()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockContext.java | 127 public SharedPreferences getSharedPreferences(String name, int mode) { in getSharedPreferences() method in MockContext
|
/frameworks/base/docs/html/guide/topics/data/ |
D | data-storage.jd | 99 <li>{@link android.content.Context#getSharedPreferences(String,int) 100 getSharedPreferences()} - Use this if you need multiple preferences files identified by name, 136 SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0); 147 SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0);
|
/frameworks/base/core/java/android/webkit/ |
D | WebSettings.java | 324 .getSharedPreferences(PREF_FILE, in createHandler() 1855 SharedPreferences sp = mContext.getSharedPreferences(PREF_FILE, in syncSettingsAndCreateHandler()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 145 … mDeviceProperties = context.getSharedPreferences(devicePropertiesName, Context.MODE_PRIVATE); in initDeviceProperties()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 1087 public SharedPreferences getSharedPreferences(String arg0, int arg1) { in getSharedPreferences() method in BridgeContext
|
/frameworks/base/core/java/android/server/ |
D | BluetoothService.java | 1142 SharedPreferences sp = mContext.getSharedPreferences(SHARED_PREFERENCES_NAME, in isBluetoothDock() 1665 mContext.getSharedPreferences(SHARED_PREFERENCES_NAME,
|
/frameworks/base/docs/html/guide/topics/security/ |
D | security.jd | 101 with {@link android.content.Context#getSharedPreferences},
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 576 public SharedPreferences getSharedPreferences(String name, int mode) { in getSharedPreferences() method in ContextImpl
|
D | Activity.java | 3975 return getSharedPreferences(getLocalClassName(), mode); in getPreferences()
|
/frameworks/base/api/ |
D | current.txt | 5039 …method public abstract android.content.SharedPreferences getSharedPreferences(java.lang.String, in… 5173 method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); 15357 method public android.content.SharedPreferences getSharedPreferences(); 15538 method public android.content.SharedPreferences getSharedPreferences(); 19623 method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int);
|
D | 14.txt | 5039 …method public abstract android.content.SharedPreferences getSharedPreferences(java.lang.String, in… 5173 method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); 15357 method public android.content.SharedPreferences getSharedPreferences(); 15538 method public android.content.SharedPreferences getSharedPreferences(); 19623 method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int);
|