/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportPrefs.java | 36 PREFS_BUGREPORT, Context.MODE_PRIVATE); in getWarningState() 42 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/docs/html/training/basics/data-storage/ |
D | shared-preferences.jd | 70 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);
|
D | files.jd | 170 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/ |
D | EntropyMixerTest.java | 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); in testInitialWrite()
|
/frameworks/base/core/java/android/net/ |
D | SSLSessionCache.java | 97 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); in SSLSessionCache()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseErrorHandlerTest.java | 41 dbDir = getContext().getDir(this.getClass().getName(), Context.MODE_PRIVATE); in setUp()
|
D | DatabaseStatementTest.java | 44 File dbDir = getContext().getDir("tests", Context.MODE_PRIVATE); in setUp()
|
D | DatabaseCursorTest.java | 54 File dbDir = getContext().getDir("tests", 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/core/java/android/preference/ |
D | PreferenceManager.java | 378 return Context.MODE_PRIVATE; in getDefaultSharedPreferencesMode() 479 KEY_HAS_SET_DEFAULT_VALUES, Context.MODE_PRIVATE); in setDefaultValues()
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDexExtractor.java | 247 ? Context.MODE_PRIVATE in getMultiDexPreferences() 248 : Context.MODE_PRIVATE | 0x0004 /* Context.MODE_MULTI_PROCESS */); in getMultiDexPreferences()
|
/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/tests/coretests/src/android/database/sqlite/ |
D | SQLiteCursorTest.java | 37 File dbDir = getContext().getDir(this.getClass().getName(), Context.MODE_PRIVATE); in setUp()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphExporter.java | 54 FileOutputStream fOut = myAppContext.openFileOutput(filename, Context.MODE_PRIVATE); in exportAsDot()
|
/frameworks/base/core/java/com/android/server/ |
D | BootReceiver.java | 98 final SharedPreferences prefs = ctx.getSharedPreferences("log_files", Context.MODE_PRIVATE); in logBootEvents()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 50 mDir = getContext().getDir("testing", Context.MODE_PRIVATE); in setUp()
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
D | WebViewChromiumFactoryProvider.java | 141 CHROMIUM_PREFS_NAME, Context.MODE_PRIVATE); in initialize()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 243 … 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/ |
D | ActivityChooserModel.java | 1067 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE); in doInBackground()
|
/frameworks/base/core/java/android/content/ |
D | Context.java | 77 public static final int MODE_PRIVATE = 0x0000; field in Context
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActivityChooserModel.java | 1048 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE); in doInBackground()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppCacheTest.java | 208 FileOutputStream fos = con.openFileOutput(fileName, Context.MODE_PRIVATE); in testAppFilesCreateFile()
|
/frameworks/base/docs/html/training/enterprise/ |
D | device-management-policy.jd | 107 SharedPreferences prefs = context.getSharedPreferences(APP_PREF, Activity.MODE_PRIVATE);
|
/frameworks/base/docs/html/guide/topics/data/ |
D | data-storage.jd | 170 FileOutputStream fos = openFileOutput(FILENAME, Context.MODE_PRIVATE); 175 <p>{@link android.content.Context#MODE_PRIVATE} will create the file (or replace a file of
|