Home
last modified time | relevance | path

Searched refs:fileInputStream (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveHandle.java101 FileInputStream fileInputStream = in recreateCommonArchiveStream() local
103 SeekableByteChannel seekableByteChannel = fileInputStream.getChannel(); in recreateCommonArchiveStream()
105 return fileInputStream; in recreateCommonArchiveStream()
146 FileInputStream fileInputStream = recreateCommonArchiveStream(); in getInputStream() local
147 T commonArchive = recreateCommonArchive(fileInputStream); in getInputStream()
153 fileInputStream.close(); in getInputStream()
168 T recreateCommonArchive(FileInputStream fileInputStream) in recreateCommonArchive() argument
197 protected SevenZFile recreateCommonArchive(@NonNull FileInputStream fileInputStream) in recreateCommonArchive() argument
199 return new SevenZFile(fileInputStream.getChannel()); in recreateCommonArchive()
248 protected ArchiveInputStream recreateCommonArchive(FileInputStream fileInputStream) in recreateCommonArchive() argument
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchiveFileTestRule.java158 try (FileInputStream fileInputStream = in getAssetText() argument
160 return getStringFromInputStream(fileInputStream); in getAssetText()
DArchiveHandleTest.java361 FileInputStream fileInputStream = in close_zipFile_shouldNotOpen() local
363 assertThat(fileInputStream).isNotNull(); in close_zipFile_shouldNotOpen()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java944 FileInputStream fileInputStream = mDeviceProtectedContext.openFileInput( in copyRotatingWallpaperToLock() local
947fileInputStream, false /* allowBackup */, WallpaperManagerCompat.FLAG_LOCK); in copyRotatingWallpaperToLock()
948 fileInputStream.close(); in copyRotatingWallpaperToLock()
DNoBackupImageWallpaper.java538 FileInputStream fileInputStream = context.openFileInput(wallpaperFilePath); in loadWallpaper()
539 Bitmap bitmap = BitmapFactory.decodeStream(fileInputStream); in loadWallpaper()
540 fileInputStream.close(); in loadWallpaper()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java537 try (FileInputStream fileInputStream = new FileInputStream(file)) { in onHandleIntent() argument
538 mTelephonyBackupAgent.doRestoreFile(fileName, fileInputStream.getFD()); in onHandleIntent()