Searched defs:getSharedPreferences (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/preference/
H A DPreferenceManager.java302 * @return The name that can be passed to {@link Context#getSharedPreferences(String, int)}.
303 * @see Context#getSharedPreferences(String, int)
314 * @see Context#getSharedPreferences(String, int)
325 * @return The mode that can be passed to {@link Context#getSharedPreferences(String, int)}.
326 * @see Context#getSharedPreferences(String, int)
337 * @see Context#getSharedPreferences(String, int)
351 public SharedPreferences getSharedPreferences() { method in class:PreferenceManager
353 mSharedPreferences = mContext.getSharedPreferences(mSharedPreferencesName,
369 return context.getSharedPreferences(getDefaultSharedPreferencesName(context),
478 final SharedPreferences defaultValueSp = context.getSharedPreferences(
[all...]
H A DPreference.java1045 public SharedPreferences getSharedPreferences() { method in class:Preference
1050 return mPreferenceManager.getSharedPreferences();
1059 * {@link #getSharedPreferences()}. If {@link #shouldCommit()} returns
1070 * @see #getSharedPreferences()
1371 if (!shouldPersist || !getSharedPreferences().contains(mKey)) {
1460 return mPreferenceManager.getSharedPreferences().getString(mKey, defaultReturnValue);
1515 return mPreferenceManager.getSharedPreferences().getStringSet(mKey, defaultReturnValue);
1559 return mPreferenceManager.getSharedPreferences().getInt(mKey, defaultReturnValue);
1603 return mPreferenceManager.getSharedPreferences().getFloat(mKey, defaultReturnValue);
1647 return mPreferenceManager.getSharedPreferences()
[all...]
/frameworks/base/core/java/android/content/
H A DContextWrapper.java169 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:ContextWrapper
170 return mBase.getSharedPreferences(name, mode);
H A DContext.java131 * @see #getSharedPreferences
557 public abstract SharedPreferences getSharedPreferences(String name, method in class:Context
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java144 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:MockContext
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1206 public SharedPreferences getSharedPreferences(String arg0, int arg1) { method in class:BridgeContext
/frameworks/base/core/java/android/app/
H A DContextImpl.java906 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:ContextImpl

Completed in 2919 milliseconds