/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/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | WifiTetherPasswordPreferenceControllerTest.java | 71 Context.MODE_PRIVATE); in tearDown() 150 Context.MODE_PRIVATE); in onChangePassword_savesNewPassword() 168 Context.MODE_PRIVATE); in onSecurityChangedToNone_visibilityIsFalse() 187 Context.MODE_PRIVATE); in onSecurityChangedToWPA2PSK_visibilityIsTrue() 207 Context.MODE_PRIVATE); in onSecurityChangedToNone_updatesSecurityTypeToNone() 228 Context.MODE_PRIVATE); in onSecurityChangedToWPA2PSK_updatesSecurityTypeToWPA2PSK() 246 Context.MODE_PRIVATE); in onPreferenceSwitchFromNoneToWPA2PSK_retrievesSavedPassword()
|
D | WifiTetherSecurityPreferenceControllerTest.java | 68 Context.MODE_PRIVATE); in tearDown() 112 Context.MODE_PRIVATE); in onPreferenceChangedToNone_updatesSharedSecurityTypeToNone() 131 Context.MODE_PRIVATE); in onPreferenceChangedToWPA2PSK_updatesSharedSecurityTypeToWPA2PSK()
|
/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 | 175 mContext.getSharedPreferences(SHARED_PREFS_TAG, Context.MODE_PRIVATE) in reconstruct() 218 mContext.getSharedPreferences(SHARED_PREFS_TAG, Context.MODE_PRIVATE) in setLocaleIndexed() 226 Context.MODE_PRIVATE) in isBuildIndexed() 232 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() 141 return mContext.getSharedPreferences(PREF, Context.MODE_PRIVATE).getBoolean( in isUserInteracted() 153 Context.MODE_PRIVATE).getLong(PREF_KEY_SETUP_TIME, DEFAULT_SETUP_TIME); in isRecentlySetup()
|
D | BatteryFixSlice.java | 19 import static android.content.Context.MODE_PRIVATE; 192 final SharedPreferences prefs = context.getSharedPreferences(PREFS, MODE_PRIVATE); in isBatteryTipAvailableFromCache() 214 context.getSharedPreferences(PREFS, MODE_PRIVATE) in refreshBatteryTips()
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | NotificationController.java | 161 Context.MODE_PRIVATE); in shouldShowNotification() 262 Context.MODE_PRIVATE); in incrementNotificationShownCount() 271 Context.MODE_PRIVATE); in incrementNotificationDismissedCount() 280 Context.MODE_PRIVATE); in delayNextNotification()
|
/packages/apps/Launcher3/src/com/android/launcher3/config/ |
D | FlagTogglerPrefUi.java | 56 FLAGS_PREF_NAME, Context.MODE_PRIVATE).edit(); 71 return mContext.getSharedPreferences(FLAGS_PREF_NAME, Context.MODE_PRIVATE) 83 FLAGS_PREF_NAME, Context.MODE_PRIVATE); in FlagTogglerPrefUi()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleAutoclickPreferenceController.java | 19 import static android.content.Context.MODE_PRIVATE; 75 mSharedPreferences = context.getSharedPreferences(context.getPackageName(), MODE_PRIVATE); in ToggleAutoclickPreferenceController() 86 mSharedPreferences = context.getSharedPreferences(context.getPackageName(), MODE_PRIVATE); in ToggleAutoclickPreferenceController()
|
/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/apps/Settings/src/com/android/settings/development/ |
D | OverlaySettingsPreferenceController.java | 69 Context.MODE_PRIVATE); in isOverlaySettingsEnabled() 79 Context.MODE_PRIVATE); in setOverlaySettingsEnabled()
|
/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/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/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/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/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | ManagedProvisioningSharedPreferencesTest.java | 56 Context.MODE_PRIVATE); in setUp() 59 when(mContext.getSharedPreferences(eq(SHARED_PREFERENCE), eq(Context.MODE_PRIVATE))) in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | OverlaySettingsPreferenceControllerTest.java | 88 Context.MODE_PRIVATE); in isOverlaySettingsEnabled_sharePreferenceSetTrue_shouldReturnTrue() 98 Context.MODE_PRIVATE); in isOverlaySettingsEnabled_sharePreferenceSetFalse_shouldReturnFalse()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | HideNonSystemOverlayMixinTest.java | 78 Context.MODE_PRIVATE); in isEnabled_isAllowedOverlaySettings_returnFalse() 90 Context.MODE_PRIVATE); in isEnabled_isNotAllowedOverlaySettings_returnTrue()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfilePinDialogFragment.java | 83 return context.getSharedPreferences(SHARED_PREFERENCE_NAME, Context.MODE_PRIVATE) in getDisablePinUntil() 92 context.getSharedPreferences(SHARED_PREFERENCE_NAME, Context.MODE_PRIVATE) in setDisablePinUntil()
|
D | UserSwitchListenerService.java | 80 Context.MODE_PRIVATE).edit(); in setBootUser() 87 Context.MODE_PRIVATE); in getBootUser()
|