Home
last modified time | relevance | path

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

12

/aosp12/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)); in writeFile()
/aosp12/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
H A DSavedWallpaperImages.java127 mContext.openFileOutput(imageFile.getName(), Context.MODE_PRIVATE); in writeImage()
133 mContext.openFileOutput(thumbFile.getName(), Context.MODE_PRIVATE); in writeImage()
/aosp12/frameworks/base/test-runner/src/android/test/
H A DRenamingDelegatingContext.java203 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput() method in RenamingDelegatingContext
206 return mFileContext.openFileOutput(renamedFileName(name), mode); in openFileOutput()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
H A DDiskBasedLogger.java154 outputStream = context.openFileOutput(logs.getName(), Context.MODE_APPEND); in e()
205 outputStream = context.openFileOutput(TEMP_LOGS_FILE_PATH, Context.MODE_APPEND); in clearOldLogs()
H A DFileMover.java34 FileOutputStream output = dstContext.openFileOutput( in moveFileBetweenContexts()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DRenamingDelegatingContext.java205 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput() method in RenamingDelegatingContext
208 return mFileContext.openFileOutput(renamedFileName(name), mode); in openFileOutput()
/aosp12/frameworks/base/test-runner/api/
H A 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`
/aosp12/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
H A DLowStorageTest.java84 contextfill.openFileOutput("testdata", Context.MODE_APPEND); in fillupdisk()
/aosp12/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java103 OutputStream out = getContext().openFileOutput(DATA_FILE, Context.MODE_PRIVATE); in onCreate()
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphExporter.java54 FileOutputStream fOut = myAppContext.openFileOutput(filename, Context.MODE_PRIVATE); in exportAsDot()
/aosp12/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
H A DDefaultWallpaperInfo.java215 FileOutputStream thumbFileStream = c.openFileOutput(f.getName(), Context.MODE_PRIVATE); in saveDefaultWallpaperThumb()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java156 FileOutputStream fw = mContext.openFileOutput("content.txt", mContext.MODE_WORLD_READABLE); in makeTemporaryContentFile()
/aosp12/bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/
H A DMain.java207 FileOutputStream fos = openFileOutput(filename, 0);
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppLauncherActivity.java340 outStream = context.openFileOutput(fileName, Context.MODE_PRIVATE); in creatFileForSharedContent()
/aosp12/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); in initiateDownload()
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
H A DUtilsTest.java380 outputStream = getContext().openFileOutput(TEST_FILE_NAME, Context.MODE_PRIVATE); in testComputeHashOfFile()
/aosp12/frameworks/base/core/java/android/content/
H A DContextWrapper.java228 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput() method in ContextWrapper
230 return mBase.openFileOutput(name, mode); in openFileOutput()
H A DContext.java1066 public abstract FileOutputStream openFileOutput(String name, @FileMode int mode) in openFileOutput() method in Context
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
H A DBackupHelper.java291 try (OutputStream delayedRestoreData = mContext.openFileOutput( in writeDelayedStorePkgsLocked()
H A DLocationAccessCheck.java253 mContext.openFileOutput(LOCATION_ACCESS_CHECK_ALREADY_NOTIFIED_FILE, in safeAlreadyNotifiedPackagesLocked()
/aosp12/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java1077 fos = mContext.openFileOutput(hostoryFileName, Context.MODE_PRIVATE); in doInBackground()
/aosp12/frameworks/base/test-mock/src/android/test/mock/
H A DMockContext.java180 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { in openFileOutput() method in MockContext
/aosp12/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DImportVCardActivity.java464 outputChannel = context.openFileOutput(filename, Context.MODE_PRIVATE).getChannel(); in copyTo()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DUpdateHandler.java639 outputStream = context.openFileOutput(destinationFile, Context.MODE_PRIVATE); in handleWordList()
/aosp12/frameworks/base/test-mock/api/
H A Dcurrent.txt100 …method public java.io.FileOutputStream openFileOutput(String, int) throws java.io.FileNotFoundExce…

12