Home
last modified time | relevance | path

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

12

/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.java203 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput() method in RenamingDelegatingContext
206 return mFileContext.openFileOutput(renamedFileName(name), mode); in openFileOutput()
/frameworks/libs/systemui/weathereffects/src/com/google/android/wallpaper/weathereffects/data/repository/
DWallpaperFileUtils.kt49 .openFileOutput(fileName, Context.MODE_PRIVATE) in export()
/frameworks/base/test-runner/api/
Dlint-baseline.txt118 MissingNullability: android.test.RenamingDelegatingContext#openFileOutput(String, int):
119 Missing nullability on method `openFileOutput` return
120 MissingNullability: android.test.RenamingDelegatingContext#openFileOutput(String, int) parameter #0:
121 Missing nullability on parameter `name` in method `openFileOutput`
/frameworks/base/tests/FsVerityTest/FsVerityTestApp/src/com/android/fsverity/
DHelper.java72 try (FileOutputStream os = context.openFileOutput(basename, Context.MODE_PRIVATE)) { in prepareTest()
/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/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java156 FileOutputStream fw = mContext.openFileOutput("content.txt", mContext.MODE_WORLD_READABLE); in makeTemporaryContentFile()
/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/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodBaseContext.java173 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { in openFileOutput() method in RavenwoodBaseContext
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java1077 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE); in doInBackground()
/frameworks/base/core/java/android/content/
DContextWrapper.java255 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput() method in ContextWrapper
257 return mBase.openFileOutput(name, mode); in openFileOutput()
DContext.java1307 public abstract FileOutputStream openFileOutput(String name, @FileMode int mode) in openFileOutput() method in Context
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DApplicationContext.java243 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { in openFileOutput() method in ApplicationContext
246 return context.openFileOutput(name, mode); in openFileOutput()
DBridgeContext.java1713 public FileOutputStream openFileOutput(String arg0, int arg1) throws FileNotFoundException { in openFileOutput() method in BridgeContext
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java180 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { in openFileOutput() method in MockContext
/frameworks/base/test-mock/api/
Dcurrent.txt100 …method public java.io.FileOutputStream openFileOutput(String, int) throws java.io.FileNotFoundExce…
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DPersistAtomsStorage.java1953 try (FileOutputStream stream = mContext.openFileOutput(FILENAME, Context.MODE_PRIVATE)) { in saveAtomsToFileNow()
/frameworks/base/core/java/android/app/
DContextImpl.java778 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { in openFileOutput() method in ContextImpl
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPersistAtomsStorageTest.java1548 doReturn(mTestFileOutputStream).when(mContext).openFileOutput(anyString(), anyInt()); in setUp()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.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…
/frameworks/base/boot/
Dboot-image-profile.txt1536 HSPLandroid/app/ContextImpl;->openFileOutput(Ljava/lang/String;I)Ljava/io/FileOutputStream;
3981 HSPLandroid/content/ContextWrapper;->openFileOutput(Ljava/lang/String;I)Ljava/io/FileOutputStream;
/frameworks/base/config/
Dboot-image-profile.txt1536 HSPLandroid/app/ContextImpl;->openFileOutput(Ljava/lang/String;I)Ljava/io/FileOutputStream;
3984 HSPLandroid/content/ContextWrapper;->openFileOutput(Ljava/lang/String;I)Ljava/io/FileOutputStream;

12