Home
last modified time | relevance | path

Searched refs:openFileOutput (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/tests/backup/src/com/android/backuptest/
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)); in writeFile()
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java194 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput() method in RenamingDelegatingContext
197 return mFileContext.openFileOutput(renamedFileName(name), mode); in openFileOutput()
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
DLowStorageTest.java84 contextfill.openFileOutput("testdata", Context.MODE_APPEND); in fillupdisk()
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java103 OutputStream out = getContext().openFileOutput(DATA_FILE, Context.MODE_PRIVATE); in onCreate()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphExporter.java54 FileOutputStream fOut = myAppContext.openFileOutput(filename, Context.MODE_PRIVATE); in exportAsDot()
/frameworks/base/core/java/android/content/
DContextWrapper.java180 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput() method in ContextWrapper
182 return mBase.openFileOutput(name, mode); in openFileOutput()
DContext.java602 public abstract FileOutputStream openFileOutput(String name, int mode) in openFileOutput() method in Context
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java154 FileOutputStream fw = mContext.openFileOutput("content.txt", mContext.MODE_WORLD_READABLE); in makeTemporaryContentFile()
/frameworks/base/docs/html/training/basics/data-storage/
Dfiles.jd160 android.content.Context#openFileOutput openFileOutput()} to get a {@link java.io.FileOutputStream}
170 outputStream = openFileOutput(filename, Context.MODE_PRIVATE);
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestApp.java128 FileOutputStream fileOutput = mContext.openFileOutput(DOWNLOAD_STARTED_FLAG, 0); in initiateDownload()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java154 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { in openFileOutput() method in MockContext
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd158 <li>Call {@link android.content.Context#openFileOutput(String,int) openFileOutput()} with the
170 FileOutputStream fos = openFileOutput(FILENAME, Context.MODE_PRIVATE);
Dbackup.jd676 location where {@link android.content.Context#openFileOutput(String,int) openFileOutput()} writes
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActivityChooserModel.java1048 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE); in doInBackground()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java1067 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE); in doInBackground()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java208 FileOutputStream fos = con.openFileOutput(fileName, Context.MODE_PRIVATE); in testAppFilesCreateFile()
/frameworks/base/docs/html/about/versions/
Dandroid-4.2.jd341 android.content.Context#getCacheDir()}, or {@link android.content.Context#openFileOutput
342 openFileOutput()}.</li>
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1242 public FileOutputStream openFileOutput(String arg0, int arg1) throws FileNotFoundException { in openFileOutput() method in BridgeContext
/frameworks/base/docs/html/guide/topics/security/
Dpermissions.jd105 {@link android.content.Context#openFileOutput}, or
/frameworks/base/core/java/android/app/
DContextImpl.java965 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput() method in ContextImpl
/frameworks/base/api/
Dsystem-current.txt7422 …method public abstract java.io.FileOutputStream openFileOutput(java.lang.String, int) throws java.…
7594 …method public java.io.FileOutputStream openFileOutput(java.lang.String, int) throws java.io.FileNo…
31473 …method public java.io.FileOutputStream openFileOutput(java.lang.String, int) throws java.io.FileNo…
Dcurrent.txt7184 …method public abstract java.io.FileOutputStream openFileOutput(java.lang.String, int) throws java.…
7350 …method public java.io.FileOutputStream openFileOutput(java.lang.String, int) throws java.io.FileNo…
29240 …method public java.io.FileOutputStream openFileOutput(java.lang.String, int) throws java.io.FileNo…