/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | SharedPreferencesUtils.java | 59 context.getSharedPreferences(SHARED_PREF_FEATURES, Context.MODE_PRIVATE); in initialize() 60 context.getSharedPreferences(SHARED_PREF_BROWSABLE, Context.MODE_PRIVATE); in initialize() 61 context.getSharedPreferences(SHARED_PREF_WATCHED_HISTORY, Context.MODE_PRIVATE); in initialize() 63 SHARED_PREF_DVR_WATCHED_POSITION, Context.MODE_PRIVATE); in initialize() 65 SHARED_PREF_AUDIO_CAPABILITIES, Context.MODE_PRIVATE); in initialize() 67 SHARED_PREF_RECURRING_RUNNER, Context.MODE_PRIVATE); in initialize() 68 context.getSharedPreferences(SHARED_PREF_EPG, Context.MODE_PRIVATE); in initialize() 70 SHARED_PREF_SERIES_RECORDINGS, Context.MODE_PRIVATE); in initialize() 71 context.getSharedPreferences(SHARED_PREF_UI_SETTINGS, Context.MODE_PRIVATE); in initialize()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | BuglePrefsImpl.java | 46 getSharedPreferencesName(), Context.MODE_PRIVATE); in getInt() 54 getSharedPreferencesName(), Context.MODE_PRIVATE); in getLong() 62 getSharedPreferencesName(), Context.MODE_PRIVATE); in getBoolean() 70 getSharedPreferencesName(), Context.MODE_PRIVATE); in getString() 84 getSharedPreferencesName(), Context.MODE_PRIVATE); in putInt() 94 getSharedPreferencesName(), Context.MODE_PRIVATE); in putLong() 104 getSharedPreferencesName(), Context.MODE_PRIVATE); in putBoolean() 114 getSharedPreferencesName(), Context.MODE_PRIVATE); in putString() 130 getSharedPreferencesName(), Context.MODE_PRIVATE); in remove()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicenseProviderTest.java | 288 context.getSharedPreferences(ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_packageNotInSharedPrefs_returnTrue() 299 ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_versionCodeDiffersFromSharedPref_returnTrue() 317 context.getSharedPreferences(ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue() 320 ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue() 339 context.getSharedPreferences(ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue() 342 ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue() 364 context.getSharedPreferences(ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_notOutdated_returnFalse() 367 ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_notOutdated_returnFalse()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SlicesDatabaseHelper.java | 164 mContext.getSharedPreferences(SHARED_PREFS_TAG, Context.MODE_PRIVATE) in reconstruct() 207 mContext.getSharedPreferences(SHARED_PREFS_TAG, Context.MODE_PRIVATE) in setLocaleIndexed() 215 Context.MODE_PRIVATE) in isBuildIndexed() 221 Context.MODE_PRIVATE) in isLocaleIndexed()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SlicesDatabaseHelper.java | 164 mContext.getSharedPreferences(SHARED_PREFS_TAG, Context.MODE_PRIVATE) in reconstruct() 207 mContext.getSharedPreferences(SHARED_PREFS_TAG, Context.MODE_PRIVATE) in setLocaleIndexed() 215 Context.MODE_PRIVATE) in isBuildIndexed() 221 Context.MODE_PRIVATE) in isLocaleIndexed()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | ContextualAdaptiveSleepSlice.java | 65 final long setupTime = mContext.getSharedPreferences(PREF, Context.MODE_PRIVATE).getLong( in getSlice() 69 mContext.getSharedPreferences(PREF, Context.MODE_PRIVATE) in getSlice() 140 return mContext.getSharedPreferences(PREF, Context.MODE_PRIVATE).getBoolean( in isUserInteracted() 152 Context.MODE_PRIVATE).getLong(PREF_KEY_SETUP_TIME, DEFAULT_SETUP_TIME); in isRecentlySetup()
|
D | ContextualNotificationChannelSlice.java | 19 import static android.content.Context.MODE_PRIVATE; 54 mContext.getSharedPreferences(PREFS, MODE_PRIVATE) in isUserInteracted()
|
D | BatteryFixSlice.java | 19 import static android.content.Context.MODE_PRIVATE; 190 final SharedPreferences prefs = context.getSharedPreferences(PREFS, MODE_PRIVATE); in isBatteryTipAvailableFromCache() 211 context.getSharedPreferences(PREFS, MODE_PRIVATE) in refreshBatteryTips()
|
D | NotificationChannelWorker.java | 19 import static android.content.Context.MODE_PRIVATE; 57 final SharedPreferences prefs = getContext().getSharedPreferences(PREFS, MODE_PRIVATE); in removeUninstalledPackages()
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | NotificationController.java | 155 Context.MODE_PRIVATE); in shouldShowNotification() 256 Context.MODE_PRIVATE); in incrementNotificationShownCount() 265 Context.MODE_PRIVATE); in incrementNotificationDismissedCount() 274 Context.MODE_PRIVATE); in delayNextNotification()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelEffect.java | 160 Context.MODE_PRIVATE); in initEffectsPreferences() 360 Context.MODE_PRIVATE); in setParameterBoolean() 530 Context.MODE_PRIVATE); in getParameterBoolean() 561 Context.MODE_PRIVATE); in setParameterInt() 796 Context.MODE_PRIVATE); in getParameterInt() 869 Context.MODE_PRIVATE); in getParameterIntArray() 923 Context.MODE_PRIVATE); in getParameterString() 981 Context.MODE_PRIVATE); in openSession()
|
D | Compatibility.java | 66 SharedPreferences pref = getSharedPreferences("musicfx", MODE_PRIVATE); in onCreate() 160 SharedPreferences pref = context.getSharedPreferences("musicfx", Context.MODE_PRIVATE); in searchControlPanel() 225 SharedPreferences pref = getSharedPreferences("musicfx", MODE_PRIVATE); in setDefault()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/ |
D | BatteryFixSlice.java | 19 import static android.content.Context.MODE_PRIVATE; 178 final SharedPreferences prefs = context.getSharedPreferences(PREFS, MODE_PRIVATE); in isBatteryTipAvailableFromCache() 199 context.getSharedPreferences(PREFS, MODE_PRIVATE) in refreshBatteryTips()
|
/packages/apps/TV/common/src/com/android/tv/common/feature/ |
D | SharedPreferencesFeature.java | 56 SharedPreferencesUtils.SHARED_PREF_FEATURES, Context.MODE_PRIVATE); in isEnabled() 73 SharedPreferencesUtils.SHARED_PREF_FEATURES, Context.MODE_PRIVATE); in setEnabled()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/ |
D | DisclaimerItem.java | 122 Context.MODE_PRIVATE); in getBooleanSharedPrefs() 134 Context.MODE_PRIVATE); in setBooleanSharedPrefs()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | DisclaimerItem.java | 122 Context.MODE_PRIVATE); in getBooleanSharedPrefs() 134 Context.MODE_PRIVATE); in setBooleanSharedPrefs()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/data/ |
D | BooleanSharedPreferenceLiveData.java | 19 import static android.content.Context.MODE_PRIVATE; 64 MODE_PRIVATE); in BooleanSharedPreferenceLiveData()
|
D | ForcedUserSensitiveUidsLiveData.java | 19 import static android.content.Context.MODE_PRIVATE; 68 MODE_PRIVATE); in ForcedUserSensitiveUidsLiveData()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDatabaseHelper.java | 234 mContext.getSharedPreferences(SHARED_PREFS_TAG, Context.MODE_PRIVATE) in reconstruct() 294 context.getSharedPreferences(SHARED_PREFS_TAG, Context.MODE_PRIVATE) in setIndexed() 316 .getSharedPreferences(SHARED_PREFS_TAG, Context.MODE_PRIVATE); in isFullIndex()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardFeatureProviderImpl.java | 19 import static android.content.Context.MODE_PRIVATE; 56 ContextualNotificationChannelSlice.PREFS, MODE_PRIVATE); in logNotificationPackage()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | ManagedProvisioningSharedPreferencesTest.java | 54 Context.MODE_PRIVATE); in setUp() 57 when(mContext.getSharedPreferences(eq(SHARED_PREFERENCE), eq(Context.MODE_PRIVATE))) in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | ContextualNotificationChannelSliceTest.java | 19 import static android.content.Context.MODE_PRIVATE; 56 mSharedPreferences = mContext.getSharedPreferences(PREFS, MODE_PRIVATE); in setUp()
|
D | NotificationChannelWorkerTest.java | 19 import static android.content.Context.MODE_PRIVATE; 63 mSharedPreferences = mContext.getSharedPreferences(PREFS, MODE_PRIVATE); in setUp()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | UserSwitchListenerService.java | 87 Context.MODE_PRIVATE).edit(); in setBootUser() 94 Context.MODE_PRIVATE); in getBootUser()
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberProvider.java | 477 SharedPreferences pref = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); 572 SharedPreferences pref = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); 577 SharedPreferences pref = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); 592 SharedPreferences pref = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE);
|