Home
last modified time | relevance | path

Searched refs:getAdRenderId (Results 1 – 23 of 23) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/
DDBAdData.java97 public String getAdRenderId() { in getAdRenderId() method in DBAdData
110 && Objects.equals(mAdRenderId, adData.getAdRenderId()); in equals()
151 setAdRenderId(copyFrom.getAdRenderId()); in Builder()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DDBAdDataTest.java60 SAMPLE_AD_DATA.getAdRenderId()); in testConstructor()
77 assertNull(dbAdData.getAdRenderId()); in testConstructorNullsSucceed()
180 assertNull(dbAdData.getAdRenderId()); in testFromServiceObjectAdRenderIdDisabled()
190 size[0] += SAMPLE_AD_DATA.getAdRenderId().getBytes(StandardCharsets.UTF_8).length; in testSize()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DAdDataConversionStrategyFactory.java254 if (adData.getAdRenderId() != null) { in toJson()
255 toReturn.put(AD_RENDER_ID_FIELD_NAME, adData.getAdRenderId()); in toJson()
269 sLogger.v("Setting ad render id " + parcelable.getAdRenderId()); in fromServiceObject()
270 adDataBuilder.setAdRenderId(parcelable.getAdRenderId()); in fromServiceObject()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DCompressedBuyerInputCreatorNoOptimizationsTest.java245 ad.getAdRenderId() != null in assertCAsEqual()
246 && !ad.getAdRenderId().isEmpty()) in assertCAsEqual()
247 .map(ad -> ad.getAdRenderId()) in assertCAsEqual()
DBuyerInputGeneratorTest.java966 ad.getAdRenderId() != null in assertEqual()
967 && !ad.getAdRenderId().isEmpty()) in assertEqual()
968 .map(ad -> ad.getAdRenderId()) in assertEqual()
978 .filter(ad -> ad.getAdRenderId() != null && !ad.getAdRenderId().isEmpty()) in assertAdsEqual()
979 .map(ad -> ad.getAdRenderId()) in assertAdsEqual()
1064 .filter(ad -> !Strings.isNullOrEmpty(ad.getAdRenderId())) in getAdRenderIds()
1065 .map(ad -> ad.getAdRenderId()) in getAdRenderIds()
DAuctionServerPayloadMetricsStrategyEnabledTest.java207 .filter(ad -> !Strings.isNullOrEmpty(ad.getAdRenderId())) in getAdRenderIds()
208 .map(ad -> ad.getAdRenderId()) in getAdRenderIds()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DCompressedBuyerInputCreatorHelper.java100 .filter(ad -> !Strings.isNullOrEmpty(ad.getAdRenderId())) in getAdRenderIds()
101 .map(ad -> ad.getAdRenderId()) in getAdRenderIds()
DAuctionServerCustomAudienceFilterer.java60 .allMatch(ad -> Strings.isNullOrEmpty(ad.getAdRenderId()))) { in isValidCustomAudienceForServerSideAuction()
DBuyerInputGenerator.java373 .filter(ad -> !Strings.isNullOrEmpty(ad.getAdRenderId()))
374 .map(ad -> ad.getAdRenderId())
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/
DSignedContextualAdsHashUtil.java126 if (!Objects.isNull(adData.getAdRenderId())) { in writeAdData()
128 writeField(adData.getAdRenderId(), this::writeString); in writeAdData()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdDataTest.java61 assertThat(validAdData.getAdRenderId()).isEqualTo(AdDataFixture.VALID_RENDER_ID); in testBuildValidAdDataSuccess()
97 assertThat(fromParcel.getAdRenderId()).isNull(); in testParcelValidAdDataWithUnsetRenderIdSuccess()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/
DCustomAudienceUpdatableDataFixture.java308 if (ad.getAdRenderId() != null) { in addToJsonObject()
309 adJson.put(AD_RENDER_ID_KEY, ad.getAdRenderId()); in addToJsonObject()
DCustomAudienceBlobFixture.java316 if (ad.getAdRenderId() != null) { in addAds()
317 adJson.put(AD_RENDER_ID_KEY, ad.getAdRenderId()); in addAds()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAdDataValidator.java76 mAdRenderIdValidator.addValidation(adData.getAdRenderId(), adDataViolations); in addValidation()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/common/
DDBAdDataFixture.java95 adData.getAdRenderId()); in convertAdDataToDBAdData()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceBlob.java751 if (ad.getAdRenderId() != null) {
752 adJson.put(AD_RENDER_ID_KEY, ad.getAdRenderId());
846 .setAdRenderId(dbAdData.getAdRenderId())
DFetchCustomAudienceImpl.java488 .setAdRenderId(ad.getAdRenderId())
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdData.java167 public String getAdRenderId() { in getAdRenderId() method in AdData
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/
DCustomAudienceHelperTest.java251 .put(CustomAudienceHelper.AD_AD_RENDER_ID, adData.getAdRenderId()) in getFakeAdsJson()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/customaudience/
DCustomAudienceHelper.java148 .put(AD_AD_RENDER_ID, adData.getAdRenderId()) in getJsonFromAd()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DAdSelectionDataE2ETest.java494 return ca.getAds().get(0).getAdRenderId(); in getWinningAdRenderIdForDummyScripts()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DFetchCustomAudienceImplTest.java1213 assertTrue(dbCustomAudience.getAds().stream().allMatch(ad -> ad.getAdRenderId() == null)); in testImpl_runNormally_withAdRenderId_AdRenderIdFlagDisabled()
/packages/modules/AdServices/adservices/framework/api/
Dcurrent.txt325 method @Nullable public String getAdRenderId();