Searched refs:eventReportWindows (Results 1 – 5 of 5) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | SourceTest.java | 1976 List<Pair<Long, Long>> eventReportWindows = in parseEventReportWindows() local 1978 assertNotNull(eventReportWindows); in parseEventReportWindows() 1979 assertEquals(2, eventReportWindows.size()); in parseEventReportWindows() 1980 assertEquals(new Pair<>(0L, 3600L), eventReportWindows.get(0)); in parseEventReportWindows() 1981 assertEquals(new Pair<>(3600L, 86400L), eventReportWindows.get(1)); in parseEventReportWindows() 1984 eventReportWindows = in parseEventReportWindows() 1987 assertNotNull(eventReportWindows); in parseEventReportWindows() 1988 assertEquals(eventReportWindows.size(), 3); in parseEventReportWindows() 1989 assertEquals(new Pair<>(2000L, 3600L), eventReportWindows.get(0)); in parseEventReportWindows() 1990 assertEquals(new Pair<>(3600L, 86400L), eventReportWindows.get(1)); in parseEventReportWindows() [all …]
|
D | E2ETest.java | 1069 private static Set<Long> getFlexEndTimes(JSONObject eventReportWindows) throws JSONException { in getFlexEndTimes() argument 1071 JSONArray endTimesArray = eventReportWindows.getJSONArray("end_times"); in getFlexEndTimes()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | Source.java | 161 @Nullable JSONObject eventReportWindows, in getOrDefaultEventReportWindowsForFlex() 165 if (eventReportWindows == null) { in getOrDefaultEventReportWindowsForFlex() 168 return parseEventReportWindows(eventReportWindows); in getOrDefaultEventReportWindowsForFlex() 174 @NonNull String eventReportWindows) { in parseEventReportWindows() 176 JSONObject jsonObject = new JSONObject(eventReportWindows); in parseEventReportWindows() 1503 public Builder setEventReportWindows(String eventReportWindows) { in setEventReportWindows() argument 1504 mBuilding.mEventReportWindows = eventReportWindows; in setEventReportWindows()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | AsyncSourceFetcher.java | 386 JSONObject eventReportWindows = null; in parseCommonSourceParams() local 418 eventReportWindows = maybeEventReportWindows.get(); in parseCommonSourceParams() 419 builder.setEventReportWindows(eventReportWindows.toString()); in parseCommonSourceParams() 457 eventReportWindows, in parseCommonSourceParams() 563 JSONObject eventReportWindows, in getValidTriggerSpecs() argument 570 eventReportWindows, sourceType, TimeUnit.SECONDS.toMillis(expiry), mFlags); in getValidTriggerSpecs()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncSourceFetcherTest.java | 8771 String eventReportWindows = in fetchSource_flexLiteApi_topLevelWindowsOverLimit() local 8795 + eventReportWindows in fetchSource_flexLiteApi_topLevelWindowsOverLimit() 8812 String eventReportWindows = in fetchSource_flexLiteApi_topLevelWindowsNotNumeric_fail() local 8836 + eventReportWindows in fetchSource_flexLiteApi_topLevelWindowsNotNumeric_fail() 8856 String eventReportWindows = "{\"start_time\":1,\"end_times\":" in fetchSource_flexLiteApi_windowsOutOfBounds_clampsFirstAndLast() local 8877 + eventReportWindows in fetchSource_flexLiteApi_windowsOutOfBounds_clampsFirstAndLast() 8909 String eventReportWindows = "{\"start_time\":1,\"end_times\":[3599]}"; in fetchSource_flexLiteApi_singleWindowEndTooLow_clampsUp() local 8929 + eventReportWindows in fetchSource_flexLiteApi_singleWindowEndTooLow_clampsUp() 8956 String eventReportWindows = "{\"start_time\": 1,\"end_times\": [3600, 8640]}"; in fetchSource_flexLiteApi_eventReportWindowWithEventReportWindows_fail() local 8977 + eventReportWindows in fetchSource_flexLiteApi_eventReportWindowWithEventReportWindows_fail() [all …]
|