Home
last modified time | relevance | path

Searched refs:readNextChunk (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DEncryptedFullRestoreTaskTest.java87 int bytesRead = mTask.readNextChunk(buffer); in readNextChunk_downloadsAndDecryptsBackup()
90 bytesRead = mTask.readNextChunk(buffer); in readNextChunk_downloadsAndDecryptsBackup()
98 mTask.readNextChunk(new byte[10]); in finish_deletesTemporaryFiles()
115 public int readNextChunk(byte[] buffer) throws IOException { in readNextChunk() method in EncryptedFullRestoreTaskTest.FakeFullRestoreDownloader
DFullRestoreToFileTaskTest.java90 when(mMockFullRestoreDownloader.readNextChunk(any())).thenReturn(-1); in restoreToFile_noErrors_closesDownloaderWithFinished()
100 when(mMockFullRestoreDownloader.readNextChunk(any())).thenThrow(IOException.class); in restoreToFile_ioException_closesDownloaderWithTransferFailure()
119 public int readNextChunk(byte[] buffer) throws IOException { in readNextChunk() method in FullRestoreToFileTaskTest.FakeFullRestoreDownloader
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DFullRestoreToFileTask.java73 int bytesRead = mFullRestoreDownloader.readNextChunk(buffer); in restoreToFile()
76 bytesRead = mFullRestoreDownloader.readNextChunk(buffer); in restoreToFile()
DEncryptedFullRestoreTask.java98 public int readNextChunk(byte[] buffer) throws IOException { in readNextChunk() method in EncryptedFullRestoreTask
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/
DFullRestoreDataProcessor.java42 int readNextChunk(byte[] buffer) throws IOException; in readNextChunk() method
DFullRestoreDownloader.java43 public abstract int readNextChunk(byte[] buffer) throws IOException; in readNextChunk() method in FullRestoreDownloader
DKeyValueEncrypter.java130 public int readNextChunk(byte[] buffer) throws IOException { in readNextChunk() method in KeyValueEncrypter.InputStreamFullRestoreDownloader
/frameworks/base/libs/androidfw/
DStreamingZipInflater.cpp158 int err = readNextChunk(); in read()
207 int StreamingZipInflater::readNextChunk() { in readNextChunk() function in StreamingZipInflater
/frameworks/base/libs/androidfw/include/androidfw/
DStreamingZipInflater.h54 int readNextChunk();
/frameworks/base/packages/BackupEncryption/test/robolectric-integration/src/com/android/server/backup/encryption/
DRoundTripTest.java228 int bytesRead = restoreTask.readNextChunk(buffer); in performFullRestore()
231 bytesRead = restoreTask.readNextChunk(buffer); in performFullRestore()
312 public int readNextChunk(byte[] buffer) throws IOException { in readNextChunk() method in RoundTripTest.FakeFullRestoreDownloader