Home
last modified time | relevance | path

Searched refs:fileInputStream (Results 1 – 4 of 4) 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/functional/com/android/documentsui/archives/
DArchiveFileTestRule.java158 try (FileInputStream fileInputStream = in getAssetText() argument
160 return getStringFromInputStream(fileInputStream); in getAssetText()
DArchiveHandleTest.java362 FileInputStream fileInputStream = in close_zipFile_shouldNotOpen() local
364 assertThat(fileInputStream).isNotNull(); in close_zipFile_shouldNotOpen()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java542 try (FileInputStream fileInputStream = new FileInputStream(file)) { in onHandleIntent() argument
543 mTelephonyBackupAgent.doRestoreFile(fileName, fileInputStream.getFD()); in onHandleIntent()