Home
last modified time | relevance | path

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

/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DSharedPrefUtil.java44 SharedPreferences eabPref = context.getSharedPreferences( in isInitDone()
50 SharedPreferences.Editor eabPref = context.getSharedPreferences( in setInitDone()
57 SharedPreferences pref = context.getSharedPreferences(EAB_SHARED_PREF, in getLastContactChangedTimestamp()
64 SharedPreferences.Editor eabPref = context.getSharedPreferences( in saveLastContactChangedTimestamp()
71 SharedPreferences pref = context.getSharedPreferences(EAB_SHARED_PREF, in getLastProfileContactChangedTimestamp()
78 SharedPreferences.Editor eabPref = context.getSharedPreferences( in saveLastProfileContactChangedTimestamp()
85 SharedPreferences pref = context.getSharedPreferences(EAB_SHARED_PREF, in getLastContactDeletedTimestamp()
92 SharedPreferences.Editor eabPref = context.getSharedPreferences( in saveLastContactDeletedTimestamp()
100 SharedPreferences.Editor eabPref = context.getSharedPreferences( in validateDeviceTimestamp()
112 SharedPreferences.Editor eabPref = context.getSharedPreferences( in resetEABSharedPref()
[all …]
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.java63 .getSharedPreferences(PREFS, Context.MODE_PRIVATE) in testMoveSharedPreferencesFrom()
70 assertThat(dpContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME)) in testMoveSharedPreferencesFrom()
72 assertThat(context.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME)) in testMoveSharedPreferencesFrom()
77 assertThat(dpContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME)) in testMoveSharedPreferencesFrom()
79 assertThat(context.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME)) in testMoveSharedPreferencesFrom()
DShadowContextWrapperTest.java635 … final SharedPreferences pref1 = contextWrapper.getSharedPreferences("pref", Context.MODE_PRIVATE);
636 … final SharedPreferences pref2 = contextWrapper.getSharedPreferences("pref", Context.MODE_PRIVATE);
643 …final SharedPreferences pref1 = contextWrapper.getSharedPreferences("pref1", Context.MODE_PRIVATE);
644 …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/angle/src/android_system_settings/src/com/android/angle/common/
DMainFragment.java91 getPreferenceScreen().getSharedPreferences().registerOnSharedPreferenceChangeListener( in onResume()
99 getPreferenceScreen().getSharedPreferences().unregisterOnSharedPreferenceChangeListener( 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