Home
last modified time | relevance | path

Searched refs:getAdSelectionData (Results 1 – 22 of 22) sorted by relevance

/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DGetAdSelectionDataLatency.java122 .getAdSelectionData(request) in warmup()
142 .getAdSelectionData(request) in test_withoutFiltering_varyingBuyers_1()
169 .getAdSelectionData(request) in test_withoutFiltering_varyingBuyers_10()
196 .getAdSelectionData(request) in test_withoutFiltering_varyingBuyers_100()
224 .getAdSelectionData(request) in test_withoutFiltering_varyingBuyers_500()
253 .getAdSelectionData(request) in test_withoutFiltering_varyingBuyers_1000()
281 .getAdSelectionData(request) in test_withoutFiltering_varyingCAs_1()
308 .getAdSelectionData(request) in test_withoutFiltering_varyingCAs_10()
335 .getAdSelectionData(request) in test_withoutFiltering_varyingCAs_100()
363 .getAdSelectionData(request) in test_withoutFiltering_varyingCAs_500()
[all …]
DAdSelectionDataE2ETest.java147 byte[] getAdSelectionData = in warmup()
161 getAdSelectionData, in warmup()
186 .getAdSelectionData(request) in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner()
196 outcome.getAdSelectionData(), in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner()
238 .getAdSelectionData(request) in runAdSelection_twoBuyersMultipleCa_dummyData_remarketingWinner()
248 outcome.getAdSelectionData(), in runAdSelection_twoBuyersMultipleCa_dummyData_remarketingWinner()
291 .getAdSelectionData(request) in runAdSelection_fiveBuyersMultipleCa_dummyData_remarketingWinner()
301 outcome.getAdSelectionData(), in runAdSelection_fiveBuyersMultipleCa_dummyData_remarketingWinner()
342 .getAdSelectionData(request) in runAdSelection_noAdRenderId_baReturnsError_ppapiThrowsError()
352 outcome.getAdSelectionData(), in runAdSelection_noAdRenderId_baReturnsError_ppapiThrowsError()
[all …]
DServerAuctionE2ETestBase.java95 .getAdSelectionData(request) in warmupBiddingAuctionServer()
106 outcome.getAdSelectionData(), in warmupBiddingAuctionServer()
109 return outcome.getAdSelectionData(); in warmupBiddingAuctionServer()
114 byte[] getAdSelectionData, in runServerAuction() argument
120 getAdSelectionData, in runServerAuction()
DPtbM11RampServerAuctionSimulationTest.java143 byte[] getAdSelectionData = in warmup()
154 getAdSelectionData, in warmup()
180 .getAdSelectionData(request) in runAdSelection_ptb_basicSimulation_test()
190 outcome.getAdSelectionData(), in runAdSelection_ptb_basicSimulation_test()
DServerAuctionOneBuyerLargeCaLatency.java138 .getAdSelectionData(request) in warmup()
144 outcome.getAdSelectionData(), in warmup()
191 .getAdSelectionData(request) in runAdSelection_oneBuyerLargeCa_realData_remarketingWinner()
205 outcome.getAdSelectionData(), in runAdSelection_oneBuyerLargeCa_realData_remarketingWinner()
DServerAuctionKAnonE2ETest.java182 byte[] getAdSelectionData = in warmupClientAndServer()
196 getAdSelectionData, in warmupClientAndServer()
227 .getAdSelectionData(request) in runServerAuction_verifyKAnonSetJoined()
237 outcome.getAdSelectionData(), in runServerAuction_verifyKAnonSetJoined()
DPASServerAuctionE2ETest.java177 .getAdSelectionData(request) in runAdSelection_twoSignals_success()
185 outcome.getAdSelectionData(), in runAdSelection_twoSignals_success()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DGetAdSelectionDataResponseTest.java53 expect.that(getAdSelectionDataResponse.getAdSelectionData()).isEqualTo(AD_SELECTION_RESULT); in testBuildGetAdSelectionDataResponse()
70 expect.that(getAdSelectionDataResponse.getAdSelectionData()).isNull(); in testBuildGetAdSelectionDataResponseWithAssetFileDescriptor()
91 expect.that(fromParcel.getAdSelectionData()).isEqualTo(AD_SELECTION_RESULT); in testParcelGetAdSelectionDataResponse()
114 expect.that(fromParcel.getAdSelectionData()).isNull(); in testParcelGetAdSelectionDataResponseWithAssetFileDescriptor()
136 expect.that(fromParcel.getAdSelectionData()).isNull(); in testParcelGetAdSelectionDataResponseWithNullValues()
215 expect.that(getAdSelectionDataResponse.getAdSelectionData()).isEqualTo(adSelectionData); in testMutabilityForAdSelectionData()
219 assertThat(getAdSelectionDataResponse.getAdSelectionData()).isNotNull(); in testMutabilityForAdSelectionData()
220 assertThat(getAdSelectionDataResponse.getAdSelectionData()).isNotEmpty(); in testMutabilityForAdSelectionData()
221 assertThat(getAdSelectionDataResponse.getAdSelectionData()[0]).isEqualTo(originalValue); in testMutabilityForAdSelectionData()
DAdSelectionManagerTest.java207 adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver); in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray()
215 assertArrayEquals(expectedByteArray, outcomeReceiver.getResult().getAdSelectionData()); in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray()
242 adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver); in testAdSelectionManagerGetAdSelectionDataCoordinatorWasPassed()
276 adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor()
283 assertArrayEquals(expectedByteArray, outcomeReceiver.getResult().getAdSelectionData()); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor()
310 adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptorWithExcessiveSize()
316 byte[] result = outcomeReceiver.getResult().getAdSelectionData(); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptorWithExcessiveSize()
375 public void getAdSelectionData( in getAdSelectionData() method in AdSelectionManagerTest.MockAdSelectionService
543 public void getAdSelectionData( in getAdSelectionData() method in AdSelectionManagerTest.MockServiceGetAdSelectionData
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DGetAdSelectionDataOutcomeTest.java45 assertThat(request.getAdSelectionData()).isEqualTo(AD_SELECTION_RESULT); in testGetAdSelectionDataRequest_validInput_success()
57 assertThat(getAdSelectionDataOutcome.getAdSelectionData()).isEqualTo(adSelectionData); in testMutabilityForAdSelectionData()
61 assertThat(getAdSelectionDataOutcome.getAdSelectionData()).isNotNull(); in testMutabilityForAdSelectionData()
62 assertThat(getAdSelectionDataOutcome.getAdSelectionData()[0]).isEqualTo(originalValue); in testMutabilityForAdSelectionData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DGetAdSelectionDataRunnerTest.java307 Assert.assertNotNull(callback.mGetAdSelectionDataResponse.getAdSelectionData()); in testRunner_getAdSelectionData_returnsSuccess()
309 CIPHER_TEXT_BYTES, callback.mGetAdSelectionDataResponse.getAdSelectionData()); in testRunner_getAdSelectionData_returnsSuccess()
310 Assert.assertTrue(callback.mGetAdSelectionDataResponse.getAdSelectionData().length > 0); in testRunner_getAdSelectionData_returnsSuccess()
388 Assert.assertNotNull(callback.mGetAdSelectionDataResponse.getAdSelectionData()); in testRunner_getAdSelectionData_returnsSuccessGetAdSelectionDataPayloadMetricsEnabled()
390 CIPHER_TEXT_BYTES, callback.mGetAdSelectionDataResponse.getAdSelectionData()); in testRunner_getAdSelectionData_returnsSuccessGetAdSelectionDataPayloadMetricsEnabled()
391 Assert.assertTrue(callback.mGetAdSelectionDataResponse.getAdSelectionData().length > 0); in testRunner_getAdSelectionData_returnsSuccessGetAdSelectionDataPayloadMetricsEnabled()
491 Assert.assertNotNull(callback.mGetAdSelectionDataResponse.getAdSelectionData()); in testRunner_getAdSelectionData_success_MetricsEnabled_withDefaultSourceCoordinator()
493 CIPHER_TEXT_BYTES, callback.mGetAdSelectionDataResponse.getAdSelectionData()); in testRunner_getAdSelectionData_success_MetricsEnabled_withDefaultSourceCoordinator()
494 Assert.assertTrue(callback.mGetAdSelectionDataResponse.getAdSelectionData().length > 0); in testRunner_getAdSelectionData_success_MetricsEnabled_withDefaultSourceCoordinator()
598 Assert.assertNotNull(callback.mGetAdSelectionDataResponse.getAdSelectionData()); in testRunner_getAdSelectionData_returnsSuccessMetricsEnabled_withApiSourceCoordinator()
[all …]
DAuctionServerE2ETest.java541 Assert.assertNotNull(callback1.mGetAdSelectionDataResponse.getAdSelectionData()); in testAuctionServer_consentDisabled_throwsException()
544 callback1.mGetAdSelectionDataResponse.getAdSelectionData().length); in testAuctionServer_consentDisabled_throwsException()
593 Assert.assertNotNull(callback.mGetAdSelectionDataResponse.getAdSelectionData()); in testGetAdSelectionData_withoutEncrypt_validRequest_success()
595 byte[] encryptedBytes = callback.mGetAdSelectionDataResponse.getAdSelectionData(); in testGetAdSelectionData_withoutEncrypt_validRequest_success()
1104 Assert.assertNotNull(callback.mGetAdSelectionDataResponse.getAdSelectionData()); in testGetAdSelectionData_withoutEncrypt_validRequest_successPayloadMetricsEnabled()
1106 byte[] encryptedBytes = callback.mGetAdSelectionDataResponse.getAdSelectionData(); in testGetAdSelectionData_withoutEncrypt_validRequest_successPayloadMetricsEnabled()
1217 Assert.assertNotNull(callback.mGetAdSelectionDataResponse.getAdSelectionData()); in testGetAdSelectionData_validRequest_successPayloadMetricsEnabled_withSourceCoordinator()
1219 byte[] encryptedBytes = callback.mGetAdSelectionDataResponse.getAdSelectionData(); in testGetAdSelectionData_validRequest_successPayloadMetricsEnabled_withSourceCoordinator()
1305 Assert.assertNotNull(callback.mGetAdSelectionDataResponse.getAdSelectionData()); in testGetAdSelectionData_withoutEncrypt_validRequest_successPayloadMetricsDisabled()
1307 byte[] encryptedBytes = callback.mGetAdSelectionDataResponse.getAdSelectionData(); in testGetAdSelectionData_withoutEncrypt_validRequest_successPayloadMetricsDisabled()
[all …]
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DAdSelectionManager.java227 public void getAdSelectionData( in getAdSelectionData() method in AdSelectionManager
236 service.getAdSelectionData( in getAdSelectionData()
252 adSelectionData = getAdSelectionData(resultParcel); in getAdSelectionData()
965 private byte[] getAdSelectionData(GetAdSelectionDataResponse response) throws IOException { in getAdSelectionData() method in AdSelectionManager
970 return response.getAdSelectionData(); in getAdSelectionData()
DGetAdSelectionDataOutcome.java60 public byte[] getAdSelectionData() { in getAdSelectionData() method in GetAdSelectionDataOutcome
DGetAdSelectionDataResponse.java106 public byte[] getAdSelectionData() { in getAdSelectionData() method in GetAdSelectionDataResponse
DAdSelectionService.aidl63 void getAdSelectionData(in GetAdSelectionDataInput request, in CallerMetadata callerMetadata, in getAdSelectionData() method
/packages/modules/AdServices/adservices/flags/
Dadservices_flags.aconfig57 description: "Enables the getAdSelectionDataId feature of the getAdSelectionData API"
85 description: "Enable the seller configuration feature for the getAdSelectionData API"
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/adselection/
DAdSelectionClient.java231 public ListenableFuture<GetAdSelectionDataOutcome> getAdSelectionData(
235 mAdSelectionManager.getAdSelectionData(
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DFledgeCtsDebuggableTest.java4797 .getAdSelectionData(request) in testGetAdSelectionData_collectsCa_success()
4801 assertThat(outcome.getAdSelectionData()).isNotNull(); in testGetAdSelectionData_collectsCa_success()
4830 .getAdSelectionData(request1) in testPersistAdSelectionData_adSelectionIdDoesntExist_failure()
4834 assertThat(outcome1.getAdSelectionData()).isNotNull(); in testPersistAdSelectionData_adSelectionIdDoesntExist_failure()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonE2ETest.java2121 service.getAdSelectionData(input, sCallerMetadata, callback);
2190 callback.mGetAdSelectionDataResponse.getAdSelectionData())
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdSelectionServiceImpl.java381 public void getAdSelectionData( in getAdSelectionData() method in AdSelectionServiceImpl
/packages/modules/AdServices/adservices/framework/api/
Dcurrent.txt77 …AdServicesPermissions.ACCESS_ADSERVICES_AD_SELECTION}) public void getAdSelectionData(@NonNull and…
136 method @Nullable public byte[] getAdSelectionData();