Home
last modified time | relevance | path

Searched refs:fileInputStream (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/utils/
DDataStreamFileCodec.java55 FileInputStream fileInputStream = new FileInputStream(mFile); in deserialize() argument
56 DataInputStream dataInputStream = new DataInputStream(fileInputStream) in deserialize()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorage.java152 FileInputStream fileInputStream = new FileInputStream(snapshotFile) in readFromDisk() argument
154 return KeyChainSnapshotDeserializer.deserialize(fileInputStream); in readFromDisk()
/frameworks/base/services/people/java/com/android/server/people/data/
DAbstractProtoDiskReadWriter.java215 try (FileInputStream fileInputStream = atomicFile.openRead()) { in parseFile() argument
216 final ProtoInputStream protoInputStream = new ProtoInputStream(fileInputStream); in parseFile()
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreStorage.kt223 val fileInputStream = FileInputStream(fileDescriptor) in <lambda>() constant
224 val dataInputStream = DataInputStream(fileInputStream) in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBackgroundInstallControlServiceTest.java241 try (FileInputStream fileInputStream = atomicFile.openRead()) { in testWriteBackgroundInstalledPackagesToDisk_empty() argument
242 ProtoInputStream protoInputStream = new ProtoInputStream(fileInputStream); in testWriteBackgroundInstalledPackagesToDisk_empty()
298 try (FileInputStream fileInputStream = atomicFile.openRead()) { in testWriteBackgroundInstalledPackagesToDisk_one() argument
299 ProtoInputStream protoInputStream = new ProtoInputStream(fileInputStream); in testWriteBackgroundInstalledPackagesToDisk_one()
357 try (FileInputStream fileInputStream = atomicFile.openRead()) { in testWriteBackgroundInstalledPackagesToDisk_two() argument
358 ProtoInputStream protoInputStream = new ProtoInputStream(fileInputStream); in testWriteBackgroundInstalledPackagesToDisk_two()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java225 FileInputStream fileInputStream = mAssets.openFd(source).createInputStream(); in copyAssetToFile() local
228 int numBytes = fileInputStream.read(copybuffer); in copyAssetToFile()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DEncoder.java103 FileInputStream fileInputStream) { in setupEncoder() argument
104 this.mInputStream = fileInputStream; in setupEncoder()
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundInstallControlService.java475 try (FileInputStream fileInputStream = atomicFile.openRead()) { in initBackgroundInstalledPackages() argument
476 ProtoInputStream protoInputStream = new ProtoInputStream(fileInputStream); in initBackgroundInstalledPackages()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java316 FileInputStream fileInputStream = new FileInputStream(src); in testCopy_SocketToFile_FileToSocket$noRavenwood() local
327 FileUtils.copy(fileInputStream.getFD(), clientFd, src.length(), null, null, null); in testCopy_SocketToFile_FileToSocket$noRavenwood()
329 fileInputStream.close(); in testCopy_SocketToFile_FileToSocket$noRavenwood()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperManagerServiceTests.java616 FileInputStream fileInputStream = new FileInputStream(file) in assertPfdAndFileContentsEqual()
619 String fileContents = new String(fileInputStream.readAllBytes()); in assertPfdAndFileContentsEqual()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java618 try (FileInputStream fileInputStream = new FileInputStream(file); in cacheOtaEmergencyNumberDatabase() argument
619 BufferedInputStream inputStream = new BufferedInputStream(fileInputStream); in cacheOtaEmergencyNumberDatabase()