Searched refs:fileInputStream (Results 1 – 7 of 7) sorted by relevance
55 FileInputStream fileInputStream = new FileInputStream(mFile); in deserialize() argument56 DataInputStream dataInputStream = new DataInputStream(fileInputStream) in deserialize()
152 FileInputStream fileInputStream = new FileInputStream(snapshotFile) in readFromDisk() argument154 return KeyChainSnapshotDeserializer.deserialize(fileInputStream); in readFromDisk()
215 try (FileInputStream fileInputStream = atomicFile.openRead()) { in parseFile() argument216 final ProtoInputStream protoInputStream = new ProtoInputStream(fileInputStream); in parseFile()
244 try (FileInputStream fileInputStream = atomicFile.openRead()) { in testWriteBackgroundInstalledPackagesToDisk_empty() argument245 ProtoInputStream protoInputStream = new ProtoInputStream(fileInputStream); in testWriteBackgroundInstalledPackagesToDisk_empty()299 try (FileInputStream fileInputStream = atomicFile.openRead()) { in testWriteBackgroundInstalledPackagesToDisk_one() argument300 ProtoInputStream protoInputStream = new ProtoInputStream(fileInputStream); in testWriteBackgroundInstalledPackagesToDisk_one()356 try (FileInputStream fileInputStream = atomicFile.openRead()) { in testWriteBackgroundInstalledPackagesToDisk_two() argument357 ProtoInputStream protoInputStream = new ProtoInputStream(fileInputStream); in testWriteBackgroundInstalledPackagesToDisk_two()
225 FileInputStream fileInputStream = mAssets.openFd(source).createInputStream(); in copyAssetToFile() local228 int numBytes = fileInputStream.read(copybuffer); in copyAssetToFile()
382 try (FileInputStream fileInputStream = atomicFile.openRead()) { in initBackgroundInstalledPackages() argument383 ProtoInputStream protoInputStream = new ProtoInputStream(fileInputStream); in initBackgroundInstalledPackages()
616 FileInputStream fileInputStream = new FileInputStream(file) in assertPfdAndFileContentsEqual()619 String fileContents = new String(fileInputStream.readAllBytes()); in assertPfdAndFileContentsEqual()