/external/replicaisland/src/com/replica/replicaisland/ |
SetPreferencesActivity.java | 48 config.setPrefs(getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE)); 62 SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE);
|
/packages/apps/Camera/src/com/android/camera/ |
CameraPreference.java | 53 public SharedPreferences getSharedPreferences() {
|
/packages/apps/Camera2/src/com/android/camera/ |
CameraPreference.java | 55 public SharedPreferences getSharedPreferences() {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/test/ |
InjectedServices.java | 52 public SharedPreferences getSharedPreferences() {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraPreference.java | 54 public SharedPreferences getSharedPreferences() {
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsActivity.java | 55 public SharedPreferences getSharedPreferences(String name, int mode) { 58 SharedPreferences prefs = services.getSharedPreferences(); 64 return super.getSharedPreferences(name, mode);
|
ContactsApplication.java | 76 public SharedPreferences getSharedPreferences(String name, int mode) { 78 SharedPreferences prefs = sInjectedServices.getSharedPreferences(); 84 return super.getSharedPreferences(name, mode);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
AccountPromptUtils.java | 55 private static SharedPreferences getSharedPreferences(Context context) { 74 return getSharedPreferences(context).getBoolean(KEY_SHOW_ACCOUNT_PROMPT, true); 85 getSharedPreferences(context).edit()
|
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
AdvancedMockContext.java | 57 public SharedPreferences getSharedPreferences(String name, int mode) {
|
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/ |
ProviderTestCase3.java | 66 public SharedPreferences getSharedPreferences(String name, int mode) { 67 return getContext().getSharedPreferences("mockcontext2_" + name, mode);
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
DbTestUtils.java | 74 public SharedPreferences getSharedPreferences(String name, int mode) { 78 return super.getSharedPreferences(name, mode);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListFilterController.java | 89 mFilter = ContactListFilter.restoreDefaultPreferences(getSharedPreferences()); 108 private SharedPreferences getSharedPreferences() { 122 ContactListFilter.storeToPreferences(getSharedPreferences(), mFilter); 151 ContactListFilter.restoreDefaultPreferences(getSharedPreferences()),
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
LocalBluetoothPreferences.java | 52 private static SharedPreferences getSharedPreferences(Context context) { 53 return context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE); 57 return getSharedPreferences(context).getLong( 82 SharedPreferences sharedPreferences = getSharedPreferences(context); 120 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); 129 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); 139 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); 149 return getSharedPreferences(context).contains(KEY_DOCK_AUTO_CONNECT + addr); 153 return getSharedPreferences(context).getBoolean(KEY_DOCK_AUTO_CONNECT + addr, 158 SharedPreferences.Editor editor = getSharedPreferences(context).edit() [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContextWrapper.java | 144 public SharedPreferences getSharedPreferences(String name, int mode) {
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarUtils.java | 126 SharedPreferences prefs = getSharedPreferences((Context)cookie, mPrefsName); 223 SharedPreferences prefs = getSharedPreferences(context, mPrefsName); 273 SharedPreferences prefs = getSharedPreferences(context, mPrefsName); 331 // SharedPreferences prefs = getSharedPreferences(context); 346 // SharedPreferences prefs = getSharedPreferences(context, prefsName); 353 public static SharedPreferences getSharedPreferences(Context context, String prefsName) { 354 return context.getSharedPreferences(prefsName, Context.MODE_PRIVATE);
|
GeneralPreferences.java | 133 public static SharedPreferences getSharedPreferences(Context context) { 134 return context.getSharedPreferences(SHARED_PREFS_NAME, Context.MODE_PRIVATE); 152 final SharedPreferences sharedPreferences = getSharedPreferences(activity); 191 SharedPreferences prefs = CalendarUtils.getSharedPreferences(activity, 252 getPreferenceScreen().getSharedPreferences() 273 getPreferenceScreen().getSharedPreferences()
|
/packages/apps/Email/tests/src/com/android/email/ |
DBTestHelper.java | 206 public SharedPreferences getSharedPreferences(String name, int mode) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
VersionedPrefs.java | 64 mSharedPreferences = context.getSharedPreferences(sharedPrefsName, Context.MODE_PRIVATE); 90 protected SharedPreferences getSharedPreferences() { 176 final SharedPreferences sharedPreferences = getSharedPreferences(); 245 final Map<String, ?> allPrefs = getSharedPreferences().getAll();
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
PreferenceTest.java | 131 assertNotNull(mPreference.getSharedPreferences());
|
/frameworks/base/core/java/android/preference/ |
PreferenceManager.java | 302 * @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() { 353 mSharedPreferences = mContext.getSharedPreferences(mSharedPreferencesName, 369 return context.getSharedPreferences(getDefaultSharedPreferencesName(context), 478 final SharedPreferences defaultValueSp = context.getSharedPreferences( [all...] |
Preference.java | [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
MockContext.java | 143 public SharedPreferences getSharedPreferences(String name, int mode) {
|
/packages/apps/Email/src/com/android/email/ |
Preferences.java | 90 mSharedPreferences = context.getSharedPreferences(PREFERENCES_FILE, Context.MODE_PRIVATE); 106 public static SharedPreferences getSharedPreferences(Context context) {
|
/frameworks/base/core/java/android/content/ |
ContextWrapper.java | 172 public SharedPreferences getSharedPreferences(String name, int mode) { 173 return mBase.getSharedPreferences(name, mode);
|
Context.java | 121 * @see #getSharedPreferences 509 public abstract SharedPreferences getSharedPreferences(String name, [all...] |