Searched refs:EventUrlHelper (Results 1 – 6 of 6) sorted by relevance
35 Uri uri = EventUrlHelper.getEncryptedOdpEventUrl(TEST_EVENT_URL_PAYLOAD); in testEncryptDecryptEvent()36 assertEquals(uri.getScheme(), EventUrlHelper.URI_SCHEME); in testEncryptDecryptEvent()37 assertEquals(uri.getAuthority(), EventUrlHelper.URI_AUTHORITY); in testEncryptDecryptEvent()41 EventUrlHelper.getEventFromOdpEventUrl(uri.toString()); in testEncryptDecryptEvent()50 Uri uri = EventUrlHelper.getEncryptedClickTrackingUrl(TEST_EVENT_URL_PAYLOAD, in testEncryptDecryptClickTrackingUrlEvent()52 assertEquals(uri.getScheme(), EventUrlHelper.URI_SCHEME); in testEncryptDecryptClickTrackingUrlEvent()53 assertEquals(uri.getAuthority(), EventUrlHelper.URI_AUTHORITY); in testEncryptDecryptClickTrackingUrlEvent()56 assertEquals(uri.getQueryParameter(EventUrlHelper.URL_LANDING_PAGE_EVENT_KEY), landingPage); in testEncryptDecryptClickTrackingUrlEvent()59 EventUrlHelper.getEventFromOdpEventUrl(uri.toString()); in testEncryptDecryptClickTrackingUrlEvent()68 () -> EventUrlHelper.getEventFromOdpEventUrl("https://google.com/")); in testInvalidUrl()
35 import com.android.ondevicepersonalization.services.data.events.EventUrlHelper;118 if (!EventUrlHelper.isOdpUrl(request.getUrl().toString())) { in shouldInterceptRequest()153 if (!EventUrlHelper.isOdpUrl(request.getUrl().toString())) { in shouldOverrideUrlLoading()168 EventUrlHelper.URL_LANDING_PAGE_EVENT_KEY); in shouldOverrideUrlLoading()186 if (!EventUrlHelper.isOdpUrl(url)) { in getPayLoadFromRequest()190 return EventUrlHelper.getEventFromOdpEventUrl(url); in getPayLoadFromRequest()
57 import com.android.ondevicepersonalization.services.data.events.EventUrlHelper;182 String odpUrl = EventUrlHelper.getEncryptedOdpEventUrl(mTestEventPayload).toString(); in testValidUrlOverride()197 String odpUrl = EventUrlHelper.getEncryptedOdpEventUrl(mTestEventPayload).toString(); in testValidUrlWithNoContentIntercept()214 String odpUrl = EventUrlHelper.getEncryptedOdpEventUrl(new EventUrlPayload( in testValidUrlWithResponseDataIntercept()234 String odpUrl = EventUrlHelper.getEncryptedClickTrackingUrl( in testValidUrlWithRedirect()252 String odpUrl = EventUrlHelper.getEncryptedOdpEventUrl(mTestEventPayload).toString(); in testValidUrlWithEventMetrics()
27 public class EventUrlHelper { class35 private EventUrlHelper() { in EventUrlHelper() method in EventUrlHelper
42 import com.android.ondevicepersonalization.services.data.events.EventUrlHelper;382 eventUrl = EventUrlHelper.getEncryptedOdpEventUrl(payload); in getEventUrl()384 eventUrl = EventUrlHelper.getEncryptedClickTrackingUrl( in getEventUrl()
53 import com.android.ondevicepersonalization.services.data.events.EventUrlHelper;313 EventUrlPayload payload = EventUrlHelper.getEventFromOdpEventUrl(eventUrl); in testGetEventUrl()337 EventUrlPayload payload = EventUrlHelper.getEventFromOdpEventUrl(eventUrl); in testGetClickUrl()344 assertEquals(uri.getQueryParameter(EventUrlHelper.URL_LANDING_PAGE_EVENT_KEY), in testGetClickUrl()