Searched refs:readExactly (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | TarBackupReader.java | 242 private static int readExactly(InputStream in, byte[] buffer, int offset, int size) in readExactly() method in TarBackupReader 287 if (readExactly(mInputStream, buffer, 0, (int) info.size) == info.size) { in readAppManifestAndReturnSignatures() 549 if (readExactly(mInputStream, buffer, 0, needed) == needed) { in skipTarPadding() 567 if (readExactly(mInputStream, buffer, 0, (int) info.size) == info.size) { in readMetadata() 674 final int got = readExactly(mInputStream, block, 0, 512); in readTarHeader() 697 if (readExactly(mInputStream, data, 0, data.length) < data.length) { in readPaxExtendedHeader()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | NativeCrashListener.java | 174 static int readExactly(FileDescriptor fd, byte[] buffer, int offset, int numBytes) in readExactly() method in NativeCrashListener 207 int headerBytes = readExactly(fd, buf, 0, 8); in consumeNativeCrashData()
|