Home
last modified time | relevance | path

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

1234

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
H A 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()
H A DPeopleBackupFollowUpJobTest.java88 SHARED_FOLLOW_UP, Context.MODE_PRIVATE);
91 WIDGET_ID_STRING, Context.MODE_PRIVATE);
93 SECOND_WIDGET_ID_STRING, Context.MODE_PRIVATE);
/aosp14/frameworks/base/tests/backup/src/com/android/backuptest/
H A 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);
/aosp14/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportPrefs.java38 PREFS_BUGREPORT, Context.MODE_PRIVATE); in getWarningState()
44 PREFS_BUGREPORT, Context.MODE_PRIVATE); in setWarningState()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/os/
H A DSharedPreferencesTest.java43 SharedPreferences prefs = context.getSharedPreferences("test", Context.MODE_PRIVATE); in timeCachedGetSharedPreferences()
45 prefs = context.getSharedPreferences("test", Context.MODE_PRIVATE); in timeCachedGetSharedPreferences()
/aosp14/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/worker/
H A DSingleV1RequestWorker.kt76 val sp = deContext?.getSharedPreferences(packageName, Context.MODE_PRIVATE)
82 val sp = deContext?.getSharedPreferences(packageName, Context.MODE_PRIVATE)
H A DCollectV1Worker.kt57 val sp = deContext?.getSharedPreferences(packageName, Context.MODE_PRIVATE)
74 val sp = deContext?.getSharedPreferences(packageName, Context.MODE_PRIVATE)
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/
H A DUserConfigRepo.kt24 context.packageName, Context.MODE_PRIVATE)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManagerTest.java994 Context.MODE_PRIVATE); in testAddThenReconfigureWidgetsUpdatesStorageCacheAndListeners()
1045 Context.MODE_PRIVATE); in testDeleteAllWidgetsForConversationsUncachesShortcutAndRemovesListeners()
1065 Context.MODE_PRIVATE); in testDeleteAllWidgetsForConversationsUncachesShortcutAndRemovesListeners()
1109 Context.MODE_PRIVATE); in testOnAppWidgetOptionsChangedNoWidgetAdded()
1475 String.valueOf(WIDGET_ID_8), Context.MODE_PRIVATE); in testRemapWidgetFiles()
1679 Context.MODE_PRIVATE); in clearStorage()
1683 Context.MODE_PRIVATE); in clearStorage()
1687 Context.MODE_PRIVATE); in clearStorage()
1691 Context.MODE_PRIVATE); in clearStorage()
1695 Context.MODE_PRIVATE); in clearStorage()
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
H A DCompatUIConfiguration.java118 Context.MODE_PRIVATE); in CompatUIConfiguration()
120 getHasSeenLetterboxEducationSharedPreferencedName(), Context.MODE_PRIVATE); in CompatUIConfiguration()
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DRemoveReceiver.java35 Context.MODE_PRIVATE); in onReceive()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
H A DUserFileManagerImplTest.kt130 val tmpPrefs = context.getSharedPreferences("tmp", Context.MODE_PRIVATE)
139 val prefs = userFileManager.getSharedPreferences(fileName, Context.MODE_PRIVATE, userId)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/
H A DControlsSettingsDialogManager.kt22 import android.content.Context.MODE_PRIVATE
123 MODE_PRIVATE,
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DConnectionRecordManager.java46 return context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE); in getSharedPreferences()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/
H A DUserBackupPreferences.java39 mPreferences = conext.getSharedPreferences(excludedKeysFile, Context.MODE_PRIVATE); in UserBackupPreferences()
/aosp14/frameworks/base/core/java/android/net/
H A DSSLSessionCache.java99 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); in SSLSessionCache()
/aosp14/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/
H A DDomainVerificationReceiverV1.kt72 val editor = deContext?.getSharedPreferences(packageName, Context.MODE_PRIVATE)?.edit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleEducationController.kt27 private val prefs = context.getSharedPreferences(context.packageName, Context.MODE_PRIVATE)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/panels/
H A DAuthorizedPanelsRepositoryImpl.kt70 Context.MODE_PRIVATE,
H A DSelectedComponentRepositoryImpl.kt49 mode = Context.MODE_PRIVATE,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
H A DPluginEnablerImpl.java43 CRASH_DISABLED_PLUGINS_PREF_FILE, Context.MODE_PRIVATE); in PluginEnablerImpl()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
H A DMuteQuickAffordanceCoreStartable.kt78 Context.MODE_PRIVATE,
/aosp14/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseErrorHandlerTest.java41 dbDir = getContext().getDir(this.getClass().getName(), Context.MODE_PRIVATE); in setUp()
/aosp14/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
H A DBatteryConsumerPickerActivity.java83 final String batteryConsumerId = getPreferences(Context.MODE_PRIVATE) in onCreate()
92 getPreferences(Context.MODE_PRIVATE).edit() in setSelectedBatteryConsumer()

1234