Searched refs:uncompressedData (Results 1 – 6 of 6) sorted by relevance
35 AuctionServerDataCompressor.UncompressedData uncompressedData = in testCompress() local38 mDataCompressorV0.compress(uncompressedData); in testCompress()39 Assert.assertTrue(compressedData.getData().length < uncompressedData.getData().length); in testCompress()44 AuctionServerDataCompressor.UncompressedData uncompressedData =47 mDataCompressorV0.compress(uncompressedData);48 Assert.assertTrue(compressedData.getData().length < uncompressedData.getData().length);
41 public CompressedData compress(@NonNull UncompressedData uncompressedData) { in compress() argument42 Objects.requireNonNull(uncompressedData); in compress()50 gzipOutputStream.write(uncompressedData.getData()); in compress()62 public UncompressedData decompress(@NonNull CompressedData uncompressedData) { in decompress() argument63 Objects.requireNonNull(uncompressedData); in decompress()68 new ByteArrayInputStream(uncompressedData.getData()); in decompress()
130 AuctionServerDataCompressor.UncompressedData uncompressedData = in generateCompressedBuyerInputFromDBCAsAndEncodedSignals() local136 mDataCompressor.compress(uncompressedData); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
347 AuctionServerDataCompressor.UncompressedData uncompressedData = in getCompressionRatio() local351 int compressedSize = mDataCompressor.compress(uncompressedData).getData().length; in getCompressionRatio()353 int uncompressedSize = uncompressedData.getData().length; in getCompressionRatio()
667 AuctionServerDataCompressor.UncompressedData uncompressedData) {669 AuctionResult result = AuctionResult.parseFrom(uncompressedData.getData());
101 public static byte[] compressWithGzip(byte[] uncompressedData) { in compressWithGzip() argument102 try (ByteString.Output outputStream = ByteString.newOutput(uncompressedData.length); in compressWithGzip()104 gzipOutputStream.write(uncompressedData); in compressWithGzip()