Searched refs:openFileOutput (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java81 output = new PrintStream(openFileOutput(FILE_NAME, MODE_APPEND));
97 output = new PrintStream(openFileOutput(FILE_NAME, MODE_PRIVATE));
143 FileOutputStream dataFile = openFileOutput("backup_test", MODE_WORLD_READABLE);
206 PrintStream out = new PrintStream(openFileOutput(name, mode));
/frameworks/base/test-runner/src/android/test/
H A DRenamingDelegatingContext.java202 public FileOutputStream openFileOutput(String name, int mode) method in class:RenamingDelegatingContext
205 return mFileContext.openFileOutput(renamedFileName(name), mode);
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java103 OutputStream out = getContext().openFileOutput(DATA_FILE, Context.MODE_PRIVATE);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphExporter.java54 FileOutputStream fOut = myAppContext.openFileOutput(filename, Context.MODE_PRIVATE);
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
H A DLowStorageTest.java84 contextfill.openFileOutput("testdata", Context.MODE_APPEND);
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java156 FileOutputStream fw = mContext.openFileOutput("content.txt", mContext.MODE_WORLD_READABLE);
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerTestApp.java128 FileOutputStream fileOutput = mContext.openFileOutput(DOWNLOAD_STARTED_FLAG, 0);
/frameworks/base/core/java/android/content/
H A DContextWrapper.java199 public FileOutputStream openFileOutput(String name, int mode) method in class:ContextWrapper
201 return mBase.openFileOutput(name, mode);
H A DContext.java167 * File creation mode: for use with {@link #openFileOutput}, if the file
170 * @see #openFileOutput
829 * @see #openFileOutput
855 public abstract FileOutputStream openFileOutput(String name, @FileMode int mode) method in class:Context
869 * @see #openFileOutput
877 * {@link #openFileOutput} is stored.
887 * @see #openFileOutput
927 * created with {@link #openFileOutput} are stored.
936 * @see #openFileOutput
957 * @see #openFileOutput
[all...]
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java1068 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java174 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { method in class:MockContext
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActivityChooserModel.java1051 fos = mContext.openFileOutput(historyFileName, Context.MODE_PRIVATE);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java201 * using Context.openFileOutput has executed successfully.
210 FileOutputStream fos = con.openFileOutput(fileName, Context.MODE_PRIVATE);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1593 public FileOutputStream openFileOutput(String arg0, int arg1) throws FileNotFoundException { method in class:BridgeContext
/frameworks/base/core/java/android/app/
H A DContextImpl.java531 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { method in class:ContextImpl

Completed in 458 milliseconds