Searched refs:updatableData (Results 1 – 9 of 9) sorted by relevance
270 CustomAudienceUpdatableData updatableData = in testUpdateCustomAudienceWithEmptyUpdate() local272 doReturn(FluentFuture.from(immediateFuture(updatableData))) in testUpdateCustomAudienceWithEmptyUpdate()300 eq(expectedFetchData), eq(updatableData)); in testUpdateCustomAudienceWithEmptyUpdate()307 CustomAudienceUpdatableData updatableData = in testUpdateCustomAudienceWithFailedUpdate() local310 doReturn(FluentFuture.from(immediateFuture(updatableData))) in testUpdateCustomAudienceWithFailedUpdate()351 CustomAudienceUpdatableData updatableData = in testFetchAndValidateSuccessfulEmptyCustomAudienceUpdatableData() local360 assertEquals(expectedUpdatableData, updatableData); in testFetchAndValidateSuccessfulEmptyCustomAudienceUpdatableData()379 CustomAudienceUpdatableData updatableData = in testFetchAndValidateSuccessfulFullCustomAudienceUpdatableData() local388 assertEquals(expectedUpdatableData, updatableData); in testFetchAndValidateSuccessfulFullCustomAudienceUpdatableData()442 CustomAudienceUpdatableData updatableData = in testFetchAndValidateSuccessfulFullCustomAudienceUpdatableDataWithAuctionServerRequestFlagsEnabled() local[all …]
452 CustomAudienceUpdatableData updatableData = in testUnsuccessfulInitialUpdateResultCausesUnsuccessfulUpdate() local463 updatableData.getContainsSuccessfulUpdate()); in testUnsuccessfulInitialUpdateResultCausesUnsuccessfulUpdate()469 CustomAudienceUpdatableData updatableData = in testCreateFromNonJsonResponseStringCausesUnsuccessfulUpdate() local477 assertNull(updatableData.getUserBiddingSignals()); in testCreateFromNonJsonResponseStringCausesUnsuccessfulUpdate()478 assertNull(updatableData.getTrustedBiddingData()); in testCreateFromNonJsonResponseStringCausesUnsuccessfulUpdate()479 assertNull(updatableData.getAds()); in testCreateFromNonJsonResponseStringCausesUnsuccessfulUpdate()480 assertEquals(CommonFixture.FIXED_NOW, updatableData.getAttemptedUpdateTime()); in testCreateFromNonJsonResponseStringCausesUnsuccessfulUpdate()483 updatableData.getInitialUpdateResult()); in testCreateFromNonJsonResponseStringCausesUnsuccessfulUpdate()484 assertFalse(updatableData.getContainsSuccessfulUpdate()); in testCreateFromNonJsonResponseStringCausesUnsuccessfulUpdate()
215 CustomAudienceUpdatableData updatableData = in testCopyWithFullSuccessfulUpdatableDataResetsFailureCounts() local221 originalFetchData.copyWithUpdatableData(updatableData); in testCopyWithFullSuccessfulUpdatableDataResetsFailureCounts()244 CustomAudienceUpdatableData updatableData = in testCopyWithFailedUpdatableDataUpdatesValidationFailureCount() local251 originalFetchData.copyWithUpdatableData(updatableData); in testCopyWithFailedUpdatableDataUpdatesValidationFailureCount()275 CustomAudienceUpdatableData updatableData = in testCopyWithResponseValidationFailureUpdatesValidationFailureCount() local283 originalFetchData.copyWithUpdatableData(updatableData); in testCopyWithResponseValidationFailureUpdatesValidationFailureCount()307 CustomAudienceUpdatableData updatableData = in testCopyWithNetworkConnectTimeoutFailureUpdatesTimeoutFailureCount() local315 originalFetchData.copyWithUpdatableData(updatableData); in testCopyWithNetworkConnectTimeoutFailureUpdatesTimeoutFailureCount()338 CustomAudienceUpdatableData updatableData = in testCopyWithNetworkReadTimeoutFailureUpdatesTimeoutFailureCount() local346 originalFetchData.copyWithUpdatableData(updatableData); in testCopyWithNetworkReadTimeoutFailureUpdatesTimeoutFailureCount()[all …]
381 CustomAudienceUpdatableData updatableData = in testCopyWithUnsuccessfulUpdatableDataDoesNotChange() local387 originalCustomAudience.copyWithUpdatableData(updatableData); in testCopyWithUnsuccessfulUpdatableDataDoesNotChange()410 CustomAudienceUpdatableData updatableData = in testCopyWithDebuggableWorksSuccessfully() local416 originalCustomAudience.copyWithUpdatableData(updatableData); in testCopyWithDebuggableWorksSuccessfully()438 CustomAudienceUpdatableData updatableData = in testCopyWithSuccessfulEmptyUpdatableDataOnlyUpdatesTime() local449 originalCustomAudience.copyWithUpdatableData(updatableData); in testCopyWithSuccessfulEmptyUpdatableDataOnlyUpdatesTime()477 CustomAudienceUpdatableData updatableData = in testCopyWithSuccessfulFullUpdatableDataUpdatesAll() local494 originalCustomAudience.copyWithUpdatableData(updatableData); in testCopyWithSuccessfulFullUpdatableDataUpdatesAll()
161 updatableData -> { in updateCustomAudience()167 fetchData.copyWithUpdatableData(updatableData); in updateCustomAudience()169 if (updatableData.getContainsSuccessfulUpdate()) { in updateCustomAudience()171 updatedData, updatableData); in updateCustomAudience()172 if (Objects.nonNull(updatableData.getAds())) { in updateCustomAudience()173 numOfAds = updatableData.getAds().size(); in updateCustomAudience()175 updatableData in updateCustomAudience()200 return updatableData.getInitialUpdateResult(); in updateCustomAudience()
420 CustomAudienceUpdatableData updatableData = autoValueBuild(); in build() local423 updatableData.getContainsSuccessfulUpdate() in build()424 || (updatableData.getUserBiddingSignals() == null in build()425 && updatableData.getTrustedBiddingData() == null in build()426 && updatableData.getAds() == null), in build()430 return updatableData; in build()
239 @NonNull CustomAudienceUpdatableData updatableData) { in copyWithUpdatableData()240 Objects.requireNonNull(updatableData); in copyWithUpdatableData()242 if (!updatableData.getContainsSuccessfulUpdate()) { in copyWithUpdatableData()249 updatableData.getAttemptedUpdateTime()); in copyWithUpdatableData()251 if (updatableData.getUserBiddingSignals() != null) { in copyWithUpdatableData()252 customAudienceBuilder.setUserBiddingSignals(updatableData.getUserBiddingSignals()); in copyWithUpdatableData()255 if (updatableData.getTrustedBiddingData() != null) { in copyWithUpdatableData()256 customAudienceBuilder.setTrustedBiddingData(updatableData.getTrustedBiddingData()); in copyWithUpdatableData()259 if (updatableData.getAds() != null) { in copyWithUpdatableData()260 customAudienceBuilder.setAds(updatableData.getAds()); in copyWithUpdatableData()
167 @NonNull CustomAudienceUpdatableData updatableData) { in copyWithUpdatableData()180 if (updatableData.getContainsSuccessfulUpdate()) { in copyWithUpdatableData()183 updatableData.getAttemptedUpdateTime())); in copyWithUpdatableData()188 switch (updatableData.getInitialUpdateResult()) { in copyWithUpdatableData()
162 @NonNull CustomAudienceUpdatableData updatableData) { in updateCustomAudienceAndBackgroundFetchData() argument164 Objects.requireNonNull(updatableData); in updateCustomAudienceAndBackgroundFetchData()175 customAudience = customAudience.copyWithUpdatableData(updatableData); in updateCustomAudienceAndBackgroundFetchData()