/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | SharedPrefUtil.java | 45 EAB_SHARED_PREF, Context.MODE_PRIVATE); in isInitDone() 51 EAB_SHARED_PREF, Context.MODE_PRIVATE).edit(); in setInitDone() 58 Context.MODE_PRIVATE); in getLastContactChangedTimestamp() 65 EAB_SHARED_PREF, Context.MODE_PRIVATE).edit(); in saveLastContactChangedTimestamp() 72 Context.MODE_PRIVATE); in getLastProfileContactChangedTimestamp() 79 EAB_SHARED_PREF, Context.MODE_PRIVATE).edit(); in saveLastProfileContactChangedTimestamp() 86 Context.MODE_PRIVATE); in getLastContactDeletedTimestamp() 93 EAB_SHARED_PREF, Context.MODE_PRIVATE).edit(); in saveLastContactDeletedTimestamp() 101 EAB_SHARED_PREF, Context.MODE_PRIVATE).edit(); in validateDeviceTimestamp() 113 EAB_SHARED_PREF, Context.MODE_PRIVATE).edit(); 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 …references anotherSharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_PRIVATE); in commit_shouldStoreValues() 73 …references anotherSharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_PRIVATE); in commit_shouldClearEditsThatNeedRemoveAndEditsThatNeedCommit() 98 …references anotherSharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_PRIVATE); in commit_shouldRemoveValuesThenSetValues() 118 …references anotherSharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_PRIVATE); in commit_shouldClearThenSetValues() 154 …references anotherSharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_PRIVATE); in apply_shouldStoreValues() 160 …eferences anotherSharedPreferences = context.getSharedPreferences("bazBang", Context.MODE_PRIVATE); in shouldReturnDefaultValues() 171 …eferences anotherSharedPreferences = context.getSharedPreferences("bazBang", Context.MODE_PRIVATE); in shouldRemoveRegisteredListenersOnUnresgister() 184 …eferences anotherSharedPreferences = context.getSharedPreferences("bazBang", Context.MODE_PRIVATE); 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 | ShadowContextTest.java | 52 File dataDir = context.getDir("data", Context.MODE_PRIVATE); in shouldGetApplicationDataDirectory() 63 dataDir = context.getDir("data", Context.MODE_PRIVATE); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory() 178 …ry (FileOutputStream fileOutputStream = context.openFileOutput("__test__", Context.MODE_PRIVATE)) { in openFileOutput_shouldReturnAFileOutputStream() argument
|
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);
|
D | ShadowActivityTest.java | 549 SharedPreferences preferences = activity.getPreferences(Context.MODE_PRIVATE); in shouldGiveSharedPreferences() 552 … assertThat(activity.getPreferences(Context.MODE_PRIVATE).getString("foo", null)).isEqualTo("bar"); in shouldGiveSharedPreferences()
|
/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/replicaisland/src/com/replica/replicaisland/ |
D | SetPreferencesActivity.java | 33 getPreferenceManager().setSharedPreferencesMode(MODE_PRIVATE); in onCreate() 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/libbackup/src/com/google/android/libraries/backup/shadow/ |
D | SharedPreferencesBackupHelperSimulator.java | 3 import static android.content.Context.MODE_PRIVATE; 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/libchrome/base/android/java/src/org/chromium/base/ |
D | PathUtils.java | 115 sDataDirectorySuffix, Context.MODE_PRIVATE).getPath(); in setPrivateDataDirectorySuffixInternal() 119 THUMBNAIL_DIRECTORY_NAME, Context.MODE_PRIVATE).getPath(); in setPrivateDataDirectorySuffixInternal()
|
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/ |
D | SampleChooserActivity.java | 211 SharedPreferences preferences = getPreferences(MODE_PRIVATE); in onPlaylistGroups() 231 SharedPreferences.Editor prefEditor = getPreferences(MODE_PRIVATE).edit(); in onChildClick()
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | PeerConnectionClient.java | 666 appContext.getDir(RTCEVENTLOG_OUTPUT_DIR_NAME, Context.MODE_PRIVATE), outputFileName); in createRtcEventLogOutputFile()
|