Home
last modified time | relevance | path

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

12

/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportPrefs.java36 PREFS_BUGREPORT, Context.MODE_PRIVATE); in getWarningState()
42 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/docs/html/training/basics/data-storage/
Dshared-preferences.jd70 getString(R.string.preference_file_key), Context.MODE_PRIVATE);
80 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
101 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
117 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
Dfiles.jd170 outputStream = openFileOutput(filename, Context.MODE_PRIVATE);
203 as you use {@link android.content.Context#MODE_PRIVATE} for your files on the internal storage,
/frameworks/base/services/tests/servicestests/src/com/android/server/
DEntropyMixerTest.java31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); in testInitialWrite()
/frameworks/base/core/java/android/net/
DSSLSessionCache.java97 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); in SSLSessionCache()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseErrorHandlerTest.java41 dbDir = getContext().getDir(this.getClass().getName(), Context.MODE_PRIVATE); in setUp()
DDatabaseStatementTest.java44 File dbDir = getContext().getDir("tests", Context.MODE_PRIVATE); in setUp()
DDatabaseCursorTest.java54 File dbDir = getContext().getDir("tests", 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/core/java/android/preference/
DPreferenceManager.java378 return Context.MODE_PRIVATE; in getDefaultSharedPreferencesMode()
479 KEY_HAS_SET_DEFAULT_VALUES, Context.MODE_PRIVATE); in setDefaultValues()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java247 ? Context.MODE_PRIVATE in getMultiDexPreferences()
248 : Context.MODE_PRIVATE | 0x0004 /* Context.MODE_MULTI_PROCESS */); in getMultiDexPreferences()
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java103 OutputStream out = getContext().openFileOutput(DATA_FILE, Context.MODE_PRIVATE); in onCreate()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCursorTest.java37 File dbDir = getContext().getDir(this.getClass().getName(), Context.MODE_PRIVATE); in setUp()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphExporter.java54 FileOutputStream fOut = myAppContext.openFileOutput(filename, Context.MODE_PRIVATE); in exportAsDot()
/frameworks/base/core/java/com/android/server/
DBootReceiver.java98 final SharedPreferences prefs = ctx.getSharedPreferences("log_files", Context.MODE_PRIVATE); in logBootEvents()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java50 mDir = getContext().getDir("testing", Context.MODE_PRIVATE); in setUp()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewChromiumFactoryProvider.java141 CHROMIUM_PREFS_NAME, Context.MODE_PRIVATE); in initialize()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java243 … mDeviceProperties = context.getSharedPreferences(devicePropertiesName, Context.MODE_PRIVATE); in initDeviceProperties()
252 db = context.openOrCreateDatabase("device-properties", Context.MODE_PRIVATE, null); in initDeviceProperties()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java1067 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE); in doInBackground()
/frameworks/base/core/java/android/content/
DContext.java77 public static final int MODE_PRIVATE = 0x0000; field in Context
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActivityChooserModel.java1048 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE); in doInBackground()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java208 FileOutputStream fos = con.openFileOutput(fileName, Context.MODE_PRIVATE); in testAppFilesCreateFile()
/frameworks/base/docs/html/training/enterprise/
Ddevice-management-policy.jd107 SharedPreferences prefs = context.getSharedPreferences(APP_PREF, Activity.MODE_PRIVATE);
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd170 FileOutputStream fos = openFileOutput(FILENAME, Context.MODE_PRIVATE);
175 <p>{@link android.content.Context#MODE_PRIVATE} will create the file (or replace a file of

12