Home
last modified time | relevance | path

Searched refs:getSharedPreferences (Results 1 – 16 of 16) sorted by relevance

/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DSharedPrefUtil.java42 SharedPreferences eabPref = context.getSharedPreferences( in isInitDone()
48 SharedPreferences.Editor eabPref = context.getSharedPreferences( in setInitDone()
55 SharedPreferences pref = context.getSharedPreferences(EAB_SHARED_PREF, in getLastContactChangedTimestamp()
62 SharedPreferences.Editor eabPref = context.getSharedPreferences( in saveLastContactChangedTimestamp()
69 SharedPreferences pref = context.getSharedPreferences(EAB_SHARED_PREF, in getLastProfileContactChangedTimestamp()
76 SharedPreferences.Editor eabPref = context.getSharedPreferences( in saveLastProfileContactChangedTimestamp()
83 SharedPreferences pref = context.getSharedPreferences(EAB_SHARED_PREF, in getLastContactDeletedTimestamp()
90 SharedPreferences.Editor eabPref = context.getSharedPreferences( in saveLastContactDeletedTimestamp()
98 SharedPreferences.Editor eabPref = context.getSharedPreferences( in validateDeviceTimestamp()
110 SharedPreferences.Editor eabPref = context.getSharedPreferences( in resetEABSharedPref()
DPresencePreferences.java48 mCommonPref = mContext.getSharedPreferences(PREFERENCES, Context.MODE_PRIVATE); in setContext()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedPreferencesTest.java36 sharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_PRIVATE); in setUp()
57 …SharedPreferences anotherSharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_P… in commit_shouldStoreValues()
73 …SharedPreferences anotherSharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_P… in commit_shouldClearEditsThatNeedRemoveAndEditsThatNeedCommit()
98 …SharedPreferences anotherSharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_P… in commit_shouldRemoveValuesThenSetValues()
118 …SharedPreferences anotherSharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_P… in commit_shouldClearThenSetValues()
154 …SharedPreferences anotherSharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_P… in apply_shouldStoreValues()
160 …SharedPreferences anotherSharedPreferences = context.getSharedPreferences("bazBang", Context.MODE_… in shouldReturnDefaultValues()
171 …SharedPreferences anotherSharedPreferences = context.getSharedPreferences("bazBang", Context.MODE_… in shouldRemoveRegisteredListenersOnUnresgister()
184 …SharedPreferences anotherSharedPreferences = context.getSharedPreferences("bazBang", Context.MODE_… in shouldTriggerRegisteredListeners()
DShadowContextImplTest.java62 .getSharedPreferences(PREFS, Context.MODE_PRIVATE) in testMoveSharedPreferencesFrom()
69 assertThat(dpContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME)) in testMoveSharedPreferencesFrom()
71 assertThat(context.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME)) in testMoveSharedPreferencesFrom()
76 assertThat(dpContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME)) in testMoveSharedPreferencesFrom()
78 assertThat(context.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME)) in testMoveSharedPreferencesFrom()
DShadowContextWrapperTest.java544 … final SharedPreferences pref1 = contextWrapper.getSharedPreferences("pref", Context.MODE_PRIVATE);
545 … final SharedPreferences pref2 = contextWrapper.getSharedPreferences("pref", Context.MODE_PRIVATE);
552 …final SharedPreferences pref1 = contextWrapper.getSharedPreferences("pref1", Context.MODE_PRIVATE);
553 …final SharedPreferences pref2 = contextWrapper.getSharedPreferences("pref2", Context.MODE_PRIVATE);
/external/libbackup/src/com/google/android/libraries/backup/
DPersistentBackupAgentHelper.java65 Editor backupEditor = getSharedPreferences(RESERVED_SHARED_PREFERENCES, MODE_PRIVATE).edit(); in writeFromPreferenceFilesToBackupFile()
99 SharedPreferences srcSharedPreferences = getSharedPreferences(srcFileName, MODE_PRIVATE); in writeToBackupFile()
153 getSharedPreferences(RESERVED_SHARED_PREFERENCES, MODE_PRIVATE).edit().clear().apply(); in clearBackupFile()
167 getSharedPreferences(RESERVED_SHARED_PREFERENCES, MODE_PRIVATE); in writeFromBackupFileToPreferenceFiles()
188 editor = getSharedPreferences(fileName, MODE_PRIVATE).edit(); in writeFromBackupFileToPreferenceFiles()
DPreferenceBackupUtil.java41 SharedPreferences preferences = context.getSharedPreferences(prefsName, Context.MODE_PRIVATE); in encodeRingtonePreference()
88 SharedPreferences preferences = context.getSharedPreferences(prefsName, Context.MODE_PRIVATE); in decodeRingtonePreference()
/external/libbackup/src/com/google/android/libraries/backup/shadow/
DSharedPreferencesBackupHelperSimulator.java87 Map<String, ?> prefs = context.getSharedPreferences(prefGroup, MODE_PRIVATE).getAll(); in backup()
119 if (context.getSharedPreferences(prefGroup, MODE_PRIVATE).getAll().isEmpty()) { in restore()
139 Editor editor = context.getSharedPreferences(prefGroup, MODE_PRIVATE).edit().clear(); in restore()
/external/replicaisland/src/com/replica/replicaisland/
DSetPreferencesActivity.java48 config.setPrefs(getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE)); in onCreate()
62 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onDialogClosed()
DExtrasMenuActivity.java43 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE);
57 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE);
94 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onCreate()
DMainMenuActivity.java139 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onCreate()
190 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onResume()
346 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onCreateDialog()
DGameOverActivity.java140 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onCreate()
DAndouKun.java102 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onCreate()
289 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onResume()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DSettingsActivity.java82 settingsFragment.getPreferenceScreen().getSharedPreferences(); in onResume()
112 settingsFragment.getPreferenceScreen().getSharedPreferences(); in onPause()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DPreferencesFacade.java103 return mService.getSharedPreferences(filename, 0); in getPref()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java114 public SharedPreferences getSharedPreferences(String s, int i) { in getSharedPreferences() method in MockContext.MockContext2