/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | SharedPrefUtil.java | 44 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 …]
|
D | PresencePreferences.java | 48 mCommonPref = mContext.getSharedPreferences(PREFERENCES, Context.MODE_PRIVATE); in setContext()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowSharedPreferencesTest.java | 36 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()
|
D | ShadowContextImplTest.java | 63 .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()
|
D | ShadowContextWrapperTest.java | 635 … 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/ |
D | PersistentBackupAgentHelper.java | 65 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()
|
D | PreferenceBackupUtil.java | 41 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/ |
D | SharedPreferencesBackupHelperSimulator.java | 87 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/ |
D | SetPreferencesActivity.java | 48 config.setPrefs(getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE)); in onCreate() 62 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onDialogClosed()
|
D | ExtrasMenuActivity.java | 43 … 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()
|
D | MainMenuActivity.java | 139 … 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()
|
D | GameOverActivity.java | 140 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onCreate()
|
D | AndouKun.java | 102 … 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/ |
D | SettingsActivity.java | 82 settingsFragment.getPreferenceScreen().getSharedPreferences(); in onResume() 112 settingsFragment.getPreferenceScreen().getSharedPreferences(); in onPause()
|
/external/angle/src/android_system_settings/src/com/android/angle/common/ |
D | MainFragment.java | 91 getPreferenceScreen().getSharedPreferences().registerOnSharedPreferenceChangeListener( in onResume() 99 getPreferenceScreen().getSharedPreferences().unregisterOnSharedPreferenceChangeListener( in onPause()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | PreferencesFacade.java | 103 return mService.getSharedPreferences(filename, 0); in getPref()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockContext.java | 114 public SharedPreferences getSharedPreferences(String s, int i) { in getSharedPreferences() method in MockContext.MockContext2
|