/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/docs/html-intl/intl/ja/training/basics/data-storage/ |
D | shared-preferences.jd | 69 getString(R.string.preference_file_key), Context.MODE_PRIVATE); 79 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 100 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 116 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
|
D | files.jd | 167 outputStream = openFileOutput(filename, Context.MODE_PRIVATE); 199 すなわち、内部ストレージ上のファイルに対して {@link android.content.Context#MODE_PRIVATE} を使用する限り、ファイルは他のアプリからアクセス可能になること…
|
/frameworks/base/docs/html-intl/intl/ko/training/basics/data-storage/ |
D | shared-preferences.jd | 69 getString(R.string.preference_file_key), Context.MODE_PRIVATE); 79 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 100 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 116 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
|
D | files.jd | 167 outputStream = openFileOutput(filename, Context.MODE_PRIVATE); 200 {@link android.content.Context#MODE_PRIVATE}을 내부 저장소 내 파일에 사용하는 한,
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/data-storage/ |
D | shared-preferences.jd | 69 getString(R.string.preference_file_key), Context.MODE_PRIVATE); 79 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 100 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 116 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
|
D | files.jd | 167 outputStream = openFileOutput(filename, Context.MODE_PRIVATE); 199 因此,只要您針對內部儲存空間中的檔案使用 {@link android.content.Context#MODE_PRIVATE},其他應用程式將永遠無法存取這些檔案。
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/data-storage/ |
D | shared-preferences.jd | 69 getString(R.string.preference_file_key), Context.MODE_PRIVATE); 79 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 100 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 116 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
|
/frameworks/base/docs/html-intl/intl/ru/training/basics/data-storage/ |
D | shared-preferences.jd | 69 getString(R.string.preference_file_key), Context.MODE_PRIVATE); 79 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 100 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 116 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
|
/frameworks/base/docs/html-intl/intl/pt-br/training/basics/data-storage/ |
D | shared-preferences.jd | 69 getString(R.string.preference_file_key), Context.MODE_PRIVATE); 79 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 100 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE); 116 SharedPreferences sharedPref = getActivity().getPreferences(Context.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);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | EntropyMixerTest.java | 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); in testInitialWrite()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceManager.java | 315 return Context.MODE_PRIVATE; in getDefaultSharedPreferencesMode() 419 KEY_HAS_SET_DEFAULT_VALUES, Context.MODE_PRIVATE); in setDefaultValues()
|
/frameworks/base/core/java/android/net/ |
D | SSLSessionCache.java | 97 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); in SSLSessionCache()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 693 "bluetooth_phonebook_permission", Context.MODE_PRIVATE); in migratePhonebookPermissionChoice() 756 "bluetooth_message_permission", Context.MODE_PRIVATE); in migrateMessagePermissionChoice() 788 MESSAGE_REJECTION_COUNT_PREFS_NAME, Context.MODE_PRIVATE); in fetchMessageRejectionCount() 794 MESSAGE_REJECTION_COUNT_PREFS_NAME, Context.MODE_PRIVATE).edit(); in saveMessageRejectionCount()
|
/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/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | ApprovedPrintServices.java | 48 Context.MODE_PRIVATE); in ApprovedPrintServices()
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDexExtractor.java | 299 ? Context.MODE_PRIVATE in getMultiDexPreferences() 300 : Context.MODE_PRIVATE | 0x0004 /* Context.MODE_MULTI_PROCESS */); in getMultiDexPreferences()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceManager.java | 502 return Context.MODE_PRIVATE; in getDefaultSharedPreferencesMode() 603 KEY_HAS_SET_DEFAULT_VALUES, Context.MODE_PRIVATE); in setDefaultValues()
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 122 SharedPreferences prefs = getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in onFullBackup() 248 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/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 122 return context.getSharedPreferences(context.getPackageName(), Context.MODE_PRIVATE); in get()
|
/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()
|