Home
last modified time | relevance | path

Searched refs:TRIGGER_URI (Results 1 – 13 of 13) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncTriggerFetcherTest.java121 private static final String TRIGGER_URI = WebUtil.validUrl("https://subdomain.foo.test"); field in AsyncTriggerFetcherTest
285 RegistrationRequest request = buildRequest(TRIGGER_URI); in testBasicTriggerRequest()
302 doReturn(mUrlConnection).when(mFetcher).openUrl(new URL(TRIGGER_URI)); in testBasicTriggerRequest()
326 assertEquals(TRIGGER_URI, result.getRegistrationOrigin().toString()); in testBasicTriggerRequest()
338 RegistrationRequest request = buildRequest(TRIGGER_URI); in testBasicTriggerRequest_withAggregateDeduplicationKey()
376 doReturn(mUrlConnection).when(mFetcher).openUrl(new URL(TRIGGER_URI)); in testBasicTriggerRequest_withAggregateDeduplicationKey()
410 assertEquals(TRIGGER_URI, result.getRegistrationOrigin().toString()); in testBasicTriggerRequest_withAggregateDeduplicationKey()
423 RegistrationRequest request = buildRequest(TRIGGER_URI); in triggerRequest_aggregateDeduplicationKey_dedupKeyNotAString_fails()
439 doReturn(mUrlConnection).when(mFetcher).openUrl(new URL(TRIGGER_URI)); in triggerRequest_aggregateDeduplicationKey_dedupKeyNotAString_fails()
471 RegistrationRequest request = buildRequest(TRIGGER_URI); in triggerRequest_aggregateDeduplicationKey_dedupKeyNegative_fails()
[all …]
DAsyncRegistrationQueueJobServiceTest.java427 AsyncRegistrationContentProvider.TRIGGER_URI, in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule()
469 AsyncRegistrationContentProvider.TRIGGER_URI, in scheduleIfNeeded_diffJobInfo_doesSchedule()
DEnqueueAsyncRegistrationTest.java19 …t static com.android.adservices.service.measurement.attribution.TriggerContentProvider.TRIGGER_URI;
152 when(mContentResolver.acquireContentProviderClient(TRIGGER_URI)) in before()
154 when(mMockContentProviderClient.insert(any(), any())).thenReturn(TRIGGER_URI); in before()
DAsyncRegistrationQueueRunnerTest.java20 …t static com.android.adservices.service.measurement.attribution.TriggerContentProvider.TRIGGER_URI;
255 when(mContentResolver.acquireContentProviderClient(TRIGGER_URI)) in before()
257 when(mMockContentProviderClient.insert(any(), any())).thenReturn(TRIGGER_URI); in before()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationContentProvider.java32 public static final Uri TRIGGER_URI = Uri.parse("content://" + AUTHORITY); field in AsyncRegistrationContentProvider
64 getContext().getContentResolver().notifyChange(TRIGGER_URI, null); in insert()
65 return TRIGGER_URI; in insert()
DEnqueueAsyncRegistration.java268 AsyncRegistrationContentProvider.TRIGGER_URI)) {
270 contentProviderClient.insert(AsyncRegistrationContentProvider.TRIGGER_URI, null);
DAsyncRegistrationQueueJobService.java161 AsyncRegistrationContentProvider.TRIGGER_URI, in buildJobInfo()
DAsyncRegistrationQueueRunner.java1003 mContentResolver.acquireContentProviderClient(TriggerContentProvider.TRIGGER_URI)) { in notifyTriggerContentProvider()
1005 contentProviderClient.insert(TriggerContentProvider.TRIGGER_URI, null); in notifyTriggerContentProvider()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DTriggerContentProvider.java35 public static final Uri TRIGGER_URI = Uri.parse("content://" + AUTHORITY); field in TriggerContentProvider
64 getContext().getContentResolver().notifyChange(TRIGGER_URI, null); in insert()
65 return TRIGGER_URI; in insert()
DAttributionJobService.java182 TriggerContentProvider.TRIGGER_URI, in buildJobInfo()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2EMockTest.java222 when(mMockContentResolver.acquireContentProviderClient(TriggerContentProvider.TRIGGER_URI)) in E2EMockTest()
225 AsyncRegistrationContentProvider.TRIGGER_URI)) in E2EMockTest()
227 when(mMockContentProviderClient.insert(eq(TriggerContentProvider.TRIGGER_URI), any())) in E2EMockTest()
228 .thenReturn(TriggerContentProvider.TRIGGER_URI); in E2EMockTest()
230 eq(AsyncRegistrationContentProvider.TRIGGER_URI), any())) in E2EMockTest()
231 .thenReturn(AsyncRegistrationContentProvider.TRIGGER_URI); in E2EMockTest()
DMeasurementImplTest.java215 when(mContentResolver.acquireContentProviderClient(TriggerContentProvider.TRIGGER_URI)) in before()
218 AsyncRegistrationContentProvider.TRIGGER_URI)) in before()
220 when(mMockContentProviderClient.insert(eq(TriggerContentProvider.TRIGGER_URI), any())) in before()
221 .thenReturn(TriggerContentProvider.TRIGGER_URI); in before()
223 eq(AsyncRegistrationContentProvider.TRIGGER_URI), any())) in before()
224 .thenReturn(AsyncRegistrationContentProvider.TRIGGER_URI); in before()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobServiceTest.java462 TriggerContentProvider.TRIGGER_URI, in scheduleIfNeeded_sameJobInfoDontForceSchedule_dontSchedule()
502 TriggerContentProvider.TRIGGER_URI, in scheduleIfNeeded_diffJobInfoDontForceSchedule_doesSchedule()