Home
last modified time | relevance | path

Searched refs:fetchData (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DDBCustomAudienceBackgroundFetchDataTest.java50 DBCustomAudienceBackgroundFetchData fetchData = in testBuildFetchDataSuccess() local
58 assertEquals(CustomAudienceFixture.VALID_OWNER, fetchData.getOwner()); in testBuildFetchDataSuccess()
59 assertEquals(CommonFixture.VALID_BUYER_1, fetchData.getBuyer()); in testBuildFetchDataSuccess()
60 assertEquals(CustomAudienceFixture.VALID_NAME, fetchData.getName()); in testBuildFetchDataSuccess()
63 fetchData.getDailyUpdateUri()); in testBuildFetchDataSuccess()
64 assertEquals(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI, fetchData.getEligibleUpdateTime()); in testBuildFetchDataSuccess()
65 assertEquals(NUM_VALIDATION_FAILURES_POSITIVE, fetchData.getNumValidationFailures()); in testBuildFetchDataSuccess()
66 assertEquals(NUM_TIMEOUT_FAILURES_POSITIVE, fetchData.getNumTimeoutFailures()); in testBuildFetchDataSuccess()
71 DBCustomAudienceBackgroundFetchData fetchData = in testBuildFetchDataDefaultFailuresSuccess() local
82 assertEquals(CustomAudienceFixture.VALID_OWNER, fetchData.getOwner()); in testBuildFetchDataDefaultFailuresSuccess()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DCustomAudienceDao.java81 @NonNull DBCustomAudienceBackgroundFetchData fetchData); in persistCustomAudienceBackgroundFetchData()
105 @NonNull DBCustomAudienceBackgroundFetchData fetchData) { in insertOrOverwriteCustomAudienceAndBackgroundFetchData() argument
107 persistCustomAudienceBackgroundFetchData(fetchData); in insertOrOverwriteCustomAudienceAndBackgroundFetchData()
139 DBCustomAudienceBackgroundFetchData fetchData = in insertOrOverwriteCustomAudience() local
149 insertOrOverwriteCustomAudienceAndBackgroundFetchData(customAudience, fetchData); in insertOrOverwriteCustomAudience()
161 @NonNull DBCustomAudienceBackgroundFetchData fetchData, in updateCustomAudienceAndBackgroundFetchData()
163 Objects.requireNonNull(fetchData); in updateCustomAudienceAndBackgroundFetchData()
168 fetchData.getOwner(), fetchData.getBuyer(), fetchData.getName()); in updateCustomAudienceAndBackgroundFetchData()
178 persistCustomAudienceBackgroundFetchData(fetchData); in updateCustomAudienceAndBackgroundFetchData()
DDBCustomAudienceBackgroundFetchData.java279 DBCustomAudienceBackgroundFetchData fetchData = autoValueBuild(); in build() local
283 fetchData.getNumValidationFailures() >= 0 in build()
284 && fetchData.getNumTimeoutFailures() >= 0, in build()
287 return fetchData; in build()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DBackgroundFetchRunner.java146 @NonNull final DBCustomAudienceBackgroundFetchData fetchData) { in updateCustomAudience() argument
148 Objects.requireNonNull(fetchData); in updateCustomAudience()
157 fetchData.getBuyer(), in updateCustomAudience()
158 fetchData.getDailyUpdateUri(), in updateCustomAudience()
159 fetchData.getIsDebuggable()) in updateCustomAudience()
167 fetchData.copyWithUpdatableData(updatableData); in updateCustomAudience()
DBackgroundFetchWorker.java205 for (DBCustomAudienceBackgroundFetchData fetchData : fetchDataSubList) { in updateData()
210 jobStartTime, fetchData), in updateData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DBackgroundFetchWorkerTest.java251 @NonNull DBCustomAudienceBackgroundFetchData fetchData) { in testRunBackgroundFetchThrowsTimeoutDuringUpdates() argument
279 DBCustomAudienceBackgroundFetchData fetchData = in testRunBackgroundFetchThrowsTimeoutDuringUpdates()
284 List<DBCustomAudienceBackgroundFetchData> fetchDataList = Arrays.asList(fetchData); in testRunBackgroundFetchThrowsTimeoutDuringUpdates()
383 DBCustomAudienceBackgroundFetchData fetchData =
388 List<DBCustomAudienceBackgroundFetchData> fetchDataList = Arrays.asList(fetchData);
652 DBCustomAudienceBackgroundFetchData fetchData =
655 fetchDataList1.add(fetchData);
657 fetchDataList2.add(fetchData);
730 DBCustomAudienceBackgroundFetchData fetchData =
735 List<DBCustomAudienceBackgroundFetchData> fetchDataList = Arrays.asList(fetchData);