Home
last modified time | relevance | path

Searched refs:MAX_UNSIGNED_8_BIT (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DDataVersionFetcher.java42 @VisibleForTesting static final int MAX_UNSIGNED_8_BIT = 255; field in DataVersionFetcher
76 if (dataVersion < 0 || dataVersion > MAX_UNSIGNED_8_BIT) { in getBuyerDataVersion()
105 if (dataVersion < 0 || dataVersion > MAX_UNSIGNED_8_BIT) { in getSellerDataVersion()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DDataVersionFetcherTest.java24 import static com.android.adservices.service.adselection.DataVersionFetcher.MAX_UNSIGNED_8_BIT;
232 List.of(MAX_UNSIGNED_8_BIT + 1)))) in testGetBuyerDataVersionHeaderThrowsExceptionWhenDataVersionExceedsMax()
247 List.of(Integer.toString(MAX_UNSIGNED_8_BIT + 1))); in testGetSellerDataVersionHeaderThrowsExceptionWhenDataVersionExceedsMax()