Home
last modified time | relevance | path

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

123

/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/statusbar/phone/
DNavigationModeController.java327 mCurrentUserContext.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE) in switchFromGestureNavModeIfNotSupportedByDefaultLauncher()
333 .getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE) in showNotificationIfDefaultLauncherSupportsGestureNav()
347 mCurrentUserContext.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE) in showNotificationIfDefaultLauncherSupportsGestureNav()
421 .getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE) in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DEntropyMixerTest.java31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); in testInitialWrite()
/frameworks/base/tests/RollbackTest/TestApp/src/com/android/tests/rollback/testapp/
DCrashingMainActivity.java37 SharedPreferences preferences = getSharedPreferences("prefs", Context.MODE_PRIVATE); in incrementCountAndBroadcast()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DRemoveReceiver.java35 Context.MODE_PRIVATE); in onReceive()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DConnectionRecordManager.java46 return context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE); in getSharedPreferences()
/frameworks/base/core/java/android/net/
DSSLSessionCache.java99 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); in SSLSessionCache()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/
DTertiaryKeyRotationTracker.java49 context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE)); in getInstance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginEnablerImpl.java37 CRASH_DISABLED_PLUGINS_PREF_FILE, Context.MODE_PRIVATE); in PluginEnablerImpl()
/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/packages/PrintSpooler/src/com/android/printspooler/util/
DApprovedPrintServices.java48 Context.MODE_PRIVATE); in ApprovedPrintServices()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DCursorWindowPerfTest.java54 sDatabase = getContext().openOrCreateDatabase(DB_NAME, Context.MODE_PRIVATE, null); in setup()
/frameworks/base/core/tests/coretests/src/android/os/
DEnvironmentTest.java49 dir = getContext().getDir("testing", Context.MODE_PRIVATE); in setUp()
/frameworks/base/media/java/android/mtp/
DMtpServer.java66 mContext.getSharedPreferences(strID_PREFS_NAME, Context.MODE_PRIVATE); in MtpServer()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DProcTimeInStateReaderTest.java49 mProcDirectory = context.getDir("proc", Context.MODE_PRIVATE); in setUp()
DStoragedUidIoStatsReaderTest.java67 mTestDir = getContext().getDir("test", Context.MODE_PRIVATE); in setUp()
DProcStatsUtilTest.java46 mProcDirectory = context.getDir("proc", Context.MODE_PRIVATE); in setUp()
/frameworks/multidex/library/src/androidx/multidex/
DMultiDexExtractor.java346 ? Context.MODE_PRIVATE in getMultiDexPreferences()
347 : Context.MODE_PRIVATE | 0x0004 /* Context.MODE_MULTI_PROCESS */); in getMultiDexPreferences()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java124 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/
DMemoryFileProvider.java103 OutputStream out = getContext().openFileOutput(DATA_FILE, Context.MODE_PRIVATE); in onCreate()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java559 return Context.MODE_PRIVATE; in getDefaultSharedPreferencesMode()
664 KEY_HAS_SET_DEFAULT_VALUES, Context.MODE_PRIVATE); in setDefaultValues()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DPerfDataRecorder.java67 fo = context.openFileOutput(dumpFilename, Context.MODE_PRIVATE); in runDumpsysStats()

123