Searched refs:instream (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | SessionStager.kt | 49 context.contentResolver.openInputStream(uri).use { instream -> in <lambda>() method 52 if (instream == null) { in <lambda>() 63 val numRead = instream.read(buffer) in <lambda>()
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeAgent.java | 158 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); in compareStateFile() local 159 DataInputStream in = new DataInputStream(instream); in compareStateFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | FullRestoreEngine.java | 204 public boolean restoreOneFile(InputStream instream, boolean mustKillAgent, byte[] buffer, in restoreOneFile() argument 213 TarBackupReader tarBackupReader = new TarBackupReader(instream, in restoreOneFile() 316 instream, mBackupManagerService.getContext(), in restoreOneFile() 535 int nRead = instream.read(buffer, 0, toRead); in restoreOneFile() 600 long nRead = instream.read(buffer, 0, toRead); in restoreOneFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 71 public static boolean installApk(InputStream instream, Context context, in installApk() argument 106 int didRead = instream.read(buffer, 0, (int) toRead); in installApk()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 553 FileInputStream instream = new FileInputStream(stateFile.getFileDescriptor()); in parseStateFile() local 554 BufferedInputStream inbuffer = new BufferedInputStream(instream); in parseStateFile()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 473 FileInputStream instream = new FileInputStream(data.getFileDescriptor()); in onRestoreFile() local 474 DataInputStream in = new DataInputStream(instream); in onRestoreFile()
|