Home
last modified time | relevance | path

Searched refs:BUYER (Results 1 – 25 of 51) sorted by relevance

123

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DPeriodicEncodingJobWorkerTest.java91 private static final AdTechIdentifier BUYER = CommonFixture.VALID_BUYER_1; field in PeriodicEncodingJobWorkerTest
97 .setBuyer(BUYER)
182 assertEquals(BUYER, mEncodedPayloadCaptor.getValue().getBuyer()); in testValidateAndPersistPayloadSuccess()
226 when(mEncoderLogicHandler.getEncoder(BUYER)).thenReturn(encoderLogic); in testEncodingPerBuyerSuccess()
227 when(mSignalStorageManager.getSignals(BUYER)).thenReturn(FAKE_SIGNALS); in testEncodingPerBuyerSuccess()
248 assertEquals(BUYER, mEncodedPayloadCaptor.getValue().getBuyer()); in testEncodingPerBuyerSuccess()
260 when(mEncoderLogicHandler.getEncoder(BUYER)).thenReturn(encoderLogic); in testEncodingPerBuyerScriptFailureCausesIllegalStateException()
261 when(mSignalStorageManager.getSignals(BUYER)).thenReturn(FAKE_SIGNALS); in testEncodingPerBuyerScriptFailureCausesIllegalStateException()
282 verify(mEncodedPayloadDao).getEncodedPayload(BUYER); in testEncodingPerBuyerScriptFailureCausesIllegalStateException()
291 when(mEncoderLogicHandler.getEncoder(BUYER)).thenReturn(encoderLogic); in testEncodingPerBuyerFailedFuture()
[all …]
DSignalsProviderImplTest.java46 private static final AdTechIdentifier BUYER = CommonFixture.VALID_BUYER_1; field in SignalsProviderImplTest
63 Mockito.when(mProtectedSignalsDao.getSignalsByBuyer(BUYER)) in testEmptySignalsGet()
67 "There should have been no signals", 0, mSignalStorage.getSignals(BUYER).size()); in testEmptySignalsGet()
77 Mockito.when(mProtectedSignalsDao.getSignalsByBuyer(BUYER)) in testSingleSignalGet()
83 mSignalStorage.getSignals(BUYER).size()); in testSingleSignalGet()
85 mSignalStorage.getSignals(BUYER).get(generateKey(seed)); in testSingleSignalGet()
104 Mockito.when(mProtectedSignalsDao.getSignalsByBuyer(BUYER)) in testSingleMultipleSignalsGet()
110 mSignalStorage.getSignals(BUYER).size()); in testSingleMultipleSignalsGet()
112 mSignalStorage.getSignals(BUYER).get(generateKey(seed1)); in testSingleMultipleSignalsGet()
119 mSignalStorage.getSignals(BUYER).get(generateKey(seed2)).size()); in testSingleMultipleSignalsGet()
[all …]
DSignalsEncodingE2ETest.java110 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("localhost"); field in SignalsEncodingE2ETest
385 new EncoderUpdateEventTestObserver(updateEventLatch, BUYER, true); in testSignalsEncoding_Success()
396 List<DBProtectedSignal> actual = mSignalsDao.getSignalsByBuyer(BUYER); in testSignalsEncoding_Success()
403 mEncoderEndpointsDao.getEndpoint(BUYER).getDownloadUri()); in testSignalsEncoding_Success()
412 mEncoderPersistenceDao.getEncoder(BUYER)); in testSignalsEncoding_Success()
423 byte[] payload = mEncodedPayloadDao.getEncodedPayload(BUYER).getEncodedPayload(); in testSignalsEncoding_Success()
508 new EncoderUpdateEventTestObserver(updateEventLatch1, BUYER, true); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
514 List<DBProtectedSignal> actual = mSignalsDao.getSignalsByBuyer(BUYER); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
525 byte[] payload1A = mEncodedPayloadDao.getEncodedPayload(BUYER).getEncodedPayload(); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
535 byte[] payload1B = mEncodedPayloadDao.getEncodedPayload(BUYER).getEncodedPayload(); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
[all …]
DSignalsIntakeE2ETest.java113 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("localhost"); field in SignalsIntakeE2ETest
280 .setBuyer(BUYER) in testPutNoNetwork()
286 List<DBProtectedSignal> actual = mSignalsDao.getSignalsByBuyer(BUYER); in testPutNoNetwork()
343 List<DBProtectedSignal> actual1 = mSignalsDao.getSignalsByBuyer(BUYER); in testComplexJsonNoNetwork()
391 List<DBProtectedSignal> actual2 = mSignalsDao.getSignalsByBuyer(BUYER); in testComplexJsonNoNetwork()
481 List<DBProtectedSignal> actual1 = mSignalsDao.getSignalsByBuyer(BUYER); in testComplexJson()
493 List<DBProtectedSignal> actual2 = mSignalsDao.getSignalsByBuyer(BUYER); in testComplexJson()
533 List<DBProtectedSignal> actual1 = mSignalsDao.getSignalsByBuyer(BUYER); in testOverwriteAppendWithPut()
538 List<DBProtectedSignal> actual2 = mSignalsDao.getSignalsByBuyer(BUYER); in testOverwriteAppendWithPut()
571 List<DBProtectedSignal> actual1 = mSignalsDao.getSignalsByBuyer(BUYER); in testAddToPutWithAppend()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBAppInstallPermissionsTest.java32 public static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("example.com"); field in DBAppInstallPermissionsTest
42 .setBuyer(BUYER) in testBuildDBAppInstall()
46 assertEquals(BUYER, appInstall.getBuyer()); in testBuildDBAppInstall()
54 .setBuyer(BUYER) in testEquals()
59 .setBuyer(BUYER) in testEquals()
70 .setBuyer(BUYER) in testNotEqualDifferentType()
81 .setBuyer(BUYER) in testNotEqualSameType()
86 .setBuyer(BUYER) in testNotEqualSameType()
97 .setBuyer(BUYER) in testToString()
103 + BUYER in testToString()
[all …]
DDBBuyerDecisionOverrideTest.java34 private static final AdTechIdentifier BUYER = CommonFixture.VALID_BUYER_1; field in DBBuyerDecisionOverrideTest
45 .setBuyer(BUYER) in testBuildDBBuyerDecisionOverride()
54 assertEquals(BUYER, override.getBuyer()); in testBuildDBBuyerDecisionOverride()
61 AD_SELECTION_CONFIG_ID, APP_PACKAGE_NAME, BUYER, DECISION_LOGIC_JS); in testDBBuyerDecisionOverrideCreate()
66 assertEquals(BUYER, override.getBuyer()); in testDBBuyerDecisionOverrideCreate()
77 .setBuyer(BUYER) in testThrowsExceptionWithNoAdSelectionId()
90 .setBuyer(BUYER) in testThrowsExceptionWithNoAppPackageName()
114 .setBuyer(BUYER) in testThrowsExceptionWithNoDecisionLogic()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/
DCustomAudienceHelperTest.java45 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("example.com"); field in CustomAudienceHelperTest
47 DBCustomAudienceFixture.getValidBuilderByBuyer(BUYER);
50 DBCustomAudienceBackgroundFetchDataFixture.getValidBuilderByBuyer(BUYER);
57 .put(CustomAudienceHelper.BUYER, BUYER) in testCustomAudienceFromJson_happyPath()
76 CustomAudienceFixture.getValidBiddingLogicUriByBuyer(BUYER)) in testCustomAudienceFromJson_happyPath()
87 assertThat(customAudience.getBuyer()).isEqualTo(BUYER); in testCustomAudienceFromJson_happyPath()
99 .isEqualTo(DBTrustedBiddingDataFixture.getValidBuilderByBuyer(BUYER).build()); in testCustomAudienceFromJson_happyPath()
101 .isEqualTo(CustomAudienceFixture.getValidBiddingLogicUriByBuyer(BUYER)); in testCustomAudienceFromJson_happyPath()
103 .isEqualTo(DBAdDataFixture.getValidDbAdDataListByBuyer(BUYER)); in testCustomAudienceFromJson_happyPath()
111 .put(CustomAudienceHelper.BUYER, BUYER) in testCustomAudienceBackgroundFetchDataFromJson_happyPath()
[all …]
DCustomAudienceRefreshCommandTest.java64 private static final AdTechIdentifier BUYER = CUSTOM_AUDIENCE.getBuyer(); field in CustomAudienceRefreshCommandTest
67 DBCustomAudienceBackgroundFetchDataFixture.getValidBuilderByBuyer(BUYER)
83 when(mCustomAudienceDao.getDebuggableCustomAudienceByPrimaryKey(OWNER, BUYER, NAME)) in testRun_withValidCustomAudience_returnsSuccess()
86 OWNER, BUYER, NAME)) in testRun_withValidCustomAudience_returnsSuccess()
106 when(mCustomAudienceDao.getDebuggableCustomAudienceByPrimaryKey(OWNER, BUYER, NAME)) in testRun_withInvalidCustomAudienceBackgroundFetchData_returnsGenericFailure()
109 OWNER, BUYER, NAME)) in testRun_withInvalidCustomAudienceBackgroundFetchData_returnsGenericFailure()
133 when(mCustomAudienceDao.getDebuggableCustomAudienceByPrimaryKey(OWNER, BUYER, NAME)) in testRun_withFailedBackgroundFetch_returnsTimeoutFailure()
136 OWNER, BUYER, NAME)) in testRun_withFailedBackgroundFetch_returnsTimeoutFailure()
163 when(mCustomAudienceDao.getDebuggableCustomAudienceByPrimaryKey(OWNER, BUYER, NAME)) in testRun_withFailedBackgroundFetch_returnsUnknownFailure()
166 OWNER, BUYER, NAME)) in testRun_withFailedBackgroundFetch_returnsUnknownFailure()
[all …]
DCustomAudienceListCommandTest.java49 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("example.com"); field in CustomAudienceListCommandTest
52 DBCustomAudienceFixture.getValidBuilderByBuyer(BUYER, "ca1").setOwner(OWNER).build();
54 DBCustomAudienceFixture.getValidBuilderByBuyer(BUYER, "ca2").setOwner(OWNER).build();
57 DBCustomAudienceBackgroundFetchDataFixture.getValidBuilderByBuyer(BUYER)
64 DBCustomAudienceBackgroundFetchDataFixture.getValidBuilderByBuyer(BUYER)
192 BUYER.toString()); in runCommandAndGetResult()
DCustomAudienceViewCommandTest.java47 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("example.com"); field in CustomAudienceViewCommandTest
51 DBCustomAudienceFixture.getValidBuilderByBuyer(BUYER, CA_NAME)
57 DBCustomAudienceBackgroundFetchDataFixture.getValidBuilderByBuyer(BUYER)
142 DBCustomAudienceBackgroundFetchDataFixture.getValidBuilderByBuyer(BUYER) in testRun_presentButBackgroundFetchDataNotDebuggable_returnsEmpty()
172 BUYER.toString(), in runCommandAndGetResult()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DCustomAudienceOverrideRequestTest.java32 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("buyer"); field in CustomAudienceOverrideRequestTest
46 BUYER, NAME, BIDDING_LOGIC_JS, TRUSTED_BIDDING_DATA); in testCreateAddCustomAudienceOverrideRequest_withoutBiddingLogicVersion_Success()
48 assertEquals(request.getBuyer(), BUYER); in testCreateAddCustomAudienceOverrideRequest_withoutBiddingLogicVersion_Success() local
59 .setBuyer(BUYER) in testBuildAddCustomAudienceOverrideRequest_biddingLogicVersionNotSet_Success()
65 assertEquals(request.getBuyer(), BUYER); in testBuildAddCustomAudienceOverrideRequest_biddingLogicVersionNotSet_Success() local
76 .setBuyer(BUYER) in testBuildAddCustomAudienceOverrideRequest_Success()
83 assertEquals(request.getBuyer(), BUYER); in testBuildAddCustomAudienceOverrideRequest_Success() local
93 new RemoveCustomAudienceOverrideRequest(BUYER, NAME); in testCreateRemoveCustomAudienceOverrideRequestSuccess()
95 assertEquals(request.getBuyer(), BUYER); in testCreateRemoveCustomAudienceOverrideRequestSuccess() local
103 .setBuyer(BUYER) in testBuildRemoveCustomAudienceOverrideRequestSuccess()
[all …]
DSignedContextualAdsTest.java51 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsSuccess()
57 assertThat(contextualAds.getBuyer()).isEqualTo(SignedContextualAdsFixture.BUYER); in testBuildContextualAdsSuccess()
143 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetDecisionLogicUriFailure()
155 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetAdWithBidFailure()
167 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetSignatureFailure()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/devapi/
DCustomAudienceDevOverridesHelperTest.java43 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("buyer"); field in CustomAudienceDevOverridesHelperTest
69 .setBuyer(BUYER) in testGetOverridesFindsMatchingOverride()
86 assertThat(helper.getBiddingLogicOverride(APP_PACKAGE_NAME, BUYER, NAME)) in testGetOverridesFindsMatchingOverride()
93 assertThat(helper.getTrustedBiddingSignalsOverride(APP_PACKAGE_NAME, BUYER, NAME)) in testGetOverridesFindsMatchingOverride()
102 .setBuyer(BUYER) in testGetOverridesFindsMatchingOverride_nullJsVersion()
118 assertThat(helper.getBiddingLogicOverride(APP_PACKAGE_NAME, BUYER, NAME)) in testGetOverridesFindsMatchingOverride_nullJsVersion()
120 assertThat(helper.getTrustedBiddingSignalsOverride(APP_PACKAGE_NAME, BUYER, NAME)) in testGetOverridesFindsMatchingOverride_nullJsVersion()
129 .setBuyer(BUYER) in testGetOverridesReturnsNullIfDevOptionsAreDisabled()
141 assertThat(helper.getBiddingLogicOverride(APP_PACKAGE_NAME, BUYER, NAME)).isNull(); in testGetOverridesReturnsNullIfDevOptionsAreDisabled()
142 assertThat(helper.getTrustedBiddingSignalsOverride(APP_PACKAGE_NAME, BUYER, NAME)).isNull(); in testGetOverridesReturnsNullIfDevOptionsAreDisabled()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DDBScheduledCustomAudienceUpdateTest.java35 private static final AdTechIdentifier BUYER = CommonFixture.VALID_BUYER_1; field in DBScheduledCustomAudienceUpdateTest
36 private static final Uri UPDATE_URI = CommonFixture.getUri(BUYER, "/updateUri");
47 .setBuyer(BUYER) in testBuildDBScheduledCustomAudienceUpdate_BuilderSuccess()
62 .isEqualTo(BUYER); in testBuildDBScheduledCustomAudienceUpdate_BuilderSuccess()
83 BUYER, in testBuildDBScheduledCustomAudienceUpdate_CreateSuccess()
96 .isEqualTo(BUYER); in testBuildDBScheduledCustomAudienceUpdate_CreateSuccess()
115 .setBuyer(BUYER) in testBuildDBScheduledCustomAudienceUpdate_NullOwner_ThrowsException()
144 .setBuyer(BUYER) in testBuildDBScheduledCustomAudienceUpdate_NullUpdateUri_ThrowsException()
158 .setBuyer(BUYER) in testBuildDBScheduledCustomAudienceUpdate_NullScheduledTime_ThrowsException()
172 .setBuyer(BUYER) in testBuildDBScheduledCustomAudienceUpdate_NullCreationTime_ThrowsException()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DFetchCustomAudienceImplTest.java193 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("localhost"); field in FetchCustomAudienceImplTest
230 doReturn(BUYER) in setup()
242 doReturn(BUYER) in setup()
257 .setBuyer(BUYER) in setup()
269 .doesCustomAudienceQuarantineExist(VALID_OWNER, BUYER); in setup()
728 getFullSuccessfulJsonResponse(BUYER, /* auctionServerRequestFlagsEnabled= */ false); in testImpl_invalidFused_missingField()
756 getFullSuccessfulJsonResponse(BUYER, /* auctionServerRequestFlagsEnabled= */ true); in testImpl_invalidFused_missingFieldAuctionServerFlagsEnabled()
781 JSONObject validResponse = getFullSuccessfulJsonResponse(BUYER, false); in testImpl_invalidFused_invalidField()
806 BUYER, in testImpl_invalidFused_invalidField()
834 .setBody(getFullSuccessfulJsonResponseString(BUYER)))); in testImpl_invalidFused_exceedsSizeLimit()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/adselection/
DGetAdSelectionDataCommandTest.java50 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("example.com"); field in GetAdSelectionDataCommandTest
91 GetAdSelectionDataArgs.BUYER, in testRun_withUnknownBuyer_throwsException()
92 BUYER.toString()); in testRun_withUnknownBuyer_throwsException()
96 String.format(GetAdSelectionDataCommand.ERROR_UNKNOWN_BUYER_FORMAT, BUYER), in testRun_withUnknownBuyer_throwsException()
109 getCompressedBuyerInput(BUYER, buyerInput)))); in testRun_withAllArguments_returnsSuccess()
117 GetAdSelectionDataArgs.BUYER, in testRun_withAllArguments_returnsSuccess()
118 BUYER.toString()); in testRun_withAllArguments_returnsSuccess()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DLimitPerfTests.java50 private static final String BUYER = "performance-fledge-static-5jyy5ulagq-uc.a.run.app"; field in LimitPerfTests
162 int minUrlSize = URL_PREFIX.length() + BUYER.length(); in createBigCustomAudience()
163 Uri trustedBiddingUri = CommonFixture.getUri(BUYER, BUYER_BIDDING_SIGNALS_URI_PATH); in createBigCustomAudience()
164 getValidTrustedBiddingUriByBuyer(AdTechIdentifier.fromString(BUYER)); in createBigCustomAudience()
171 .setDailyUpdateUri(nBitUriFromAdtech(BUYER, 400)) in createBigCustomAudience()
172 .setBiddingLogicUri(CommonFixture.getUri(BUYER, BUYER_BIDDING_LOGIC_URI_PATH)) in createBigCustomAudience()
185 .setBuyer(AdTechIdentifier.fromString(BUYER)) in createBigCustomAudience()
191 .setRenderUri(nBitUriFromAdtech(BUYER, minUrlSize)) in createBigCustomAudience()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DCustomAudienceShellCommandsE2ETest.java62 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("localhost"); field in CustomAudienceShellCommandsE2ETest
83 BUYER, in setUp()
90 BUYER, in setUp()
108 "custom-audience list --owner %s --buyer %s", OWNER, BUYER) in testRun_listCustomAudience_happyPath()
113 "custom-audience list --owner %s --buyer %s", OWNER, BUYER) in testRun_listCustomAudience_happyPath()
144 OWNER, BUYER, mShirtsCustomAudience.getName()); in testRun_viewCustomAudience_happyPath()
158 OWNER, BUYER, mShirtsCustomAudience.getName()); in testRun_refreshCustomAudiences_verifyNoCustomAudienceChanged()
DCustomAudienceCtsDebuggableTest.java45 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("buyer.example.com"); field in CustomAudienceCtsDebuggableTest
85 .setBuyer(BUYER) in testAddOverrideSucceeds()
103 .setBuyer(BUYER) in testRemoveNotExistingOverrideSucceeds()
119 .setBuyer(BUYER) in testRemoveExistingOverrideSucceeds()
132 .setBuyer(BUYER) in testRemoveExistingOverrideSucceeds()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/
DProtectedAudienceSignatureManagerTest.java60 private static final AdTechIdentifier BUYER = CommonFixture.VALID_BUYER_1; field in ProtectedAudienceSignatureManagerTest
96 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testVerifySignature_validSignature_returnTrue()
115 BUYER, SELLER, CALLER_PACKAGE_NAME, signedContextualAds); in testVerifySignature_invalidSignature_returnFalse()
127 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testMultipleKeys_success()
137 doReturn(null).when(mEnrollmentDaoMock).getEnrollmentDataForFledgeByAdTechIdentifier(BUYER); in testFetchKeys_adTechNotEnrolled_failsVerification()
141 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechNotEnrolled_failsVerification()
151 .getEnrollmentDataForFledgeByAdTechIdentifier(BUYER); in testFetchKeys_adTechEnrollmentIdNull_failsVerification()
155 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechEnrollmentIdNull_failsVerification()
167 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechHasNoKeys_failsVerification()
181 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechHasKeyWithWrongFormat_failsVerification()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/signals/
DGenerateInputForEncodingCommand.java21 import static com.android.adservices.service.shell.signals.GenerateInputForEncodingArgs.BUYER;
57 + BUYER
87 if (!cliArgs.containsKey(BUYER) || cliArgs.get(BUYER) == null) { in run()
92 AdTechIdentifier.fromString(Objects.requireNonNull(cliArgs.get(BUYER))); in run()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/customaudience/
DRemoveCustomAudienceOverrideRequestTest.java28 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("buyer"); field in RemoveCustomAudienceOverrideRequestTest
35 .setBuyer(BUYER) in testBuildAddCustomAudienceOverrideRequest()
39 expect.that(request.getBuyer()).isEqualTo(BUYER); in testBuildAddCustomAudienceOverrideRequest()
DAddCustomAudienceOverrideRequestTest.java29 private static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("buyer"); field in AddCustomAudienceOverrideRequestTest
39 .setBuyer(BUYER) in testBuildAddCustomAudienceOverrideRequest()
45 expect.withMessage("buyer").that(request.getBuyer()).isEqualTo(BUYER); in testBuildAddCustomAudienceOverrideRequest()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/signals/
DGenerateInputForEncodingCommandTest.java58 private static final AdTechIdentifier BUYER = CommonFixture.VALID_BUYER_1; field in GenerateInputForEncodingCommandTest
97 when(mSignalsProvider.getSignals(BUYER)).thenReturn(Map.of(VALID_SIGNAL_KEY, signals)); in testRun_happyPath_returnsSuccess()
99 Result actualResult = runCommandAndGetResult(BUYER); in testRun_happyPath_returnsSuccess()
128 when(mSignalsProvider.getSignals(BUYER)).thenReturn(Map.of()); in testRun_withEmptyDb_returnsEmpty()
130 Result actualResult = runCommandAndGetResult(BUYER); in testRun_withEmptyDb_returnsEmpty()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DSignedContextualAdsTest.java45 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsSuccess()
51 expect.that(contextualAds.getBuyer()).isEqualTo(SignedContextualAdsFixture.BUYER); in testBuildContextualAdsSuccess()
137 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetDecisionLogicUriFailure()
149 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetAdWithBidFailure()
161 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetSignatureFailure()

123