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()
237 try (FileInputStream fis = new FileInputStream( in testApexInfoListIsValid() argument242 Map<String, ApexInfo> fromXml = XmlParser.readApexInfoList(fis).getApexInfo().stream() in testApexInfoListIsValid()
458 FileInputStream fis = new FileInputStream(file); in testFileDescriptorPassing() local461 assertThat(fis.read(input), is(input.length)); in testFileDescriptorPassing()480 FileInputStream fis = new FileInputStream(file); in testParcelFileDescriptorPassing() local483 assertThat(fis.read(input), is(input.length)); in testParcelFileDescriptorPassing()
486 FileInputStream fis = new FileInputStream(file); in runClientSafeUnionTests() local487 fis.read(resultData); in runClientSafeUnionTests()492 fis.close(); in runClientSafeUnionTests()