Home
last modified time | relevance | path

Searched refs:fileInputStream (Results 1 – 5 of 5) 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/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarApiTestBase.java185 FileInputStream fileInputStream = new FileInputStream(fd); in waitForLogcatMessage() local
187 new InputStreamReader(fileInputStream))) { in waitForLogcatMessage()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java577 try (FileInputStream fileInputStream = new FileInputStream(file)) { in onHandleIntent() argument
578 mTelephonyBackupAgent.doRestoreFile(fileName, fileInputStream.getFD()); in onHandleIntent()