/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceUpdatableDataFixture.java | 68 String userBiddingSignals, DBTrustedBiddingData trustedBiddingData, List<DBAdData> ads) in toJsonResponseStringWithHarmlessJunk() argument 70 return toJsonResponseString(userBiddingSignals, trustedBiddingData, ads, true); in toJsonResponseStringWithHarmlessJunk() 144 String userBiddingSignals, DBTrustedBiddingData trustedBiddingData, List<DBAdData> ads) in toJsonResponseString() argument 146 return toJsonResponseString(userBiddingSignals, trustedBiddingData, ads, false); in toJsonResponseString() 156 String userBiddingSignals, in toJsonResponseString() argument 163 jsonResponse = addToJsonObject(jsonResponse, userBiddingSignals, shouldAddHarmlessJunk); in toJsonResponseString() 174 String userBiddingSignals, in toJsonResponseString() argument 180 userBiddingSignals, trustedBiddingData, ads, auctionServerFlags, false); in toJsonResponseString() 190 String userBiddingSignals, in toJsonResponseString() argument 198 jsonResponse = addToJsonObject(jsonResponse, userBiddingSignals, shouldAddHarmlessJunk); in toJsonResponseString() [all …]
|
D | CustomAudienceBlobFixture.java | 65 String userBiddingSignals, in asJSONObjectString() argument 77 userBiddingSignals, in asJSONObjectString() 97 String userBiddingSignals, in asJSONObject() argument 111 json = addUserBiddingSignals(json, userBiddingSignals, shouldAddHarmlessJunk); in asJSONObject() 239 JSONObject json, String userBiddingSignals, boolean shouldAddHarmlessJunk) in addUserBiddingSignals() argument 241 if (userBiddingSignals != null) { in addUserBiddingSignals() 242 JSONObject userBiddingSignalsJson = new JSONObject(userBiddingSignals); in addUserBiddingSignals()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceUserBiddingSignalsValidator.java | 66 @NonNull AdSelectionSignals userBiddingSignals, in addValidation() 68 Objects.requireNonNull(userBiddingSignals); in addValidation() 72 mJsonValidator.addValidation(userBiddingSignals.toString(), violations); in addValidation() 75 int userBiddingSignalSizeB = userBiddingSignals.getSizeInBytes(); in addValidation()
|
D | CustomAudienceFieldSizeValidator.java | 185 private int getUserBiddingSignalsSize(AdSelectionSignals userBiddingSignals) { in getUserBiddingSignalsSize() argument 186 if (userBiddingSignals == null) { in getUserBiddingSignalsSize() 189 return userBiddingSignals.toString().getBytes(StandardCharsets.UTF_8).length; in getUserBiddingSignalsSize()
|
D | CustomAudienceUpdatableData.java | 240 AdSelectionSignals userBiddingSignals = reader.getUserBiddingSignalsFromJsonObject(); in readUserBiddingSignals() local 241 dataBuilder.setUserBiddingSignals(userBiddingSignals); in readUserBiddingSignals() 243 if (userBiddingSignals == null) { in readUserBiddingSignals()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | CustomAudienceSignals.java | 71 @NonNull AdSelectionSignals userBiddingSignals) { in CustomAudienceSignals() argument 77 Objects.requireNonNull(userBiddingSignals); in CustomAudienceSignals() 84 mUserBiddingSignals = userBiddingSignals; in CustomAudienceSignals() 250 AdSelectionSignals userBiddingSignals) { in setUserBiddingSignals() argument 251 Objects.requireNonNull(userBiddingSignals); in setUserBiddingSignals() 252 mUserBiddingSignals = userBiddingSignals; in setUserBiddingSignals()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/ |
D | DBPartialCustomAudience.java | 109 @Nullable AdSelectionSignals userBiddingSignals) { in create() argument 115 .setUserBiddingSignals(userBiddingSignals) in create() 141 @Nullable AdSelectionSignals userBiddingSignals); in setUserBiddingSignals()
|
D | DBCustomAudience.java | 123 @Nullable AdSelectionSignals userBiddingSignals, in DBCustomAudience() argument 146 mUserBiddingSignals = userBiddingSignals; in DBCustomAudience() 548 public Builder setUserBiddingSignals(AdSelectionSignals userBiddingSignals) { in setUserBiddingSignals() argument 549 mUserBiddingSignals = userBiddingSignals; in setUserBiddingSignals()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/customaudience/ |
D | FetchAndJoinCustomAudienceRequest.java | 218 public Builder setUserBiddingSignals(@Nullable AdSelectionSignals userBiddingSignals) { in setUserBiddingSignals() argument 219 this.mUserBiddingSignals = userBiddingSignals; in setUserBiddingSignals()
|
D | PartialCustomAudience.java | 249 @Nullable AdSelectionSignals userBiddingSignals) { in setUserBiddingSignals() 250 this.mUserBiddingSignals = userBiddingSignals; in setUserBiddingSignals()
|
D | FetchAndJoinCustomAudienceInput.java | 311 public Builder setUserBiddingSignals(@Nullable AdSelectionSignals userBiddingSignals) { in setUserBiddingSignals() argument 312 this.mUserBiddingSignals = userBiddingSignals; in setUserBiddingSignals()
|
D | CustomAudience.java | 501 @Nullable AdSelectionSignals userBiddingSignals) { in setUserBiddingSignals() 502 mUserBiddingSignals = userBiddingSignals; in setUserBiddingSignals()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | CompressedBuyerInputCreatorHelperTest.java | 222 String userBiddingSignals = in testGetUserBiddingSignals_NullUserBiddingSignals() local 225 expect.that(userBiddingSignals).isEqualTo(EMPTY_USER_BIDDING_SIGNALS); in testGetUserBiddingSignals_NullUserBiddingSignals()
|