Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DDataVersionFetcher.java65 int dataVersion; in getBuyerDataVersion() local
70 dataVersion = headers.getJSONArray(DATA_VERSION_HEADER_BIDDING_KEY).getInt(0); in getBuyerDataVersion()
76 if (dataVersion < 0 || dataVersion > MAX_UNSIGNED_8_BIT) { in getBuyerDataVersion()
81 return dataVersion; in getBuyerDataVersion()
97 int dataVersion; in getSellerDataVersion() local
99 dataVersion = Integer.parseInt(headers.get(DATA_VERSION_HEADER_SCORING_KEY).get(0)); in getSellerDataVersion()
105 if (dataVersion < 0 || dataVersion > MAX_UNSIGNED_8_BIT) { in getSellerDataVersion()
106 LogUtil.v("Data version: " + dataVersion + " does not conform to 8 bit requirements."); in getSellerDataVersion()
110 return dataVersion; in getSellerDataVersion()
DAdsScoreGeneratorImpl.java356 SellerContextualSignals getContextualSignals(Integer dataVersion) {
359 if (Objects.nonNull(dataVersion)) {
360 result.setDataVersion(dataVersion);
408 Integer dataVersion = null;
410 dataVersion =
419 dataVersion);
462 AdSelectionSignals adSelectionSignals, Integer dataVersion) {
464 return new Pair<>(adSelectionSignals, dataVersion);
DBuyerContextualSignalsDataVersionImpl.java52 int dataVersion = getBuyerDataVersion(trustedBiddingData, trustedBiddingDataByBaseUri); in getContextualSignalsForGenerateBid() local
53 return BuyerContextualSignals.builder().setDataVersion(dataVersion).build(); in getContextualSignalsForGenerateBid()
DSellerContextualSignals.java43 public abstract Builder setDataVersion(@Nullable Integer dataVersion); in setDataVersion() argument
DBuyerContextualSignals.java52 public abstract Builder setDataVersion(@Nullable Integer dataVersion); in setDataVersion() argument
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DDataVersionFetcherTest.java71 int dataVersion = getBuyerDataVersion(VALID_TB_DATA, VALID_TRUSTED_BIDDING_RESPONSE_MAP); in testGetBuyerDataVersionHeaderSuccess() local
72 assertEquals(DATA_VERSION_1, dataVersion); in testGetBuyerDataVersionHeaderSuccess()
77 int dataVersion = getSellerDataVersion(VALID_HEADERS_SELLER); in testGetSellerDataVersionHeaderSuccess() local
78 assertEquals(DATA_VERSION_1, dataVersion); in testGetSellerDataVersionHeaderSuccess()
95 int dataVersion = in testGetBuyerDataVersionHeaderSuccessTakesFirstOfMultipleValues() local
97 assertEquals(DATA_VERSION_1, dataVersion); in testGetBuyerDataVersionHeaderSuccessTakesFirstOfMultipleValues()
108 int dataVersion = getSellerDataVersion(headersMultipleValues); in testGetSellerDataVersionHeaderTakesFirstOfMultipleValues() local
109 assertEquals(DATA_VERSION_1, dataVersion); in testGetSellerDataVersionHeaderTakesFirstOfMultipleValues()
/packages/modules/AdServices/adservices/tests/cts/assets/scenarios/data/
DScoringLogicWithDataVersionHeader.js21 if (contextual_signals.dataVersion === null) {
35 'reporting_uri': reporting_address + '?dataVersion=' + contextual_signals.dataVersion
DBiddingLogicV2WithDataVersionHeader.js26 if (contextual_signals.dataVersion === null) {
38 reporting_address + '?dataVersion=' + contextual_signals.dataVersion
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt285 Landroid/icu/impl/ICUResourceBundleReader;->dataVersion:I
610 Landroid/icu/impl/Normalizer2Impl;->dataVersion:Landroid/icu/util/VersionInfo;