/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Prefs.java | 26 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE); in read() 30 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE).edit(); in edit()
|
/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/services/tests/servicestests/src/com/android/server/ |
D | EntropyMixerTest.java | 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); in testInitialWrite()
|
/frameworks/base/docs/html/training/basics/data-storage/ |
D | shared-preferences.jd | 68 getString(R.string.preference_file_key), Context.MODE_PRIVATE); 78 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 99 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 115 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
|
D | files.jd | 168 outputStream = openFileOutput(filename, Context.MODE_PRIVATE); 201 as you use {@link android.content.Context#MODE_PRIVATE} for your files on the internal storage,
|
/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 | Context.MODE_MULTI_PROCESS); in getMultiDexPreferences()
|
/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/core/tests/coretests/src/android/content/ |
D | MemoryFileProvider.java | 103 OutputStream out = getContext().openFileOutput(DATA_FILE, Context.MODE_PRIVATE); in onCreate()
|
/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/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 50 mDir = getContext().getDir("testing", Context.MODE_PRIVATE); in setUp()
|
/frameworks/base/core/java/com/android/server/ |
D | BootReceiver.java | 98 final SharedPreferences prefs = ctx.getSharedPreferences("log_files", Context.MODE_PRIVATE); in logBootEvents()
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
D | WebViewChromiumFactoryProvider.java | 116 CHROMIUM_PREFS_NAME, Context.MODE_PRIVATE); in WebViewChromiumFactoryProvider()
|
/frameworks/testing/support/src/android/support/test/runner/ |
D | MonitoringInstrumentation.java | 127 File dexCache = getTargetContext().getDir("dxmaker_cache", Context.MODE_PRIVATE); in specifyDexMakerCacheProperty()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 239 … mDeviceProperties = context.getSharedPreferences(devicePropertiesName, Context.MODE_PRIVATE); in initDeviceProperties() 248 db = context.openOrCreateDatabase("device-properties", Context.MODE_PRIVATE, null); in initDeviceProperties()
|
/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/java/android/content/ |
D | Context.java | 76 public static final int MODE_PRIVATE = 0x0000; field in Context
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserModel.java | 1067 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE); in doInBackground()
|
/frameworks/base/docs/html/training/enterprise/ |
D | device-management-policy.jd | 107 SharedPreferences prefs = context.getSharedPreferences(APP_PREF, Activity.MODE_PRIVATE);
|