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.java194 public FileOutputStream openFileOutput(String name, int mode) method in class:RenamingDelegatingContext
197 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.java154 FileOutputStream fw = mContext.openFileOutput("content.txt", mContext.MODE_WORLD_READABLE);
/frameworks/base/core/java/android/content/
H A DContextWrapper.java179 public FileOutputStream openFileOutput(String name, int mode) method in class:ContextWrapper
181 return mBase.openFileOutput(name, mode);
H A DContext.java108 * File creation mode: for use with {@link #openFileOutput}, if the file
111 * @see #openFileOutput
568 * @see #openFileOutput
601 public abstract FileOutputStream openFileOutput(String name, int mode) method in class:Context
615 * @see #openFileOutput
623 * {@link #openFileOutput} is stored.
630 * @see #openFileOutput
638 * files created with {@link #openFileOutput} are stored.
645 * @see #openFileOutput
664 * @see #openFileOutput
[all...]
/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/test-runner/src/android/test/mock/
H A DMockContext.java153 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { method in class:MockContext
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java1067 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActivityChooserModel.java1048 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java199 * using Context.openFileOutput has executed successfully.
208 FileOutputStream fos = con.openFileOutput(fileName, Context.MODE_PRIVATE);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1188 public FileOutputStream openFileOutput(String arg0, int arg1) throws FileNotFoundException { method in class:BridgeContext
/frameworks/base/core/java/android/app/
H A DContextImpl.java959 public FileOutputStream openFileOutput(String name, int mode) method in class:ContextImpl

Completed in 370 milliseconds