Home
last modified time | relevance | path

Searched refs:instream (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DSessionStager.kt49 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/
DHugeAgent.java158 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/
DFullRestoreEngine.java204 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/
DRestoreUtils.java71 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/
DPackageManagerBackupAgent.java553 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/
DSettingsBackupAgent.java473 FileInputStream instream = new FileInputStream(data.getFileDescriptor()); in onRestoreFile() local
474 DataInputStream in = new DataInputStream(instream); in onRestoreFile()