Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DSharedPreferencesHelperTest.java52 Context.MODE_PRIVATE); in setStorageForTile()
66 Context.MODE_PRIVATE); in testGetPeopleTileKey()
78 Context.MODE_PRIVATE); in testSetPeopleTileKey()
92 Context.MODE_PRIVATE); in testClear()
DPeopleBackupFollowUpJobTest.java88 SHARED_FOLLOW_UP, Context.MODE_PRIVATE);
91 WIDGET_ID_STRING, Context.MODE_PRIVATE);
93 SECOND_WIDGET_ID_STRING, Context.MODE_PRIVATE);
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportPrefs.java38 PREFS_BUGREPORT, Context.MODE_PRIVATE); in getWarningState()
44 PREFS_BUGREPORT, Context.MODE_PRIVATE); in setWarningState()
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java97 output = new PrintStream(openFileOutput(FILE_NAME, MODE_PRIVATE));
114 SharedPreferences prefs = getSharedPreferences(PREF_GROUP_SETTINGS, MODE_PRIVATE);
123 SharedPreferences prefs = getSharedPreferences(PREF_GROUP_SETTINGS, MODE_PRIVATE);
134 writeFile("a", "a\naa", MODE_PRIVATE);
135 writeFile("empty", "", MODE_PRIVATE);
/frameworks/base/apct-tests/perftests/core/src/android/os/
DSharedPreferencesTest.java43 SharedPreferences prefs = context.getSharedPreferences("test", Context.MODE_PRIVATE); in timeCachedGetSharedPreferences()
45 prefs = context.getSharedPreferences("test", Context.MODE_PRIVATE); in timeCachedGetSharedPreferences()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsInfoProvider.kt94 val sharedPrefs = context.getSharedPreferences(PREFERENCE, Context.MODE_PRIVATE) in <lambda>()
116 val sharedPrefs = context.getSharedPreferences(PREFERENCE, Context.MODE_PRIVATE) in <lambda>()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/
DCryptoSettings.java74 context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE); in getInstance()
86 context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE); in getInstanceForTesting()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DEntropyMixerTest.java31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); in testInitialWrite()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleBackupHelper.java133 SHARED_BACKUP, Context.MODE_PRIVATE); in performBackup()
163 SHARED_BACKUP, Context.MODE_PRIVATE); in restoreEntity()
169 SHARED_FOLLOW_UP, Context.MODE_PRIVATE); in restoreEntity()
400 SharedPreferences dest = context.getSharedPreferences(id, Context.MODE_PRIVATE); in restoreWidgetIdFiles()
411 SharedPreferences sp = mContext.getSharedPreferences(idString, Context.MODE_PRIVATE); in getExistingWidgetsForUser()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DRemoveReceiver.java35 Context.MODE_PRIVATE); in onReceive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java976 Context.MODE_PRIVATE); in testAddThenReconfigureWidgetsUpdatesStorageCacheAndListeners()
1027 Context.MODE_PRIVATE); in testDeleteAllWidgetsForConversationsUncachesShortcutAndRemovesListeners()
1047 Context.MODE_PRIVATE); in testDeleteAllWidgetsForConversationsUncachesShortcutAndRemovesListeners()
1091 Context.MODE_PRIVATE); in testOnAppWidgetOptionsChangedNoWidgetAdded()
1449 String.valueOf(WIDGET_ID_WITH_SHORTCUT), Context.MODE_PRIVATE); in testRemapWidgetFiles()
1455 String.valueOf(WIDGET_ID_WITH_KEY_IN_OPTIONS), Context.MODE_PRIVATE); in testRemapWidgetFiles()
1461 String.valueOf(WIDGET_ID_8), Context.MODE_PRIVATE); in testRemapWidgetFiles()
1467 String.valueOf(WIDGET_ID_11), Context.MODE_PRIVATE); in testRemapWidgetFiles()
1482 String.valueOf(WIDGET_ID_WITH_SHORTCUT), Context.MODE_PRIVATE); in testRemapWidgetFiles_crossMapping()
1488 String.valueOf(WIDGET_ID_WITHOUT_SHORTCUT), Context.MODE_PRIVATE); in testRemapWidgetFiles_crossMapping()
[all …]
DPeopleBackupHelperTest.java86 SHARED_BACKUP, Context.MODE_PRIVATE);
91 SHARED_FOLLOW_UP, Context.MODE_PRIVATE);
94 WIDGET_ID_STRING, Context.MODE_PRIVATE);
96 SECOND_WIDGET_ID_STRING, Context.MODE_PRIVATE);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DConnectionRecordManager.java46 return context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE); in getSharedPreferences()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupPreferences.java39 mPreferences = conext.getSharedPreferences(excludedKeysFile, Context.MODE_PRIVATE); in UserBackupPreferences()
/frameworks/base/core/java/android/net/
DSSLSessionCache.java99 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); in SSLSessionCache()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginEnablerImpl.java37 CRASH_DISABLED_PLUGINS_PREF_FILE, Context.MODE_PRIVATE); in PluginEnablerImpl()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/
DTertiaryKeyRotationTracker.java51 context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE), in getInstance()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DProcLocksReaderTest.java45 mProcDirectory = context.getDir("proc", Context.MODE_PRIVATE); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaResumeListener.kt130 val prefs = context.getSharedPreferences(MEDIA_PREFERENCES, Context.MODE_PRIVATE) in loadSavedComponents()
251 val prefs = context.getSharedPreferences(MEDIA_PREFERENCES, Context.MODE_PRIVATE) in updateResumptionList()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseErrorHandlerTest.java41 dbDir = getContext().getDir(this.getClass().getName(), Context.MODE_PRIVATE); in setUp()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneResultAdapter.java145 Context.MODE_PRIVATE); in onSetFilter()
198 Context.MODE_PRIVATE); in saveRecentTimezone()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DCursorWindowPerfTest.java54 sDatabase = getContext().openOrCreateDatabase(DB_NAME, Context.MODE_PRIVATE, null); in setup()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DApprovedPrintServices.java48 Context.MODE_PRIVATE); in ApprovedPrintServices()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerPickerActivity.java83 final String batteryConsumerId = getPreferences(Context.MODE_PRIVATE) in onCreate()
92 getPreferences(Context.MODE_PRIVATE).edit() in setSelectedBatteryConsumer()
/frameworks/base/media/java/android/mtp/
DMtpServer.java67 mContext.getSharedPreferences(strID_PREFS_NAME, Context.MODE_PRIVATE); in MtpServer()

1234