/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/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/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/services/tests/servicestests/src/com/android/server/ |
D | EntropyMixerTest.java | 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); in testInitialWrite()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | RemoveReceiver.java | 35 Context.MODE_PRIVATE); in onReceive()
|
/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/core/java/android/net/ |
D | SSLSessionCache.java | 99 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); in SSLSessionCache()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyRotationTracker.java | 49 context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE)); in getInstance()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
D | PluginEnablerImpl.java | 37 CRASH_DISABLED_PLUGINS_PREF_FILE, Context.MODE_PRIVATE); in PluginEnablerImpl()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneResultAdapter.java | 145 Context.MODE_PRIVATE); in onSetFilter() 198 Context.MODE_PRIVATE); in saveRecentTimezone()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseErrorHandlerTest.java | 41 dbDir = getContext().getDir(this.getClass().getName(), Context.MODE_PRIVATE); in setUp()
|
/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/coretests/src/android/os/ |
D | EnvironmentTest.java | 49 dir = getContext().getDir("testing", Context.MODE_PRIVATE); in setUp()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpServer.java | 67 mContext.getSharedPreferences(strID_PREFS_NAME, Context.MODE_PRIVATE); in MtpServer()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | ProcTimeInStateReaderTest.java | 49 mProcDirectory = context.getDir("proc", Context.MODE_PRIVATE); in setUp()
|
D | StoragedUidIoStatsReaderTest.java | 67 mTestDir = getContext().getDir("test", Context.MODE_PRIVATE); in setUp()
|
D | ProcStatsUtilTest.java | 46 mProcDirectory = context.getDir("proc", Context.MODE_PRIVATE); in setUp()
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDexExtractor.java | 351 ? Context.MODE_PRIVATE in getMultiDexPreferences() 352 : Context.MODE_PRIVATE | 0x0004 /* Context.MODE_MULTI_PROCESS */); in getMultiDexPreferences()
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 124 SharedPreferences prefs = getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in onFullBackup() 255 SharedPreferences prefs = getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in onRestoreFinished()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProvider.java | 103 OutputStream out = getContext().openFileOutput(DATA_FILE, Context.MODE_PRIVATE); in onCreate()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceManager.java | 559 return Context.MODE_PRIVATE; in getDefaultSharedPreferencesMode() 664 KEY_HAS_SET_DEFAULT_VALUES, Context.MODE_PRIVATE); in setDefaultValues()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | PersistAtomsStorage.java | 160 try (FileOutputStream stream = mContext.openFileOutput(FILENAME, Context.MODE_PRIVATE)) { in saveAtomsToFile() argument
|
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | PerfDataRecorder.java | 67 fo = context.openFileOutput(dumpFilename, Context.MODE_PRIVATE); in runDumpsysStats()
|
/frameworks/base/core/java/android/util/ |
D | HashedStringCache.java | 195 return context.getSharedPreferences(prefsFile, Context.MODE_PRIVATE); in getHashSharedPreferences()
|