Home
last modified time | relevance | path

Searched refs:buyerInputs (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DCompressedBuyerInputCreatorNoOptimizations.java54 final Map<AdTechIdentifier, BiddingAuctionServers.BuyerInput.Builder> buyerInputs = in generateCompressedBuyerInputFromDBCAsAndEncodedSignals() local
60 if (!buyerInputs.containsKey(buyerName)) { in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
61 buyerInputs.put(buyerName, BiddingAuctionServers.BuyerInput.newBuilder()); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
67 buyerInputs.get(buyerName).addCustomAudiences(customAudience); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
77 if (!buyerInputs.containsKey(buyerName)) { in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
78 buyerInputs.put(buyerName, BiddingAuctionServers.BuyerInput.newBuilder()); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
82 buyerInputs.get(buyerName); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
90 buyerInputs.put(buyerName, builderWithSignals); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
95 sLogger.v(String.format("Created BuyerInput proto for %s buyers", buyerInputs.size())); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
99 buyerInputs.entrySet()) { in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
DBuyerInputGenerator.java165 final Map<AdTechIdentifier, BuyerInput.Builder> buyerInputs = new HashMap<>(); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals() local
178 if (!buyerInputs.containsKey(buyerName)) { in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
179 buyerInputs.put(buyerName, BuyerInput.newBuilder()); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
182 BuyerInput.Builder builderWithSignals = buyerInputs.get(buyerName); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
197 buyerInputs.put(buyerName, builderWithSignals); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
202 if (!buyerInputs.containsKey(buyerName)) { in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
203 buyerInputs.put(buyerName, BuyerInput.newBuilder()); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
208 buyerInputs.get(buyerName).addCustomAudiences(customAudience); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
232 sLogger.v(String.format("Created BuyerInput proto for %s buyers", buyerInputs.size())); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
234 buyerInputs.entrySet().stream() in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/adselection/
DGetAdSelectionDataCommand.java163 Map<AdTechIdentifier, AuctionServerDataCompressor.CompressedData> buyerInputs = in getBuyerInputForBuyer() local
168 if (!buyerInputs.containsKey(buyer)) { in getBuyerInputForBuyer()
172 AuctionServerDataCompressor.CompressedData compressedData = buyerInputs.get(buyer); in getBuyerInputForBuyer()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAuctionServerE2ETest.java2780 Map<String, BuyerInput> buyerInputs = getDecompressedBuyerInputs(protectedAuctionInput); in testGetAdSelectionData_withOhttpGatewayDecryption() local
2783 Assert.assertEquals(2, buyerInputs.size()); in testGetAdSelectionData_withOhttpGatewayDecryption()
2784 assertTrue(buyerInputs.containsKey(DIFFERENT_BUYER.toString())); in testGetAdSelectionData_withOhttpGatewayDecryption()
2785 assertTrue(buyerInputs.containsKey(WINNER_BUYER.toString())); in testGetAdSelectionData_withOhttpGatewayDecryption()
2787 1, buyerInputs.get(DIFFERENT_BUYER.toString()).getCustomAudiencesList().size()); in testGetAdSelectionData_withOhttpGatewayDecryption()
2789 2, buyerInputs.get(WINNER_BUYER.toString()).getCustomAudiencesList().size()); in testGetAdSelectionData_withOhttpGatewayDecryption()
2793 buyerInputs.get(WINNER_BUYER.toString()).getCustomAudiences(0).getName(), in testGetAdSelectionData_withOhttpGatewayDecryption()
2794 buyerInputs.get(WINNER_BUYER.toString()).getCustomAudiences(1).getName()); in testGetAdSelectionData_withOhttpGatewayDecryption()
2890 Map<String, BuyerInput> buyerInputs = getDecompressedBuyerInputs(protectedAuctionInput); in testGetAdSelectionData_withOhttpGatewayDecryption_withServerAuctionMediaTypeChanged() local
2893 Assert.assertEquals(2, buyerInputs.size()); in testGetAdSelectionData_withOhttpGatewayDecryption_withServerAuctionMediaTypeChanged()
[all …]
DGetAdSelectionDataRunnerTest.java931 Map<AdTechIdentifier, AuctionServerDataCompressor.CompressedData> buyerInputs = in test_composeProtectedAuctionInput_generatesProto() local
942 buyerInputs, in test_composeProtectedAuctionInput_generatesProto()
1005 Map<AdTechIdentifier, AuctionServerDataCompressor.CompressedData> buyerInputs = in test_composeProtectedAuctionInput_consentedDebugConfigNotPresent() local
1027 buyerInputs, in test_composeProtectedAuctionInput_consentedDebugConfigNotPresent()
1042 Map<AdTechIdentifier, AuctionServerDataCompressor.CompressedData> buyerInputs = in test_composeProtectedAuctionInput_generatesConsentedDebugConfig() local
1066 buyerInputs, in test_composeProtectedAuctionInput_generatesConsentedDebugConfig()