Home
last modified time | relevance | path

Searched refs:EventUrlPayload (Results 1 – 11 of 11) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventUrlHelper.java38 private static String encryptEvent(EventUrlPayload event) throws Exception { in encryptEvent()
42 private static EventUrlPayload decryptEvent(String base64Event) throws Exception { in decryptEvent()
43 return (EventUrlPayload) CryptUtils.decrypt(base64Event); in decryptEvent()
52 public static Uri getEncryptedOdpEventUrl(@NonNull EventUrlPayload event) throws Exception { in getEncryptedOdpEventUrl()
64 public static Uri getEncryptedClickTrackingUrl(@NonNull EventUrlPayload event, in getEncryptedClickTrackingUrl()
77 public static EventUrlPayload getEventFromOdpEventUrl(@NonNull String url) throws Exception { in getEventFromOdpEventUrl()
DEventUrlPayload.java30 public class EventUrlPayload implements Serializable { class
35 public EventUrlPayload( in EventUrlPayload() method in EventUrlPayload
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DEventUrlHelperTest.java31 private static final EventUrlPayload TEST_EVENT_URL_PAYLOAD = createTestEventUrlPayload();
40 EventUrlPayload decryptedEventUrlPayload = in testEncryptDecryptEvent()
58 EventUrlPayload decryptedEventUrlPayload = in testEncryptDecryptClickTrackingUrlEvent()
71 private static EventUrlPayload createTestEventUrlPayload() { in createTestEventUrlPayload()
75 return new EventUrlPayload(params, null, null); in createTestEventUrlPayload()
DEventUrlPayloadTest.java35 EventUrlPayload payload = new EventUrlPayload( in testPayload()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/
DOdpWebViewClient.java36 import com.android.ondevicepersonalization.services.data.events.EventUrlPayload;
122 EventUrlPayload payload = getPayLoadFromRequest(webView, request); in shouldInterceptRequest()
157 EventUrlPayload payload = getPayLoadFromRequest(webView, request); in shouldOverrideUrlLoading()
178 private EventUrlPayload getPayLoadFromRequest( in getPayLoadFromRequest()
DWebViewFlow.java41 import com.android.ondevicepersonalization.services.data.events.EventUrlPayload;
81 private final EventUrlPayload mPayload;
87 EventUrlPayload payLoad) { in WebViewFlow()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/serviceflow/
DWebViewFlowTest.java38 import com.android.ondevicepersonalization.services.data.events.EventUrlPayload;
63 private EventUrlPayload mTestEventPayload;
111 new EventUrlPayload(createEventParameters(), null, null); in testValidPayload()
128 new EventUrlPayload(createEventParameters(), null, null); in testDedupMultiplePayloads()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/serviceflow/
DServiceFlowFactory.java30 import com.android.ondevicepersonalization.services.data.events.EventUrlPayload;
60 (EventUrlPayload) args[5]); in createInstance()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/display/
DOdpWebViewClientTests.java58 import com.android.ondevicepersonalization.services.data.events.EventUrlPayload;
92 private EventUrlPayload mTestEventPayload;
168 mTestEventPayload = new EventUrlPayload( in setup()
214 String odpUrl = EventUrlHelper.getEncryptedOdpEventUrl(new EventUrlPayload( in testValidUrlWithResponseDataIntercept()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/
DDataAccessServiceImpl.java43 import com.android.ondevicepersonalization.services.data.events.EventUrlPayload;
379 EventUrlPayload payload = new EventUrlPayload(eventParams, responseData, mimeType); in getEventUrl()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/
DDataAccessServiceImplTest.java54 import com.android.ondevicepersonalization.services.data.events.EventUrlPayload;
96 private EventUrlPayload mEventUrlPayload;
313 EventUrlPayload payload = EventUrlHelper.getEventFromOdpEventUrl(eventUrl); in testGetEventUrl()
337 EventUrlPayload payload = EventUrlHelper.getEventFromOdpEventUrl(eventUrl); in testGetClickUrl()