Searched refs:fileInputStream (Results 1 – 7 of 7) sorted by relevance
94 try (FileInputStream fileInputStream = mContext.openFileInput(EVENT_LOG_FILE_NAME)) { in loadEventsFromFile() argument95 Event event = readEvent(fileInputStream); in loadEventsFromFile()102 event = readEvent(fileInputStream); in loadEventsFromFile()117 private Event readEvent(FileInputStream fileInputStream) throws IOException { in readEvent() argument118 if (fileInputStream.available() < BYTES_PER_INT) { in readEvent()122 fileInputStream.read(sizeBytes); in readEvent()127 fileInputStream.read(eventBytes); in readEvent()
102 FileInputStream fileInputStream = new FileInputStream(fd); in assertLogcatMessage() local104 new InputStreamReader(fileInputStream))) { in assertLogcatMessage()139 FileInputStream fileInputStream = new FileInputStream(fd); in assertNoLogcatMessage() local141 new InputStreamReader(fileInputStream))) { in assertNoLogcatMessage()
342 StreamingShellOutput(FileInputStream fileInputStream, Stream<String> stream) { in StreamingShellOutput() argument343 mFileInputStream = fileInputStream; in StreamingShellOutput()
231 FileInputStream fileInputStream = new FileInputStream(fd); in assertUserLifecycleEventLogged() local233 new InputStreamReader(fileInputStream))) { in assertUserLifecycleEventLogged()
134 FileInputStream fileInputStream = new ParcelFileDescriptor.AutoCloseInputStream(socketOut); in checkDump() local139 assertEquals(input.length, fileInputStream.read(input)); in checkDump()261 FileInputStream fileInputStream = new ParcelFileDescriptor.AutoCloseInputStream(out); in checkInOutSockets() local264 assertEquals(input.length, fileInputStream.read(input)); in checkInOutSockets()
454 FileInputStream fileInputStream = new FileInputStream( in createFileContent()457 long copied = FileUtils.copy(fileInputStream, outputStream); in createFileContent()
617 try (FileInputStream fileInputStream = new FileInputStream(tmp); in testUnbufferedIoGZipInput() argument618 GZIPInputStream in = new GZIPInputStream(fileInputStream)) { in testUnbufferedIoGZipInput()