Searched refs:fis (Results 1 – 5 of 5) sorted by relevance
214 try (FileInputStream fis = new FileInputStream(fname)) { in loadPEMCertificate() argument216 return (X509Certificate) cf.generateCertificate(fis); in loadPEMCertificate()286 FileInputStream fis = new FileInputStream(f); in read() local288 offset += fis.read(image, (int)offset, (int)(length - offset)); in read()290 fis.close(); in read()
186 try (FileInputStream fis = new FileInputStream(file)) { in readFileAsByteArray() argument188 while ((count = fis.read(buffer)) != -1) { in readFileAsByteArray()
222 try (FileInputStream fis = new FileInputStream( in testApexInfoListIsValid() argument227 Map<String, ApexInfo> fromXml = XmlParser.readApexInfoList(fis).getApexInfo().stream() in testApexInfoListIsValid()
415 FileInputStream fis = context.openFileInput("test-dummy"); in testFileDescriptorPassing() local418 assertThat(fis.read(input), is(input.length)); in testFileDescriptorPassing()437 FileInputStream fis = context.openFileInput("test-dummy"); in testParcelFileDescriptorPassing() local440 assertThat(fis.read(input), is(input.length)); in testParcelFileDescriptorPassing()
490 FileInputStream fis = new FileInputStream(file); in runClientSafeUnionTests() local491 fis.read(resultData); in runClientSafeUnionTests()496 fis.close(); in runClientSafeUnionTests()