Home
last modified time | relevance | path

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

12

/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/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/docs/html-intl/intl/ja/training/basics/data-storage/
Dshared-preferences.jd69 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);
Dfiles.jd167 outputStream = openFileOutput(filename, Context.MODE_PRIVATE);
199 すなわち、内部ストレージ上のファイルに対して {@link android.content.Context#MODE_PRIVATE} を使用する限り、ファイルは他のアプリからアクセス可能になること…
/frameworks/base/docs/html-intl/intl/ko/training/basics/data-storage/
Dshared-preferences.jd69 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);
Dfiles.jd167 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/
Dshared-preferences.jd69 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);
Dfiles.jd167 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/
Dshared-preferences.jd69 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/
Dshared-preferences.jd69 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/
Dshared-preferences.jd69 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/
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);
/frameworks/base/services/tests/servicestests/src/com/android/server/
DEntropyMixerTest.java31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); in testInitialWrite()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceManager.java315 return Context.MODE_PRIVATE; in getDefaultSharedPreferencesMode()
419 KEY_HAS_SET_DEFAULT_VALUES, Context.MODE_PRIVATE); in setDefaultValues()
/frameworks/base/core/java/android/net/
DSSLSessionCache.java97 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); in SSLSessionCache()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java693 "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/
DTimeZoneResultAdapter.java145 Context.MODE_PRIVATE); in onSetFilter()
198 Context.MODE_PRIVATE); in saveRecentTimezone()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseErrorHandlerTest.java41 dbDir = getContext().getDir(this.getClass().getName(), Context.MODE_PRIVATE); in setUp()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DApprovedPrintServices.java48 Context.MODE_PRIVATE); in ApprovedPrintServices()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java299 ? Context.MODE_PRIVATE in getMultiDexPreferences()
300 : Context.MODE_PRIVATE | 0x0004 /* Context.MODE_MULTI_PROCESS */); in getMultiDexPreferences()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java502 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/
DWallpaperBackupAgent.java122 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/
DMemoryFileProvider.java103 OutputStream out = getContext().openFileOutput(DATA_FILE, Context.MODE_PRIVATE); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPrefs.java122 return context.getSharedPreferences(context.getPackageName(), Context.MODE_PRIVATE); in get()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCursorTest.java37 File dbDir = getContext().getDir(this.getClass().getName(), Context.MODE_PRIVATE); in setUp()

12