Searched defs:fileInputStream (Results 1 – 10 of 10) sorted by relevance
30 private final FileInputStream fileInputStream; field in BackendInputStream37 private BackendInputStream(FileInputStream fileInputStream, File file) { in BackendInputStream()
162 try (FileInputStream fileInputStream = context.openFileInput("__test__")) { in openFileInput_shouldReturnAFileInputStream()171 … try (FileInputStream fileInputStream = context.openFileInput("data" + File.separator + "test")) {} in openFileInput_shouldNotAcceptPathsWithSeparatorCharacters()181 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldReturnAFileOutputStream()205 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldAppendData()223 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldOverwriteData()
182 try (FileInputStream fileInputStream = context.openFileInput("__test__")) { in openFileInput_shouldReturnAFileInputStream()191 try (FileInputStream fileInputStream = in openFileInput_shouldNotAcceptPathsWithSeparatorCharacters()203 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldReturnAFileOutputStream()231 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldAppendData()249 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldOverwriteData()
90 FileInputStream fileInputStream = new FileInputStream(tmp); in decodeResource_sameAs() local453 try (FileInputStream fileInputStream = new FileInputStream(tmpFile)) { in decodeFileDescriptor_shouldHaveCorrectWidthAndHeight()517 FileInputStream fileInputStream = new FileInputStream(file); in getPngImageColorFromFileDescriptor() local
104 try (FileInputStream fileInputStream = new FileInputStream(pathName); in decodeFile()131 try (FileInputStream fileInputStream = new FileInputStream(fd); in decodeFileDescriptor()
156 FileInputStream fileInputStream = new FileInputStream(file); in prefsFileContainsString() local
163 FileInputStream fileInputStream = new FileInputStream(file); in fileContainsString() local
202 FileInputStream fileInputStream = null; in fileContainsString() local
914 final FileInputStream fileInputStream = new FileInputStream(testFile); in testRead_ReadableByteChannel() local969 final FileInputStream fileInputStream = new FileInputStream(testFile); in testReadFully_ReadableByteChannel() local1291 final FileInputStream fileInputStream = new FileInputStream(testFile); in testSkip_ReadableByteChannel() local1319 final FileInputStream fileInputStream = new FileInputStream(testFile); in testSkipFully_ReadableByteChannel() local
166 InputStream fileInputStream = directory == null in openDataInput() local