Home
last modified time | relevance | path

Searched refs:compressedData (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskCompressImageToJpeg.java120 ByteBuffer compressedData; in run() local
134 compressedData = ByteBuffer.allocate(origBuffer.limit()); in run()
137 if (compressedData == null) { in run()
144 compressedData.put(origBuffer); in run()
146 compressedData.rewind(); in run()
154 if (compressedData.array() != null) { in run()
155 exifData = Exif.getExif(compressedData.array()); in run()
216 compressedData.array(), safeCrop, in run()
219 compressedData = ByteBuffer.allocate(croppedResult.length); in run()
220 compressedData.put(ByteBuffer.wrap(croppedResult)); in run()
[all …]
DTaskChainedCompressImageToJpeg.java89 byte[] compressedData = convertNv21toJpeg(chainedDataCopy, in run()
91 onJpegEncodeDone(mId, inputImage, resultImage, compressedData, in run()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAuctionServerDataCompressorGzipTest.java43 AuctionServerDataCompressor.CompressedData compressedData = in testCompress() local
45 Assert.assertTrue(compressedData.getData().length < uncompressedData.getData().length); in testCompress()
52 AuctionServerDataCompressor.CompressedData compressedData =
54 Assert.assertTrue(compressedData.getData().length < uncompressedData.getData().length);
56 mDataCompressorV0.decompress(compressedData);
DPersistAdSelectionResultRunnerTest.java1869 AuctionServerDataCompressor.CompressedData compressedData = in prepareDecryptedAuctionResult() local
1874 AuctionServerPayloadUnformattedData.create(compressedData.getData()), in prepareDecryptedAuctionResult()
DAuctionServerE2ETest.java4179 AuctionServerDataCompressor.CompressedData compressedData = in prepareAuctionResultBytes() local
4184 AuctionServerPayloadUnformattedData.create(compressedData.getData()), in prepareAuctionResultBytes()
4191 AuctionServerDataCompressor.CompressedData compressedData = in prepareAuctionResultBytesPas() local
4196 AuctionServerPayloadUnformattedData.create(compressedData.getData()), in prepareAuctionResultBytesPas()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAuctionServerDataCompressorGzip.java56 CompressedData compressedData = CompressedData.create(byteArrayOutputStream.toByteArray()); in compress() local
58 return compressedData; in compress()
DAuctionServerDataCompressor.java35 UncompressedData decompress(CompressedData compressedData); in decompress() argument
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/adselection/
DGetAdSelectionDataCommand.java172 AuctionServerDataCompressor.CompressedData compressedData = buyerInputs.get(buyer); in getBuyerInputForBuyer() local
176 mAuctionServerDataCompressor.decompress(compressedData).getData()); in getBuyerInputForBuyer()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonE2ETest.java1903 AuctionServerDataCompressor.CompressedData compressedData = in prepareAuctionResultBytes() local
1908 AuctionServerPayloadUnformattedData.create(compressedData.getData()), in prepareAuctionResultBytes()