/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | SharedPreferencesHelperTest.java | 52 Context.MODE_PRIVATE); in setStorageForTile() 66 Context.MODE_PRIVATE); in testGetPeopleTileKey() 78 Context.MODE_PRIVATE); in testSetPeopleTileKey() 92 Context.MODE_PRIVATE); in testClear()
|
D | PeopleBackupFollowUpJobTest.java | 88 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/ |
D | BugreportPrefs.java | 38 PREFS_BUGREPORT, Context.MODE_PRIVATE); in getWarningState() 44 PREFS_BUGREPORT, Context.MODE_PRIVATE); in setWarningState()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 97 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/ |
D | SharedPreferencesTest.java | 43 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/ |
D | GlobalActionsInfoProvider.kt | 94 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/ |
D | CryptoSettings.java | 74 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/ |
D | EntropyMixerTest.java | 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); in testInitialWrite()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleBackupHelper.java | 133 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/ |
D | RemoveReceiver.java | 35 Context.MODE_PRIVATE); in onReceive()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManagerTest.java | 976 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 …]
|
D | PeopleBackupHelperTest.java | 86 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/ |
D | ConnectionRecordManager.java | 46 return context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE); in getSharedPreferences()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupPreferences.java | 39 mPreferences = conext.getSharedPreferences(excludedKeysFile, Context.MODE_PRIVATE); in UserBackupPreferences()
|
/frameworks/base/core/java/android/net/ |
D | SSLSessionCache.java | 99 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); in SSLSessionCache()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
D | PluginEnablerImpl.java | 37 CRASH_DISABLED_PLUGINS_PREF_FILE, Context.MODE_PRIVATE); in PluginEnablerImpl()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyRotationTracker.java | 51 context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE), in getInstance()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | ProcLocksReaderTest.java | 45 mProcDirectory = context.getDir("proc", Context.MODE_PRIVATE); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaResumeListener.kt | 130 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/ |
D | DatabaseErrorHandlerTest.java | 41 dbDir = getContext().getDir(this.getClass().getName(), Context.MODE_PRIVATE); in setUp()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneResultAdapter.java | 145 Context.MODE_PRIVATE); in onSetFilter() 198 Context.MODE_PRIVATE); in saveRecentTimezone()
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
D | CursorWindowPerfTest.java | 54 sDatabase = getContext().openOrCreateDatabase(DB_NAME, Context.MODE_PRIVATE, null); in setup()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | ApprovedPrintServices.java | 48 Context.MODE_PRIVATE); in ApprovedPrintServices()
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/ |
D | BatteryConsumerPickerActivity.java | 83 final String batteryConsumerId = getPreferences(Context.MODE_PRIVATE) in onCreate() 92 getPreferences(Context.MODE_PRIVATE).edit() in setSelectedBatteryConsumer()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpServer.java | 67 mContext.getSharedPreferences(strID_PREFS_NAME, Context.MODE_PRIVATE); in MtpServer()
|