Searched refs:dataInput (Results 1 – 3 of 3) sorted by relevance
318 BackupDataInput dataInput = new BackupDataInput(data.getFileDescriptor()); in mockAndVerifyTransportPerformBackupData() local321 assertThat(dataInput.readNextHeader()).isTrue(); in mockAndVerifyTransportPerformBackupData()322 assertThat(dataInput.getKey()).isEqualTo("key1"); in mockAndVerifyTransportPerformBackupData()323 int size1 = dataInput.getDataSize(); in mockAndVerifyTransportPerformBackupData()325 dataInput.readEntityData(data1, 0, size1); in mockAndVerifyTransportPerformBackupData()329 assertThat(dataInput.readNextHeader()).isTrue(); in mockAndVerifyTransportPerformBackupData()330 assertThat(dataInput.getKey()).isEqualTo("key2"); in mockAndVerifyTransportPerformBackupData()331 int size2 = dataInput.getDataSize(); in mockAndVerifyTransportPerformBackupData()333 dataInput.readEntityData(data2, 0, size2); in mockAndVerifyTransportPerformBackupData()337 assertThat(dataInput.readNextHeader()).isFalse(); in mockAndVerifyTransportPerformBackupData()
192 DataInputStream dataInput = new DataInputStream( in readOldMd5Checksum() local197 int stateVersion = dataInput.readInt(); in readOldMd5Checksum()203 oldMd5Checksum[i] = dataInput.readByte(); in readOldMd5Checksum()
446 DataInputStream dataInput = new DataInputStream( in readOldChecksums() local450 int stateVersion = dataInput.readInt(); in readOldChecksums()457 stateChecksums[i] = dataInput.readLong(); in readOldChecksums()463 dataInput.close(); in readOldChecksums()