Home
last modified time | relevance | path

Searched refs:fis (Results 1 – 5 of 5) sorted by relevance

/system/extras/verity/
DUtils.java214 try (FileInputStream fis = new FileInputStream(fname)) { in loadPEMCertificate() argument
216 return (X509Certificate) cf.generateCertificate(fis); in loadPEMCertificate()
286 FileInputStream fis = new FileInputStream(f); in read() local
288 offset += fis.read(image, (int)offset, (int)(length - offset)); in read()
290 fis.close(); in read()
/system/timezone/distro/tools/src/main/com/android/timezone/distro/builder/
DTimeZoneDistroBuilder.java186 try (FileInputStream fis = new FileInputStream(file)) { in readFileAsByteArray() argument
188 while ((count = fis.read(buffer)) != -1) { in readFileAsByteArray()
/system/apex/tests/src/com/android/tests/apex/
DApexdHostTest.java237 try (FileInputStream fis = new FileInputStream( in testApexInfoListIsValid() argument
242 Map<String, ApexInfo> fromXml = XmlParser.readApexInfoList(fis).getApexInfo().stream() in testApexInfoListIsValid()
/system/tools/aidl/tests/java/src/android/aidl/tests/
DTestServiceClient.java458 FileInputStream fis = new FileInputStream(file); in testFileDescriptorPassing() local
461 assertThat(fis.read(input), is(input.length)); in testFileDescriptorPassing()
480 FileInputStream fis = new FileInputStream(file); in testParcelFileDescriptorPassing() local
483 assertThat(fis.read(input), is(input.length)); in testParcelFileDescriptorPassing()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java486 FileInputStream fis = new FileInputStream(file); in runClientSafeUnionTests() local
487 fis.read(resultData); in runClientSafeUnionTests()
492 fis.close(); in runClientSafeUnionTests()