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.java222 try (FileInputStream fis = new FileInputStream( in testApexInfoListIsValid() argument
227 Map<String, ApexInfo> fromXml = XmlParser.readApexInfoList(fis).getApexInfo().stream() in testApexInfoListIsValid()
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestServiceClient.java415 FileInputStream fis = context.openFileInput("test-dummy"); in testFileDescriptorPassing() local
418 assertThat(fis.read(input), is(input.length)); in testFileDescriptorPassing()
437 FileInputStream fis = context.openFileInput("test-dummy"); in testParcelFileDescriptorPassing() local
440 assertThat(fis.read(input), is(input.length)); in testParcelFileDescriptorPassing()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java490 FileInputStream fis = new FileInputStream(file); in runClientSafeUnionTests() local
491 fis.read(resultData); in runClientSafeUnionTests()
496 fis.close(); in runClientSafeUnionTests()