Home
last modified time | relevance | path

Searched refs:uncompressedData (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAuctionServerDataCompressorGzipTest.java41 AuctionServerDataCompressor.UncompressedData uncompressedData = in testCompress() local
44 mDataCompressorV0.compress(uncompressedData); in testCompress()
45 Assert.assertTrue(compressedData.getData().length < uncompressedData.getData().length); in testCompress()
50 AuctionServerDataCompressor.UncompressedData uncompressedData =
53 mDataCompressorV0.compress(uncompressedData);
54 Assert.assertTrue(compressedData.getData().length < uncompressedData.getData().length);
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAuctionServerDataCompressorGzip.java41 public CompressedData compress(@NonNull UncompressedData uncompressedData) { in compress() argument
42 Objects.requireNonNull(uncompressedData); in compress()
50 gzipOutputStream.write(uncompressedData.getData()); in compress()
62 public UncompressedData decompress(@NonNull CompressedData uncompressedData) { in decompress() argument
63 Objects.requireNonNull(uncompressedData); in decompress()
68 new ByteArrayInputStream(uncompressedData.getData()); in decompress()
DPersistAdSelectionResultRunner.java548 AuctionServerDataCompressor.UncompressedData uncompressedData) {
550 AuctionResult result = AuctionResult.parseFrom(uncompressedData.getData());
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/
DHttpClientUtil.java85 public static byte[] compressWithGzip(byte[] uncompressedData) { in compressWithGzip() argument
86 try (ByteString.Output outputStream = ByteString.newOutput(uncompressedData.length); in compressWithGzip()
88 gzipOutputStream.write(uncompressedData); in compressWithGzip()