Home
last modified time | relevance | path

Searched refs:MODE_PRIVATE (Results 1 – 25 of 151) sorted by relevance

1234567

/packages/apps/TV/common/src/com/android/tv/common/util/
DSharedPreferencesUtils.java59 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/
DBuglePrefsImpl.java46 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/
DModuleLicenseProviderTest.java288 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/
DSlicesDatabaseHelper.java164 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/
DSlicesDatabaseHelper.java164 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/
DContextualAdaptiveSleepSlice.java65 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()
DContextualNotificationChannelSlice.java19 import static android.content.Context.MODE_PRIVATE;
54 mContext.getSharedPreferences(PREFS, MODE_PRIVATE) in isUserInteracted()
DBatteryFixSlice.java19 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()
DNotificationChannelWorker.java19 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/
DNotificationController.java155 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/
DControlPanelEffect.java160 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()
DCompatibility.java66 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/
DBatteryFixSlice.java19 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/
DSharedPreferencesFeature.java56 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/
DDisclaimerItem.java122 Context.MODE_PRIVATE); in getBooleanSharedPrefs()
134 Context.MODE_PRIVATE); in setBooleanSharedPrefs()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DDisclaimerItem.java122 Context.MODE_PRIVATE); in getBooleanSharedPrefs()
134 Context.MODE_PRIVATE); in setBooleanSharedPrefs()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/data/
DBooleanSharedPreferenceLiveData.java19 import static android.content.Context.MODE_PRIVATE;
64 MODE_PRIVATE); in BooleanSharedPreferenceLiveData()
DForcedUserSensitiveUidsLiveData.java19 import static android.content.Context.MODE_PRIVATE;
68 MODE_PRIVATE); in ForcedUserSensitiveUidsLiveData()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexDatabaseHelper.java234 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/
DContextualCardFeatureProviderImpl.java19 import static android.content.Context.MODE_PRIVATE;
56 ContextualNotificationChannelSlice.PREFS, MODE_PRIVATE); in logNotificationPackage()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DManagedProvisioningSharedPreferencesTest.java54 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/
DContextualNotificationChannelSliceTest.java19 import static android.content.Context.MODE_PRIVATE;
56 mSharedPreferences = mContext.getSharedPreferences(PREFS, MODE_PRIVATE); in setUp()
DNotificationChannelWorkerTest.java19 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/
DUserSwitchListenerService.java87 Context.MODE_PRIVATE).edit(); in setBootUser()
94 Context.MODE_PRIVATE); in getBootUser()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java477 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);

1234567