Home
last modified time | relevance | path

Searched refs:logRecord (Results 1 – 8 of 8) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DDataClassesTest.java192 RequestLogRecord logRecord = new RequestLogRecord.Builder().setRows(rows) in testRequestLogRecord() local
194 assertEquals(2, logRecord.getRows().size()); in testRequestLogRecord()
195 assertEquals(5, logRecord.getRows().get(0).getAsInteger("a").intValue()); in testRequestLogRecord()
196 assertEquals(6, logRecord.getRows().get(1).getAsInteger("b").intValue()); in testRequestLogRecord()
197 assertEquals(1, logRecord.getRequestId()); in testRequestLogRecord()
198 assertEquals(Instant.ofEpochMilli(0), logRecord.getTime()); in testRequestLogRecord()
206 EventLogRecord logRecord = new EventLogRecord.Builder() in testEventLogRecord() local
212 assertEquals(1, logRecord.getType()); in testEventLogRecord()
213 assertEquals(2, logRecord.getRowIndex()); in testEventLogRecord()
214 assertEquals(5, logRecord.getData().getAsInteger("a").intValue()); in testEventLogRecord()
[all …]
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DOnDevicePersonalizationFrameworkClassesTest.java227 RequestLogRecord logRecord = new RequestLogRecord.Builder().setRows(rows) in testRequestLogRecord() local
229 assertEquals(2, logRecord.getRows().size()); in testRequestLogRecord()
230 assertEquals(5, logRecord.getRows().get(0).getAsInteger("a").intValue()); in testRequestLogRecord()
231 assertEquals(6, logRecord.getRows().get(1).getAsInteger("b").intValue()); in testRequestLogRecord()
232 assertEquals(1, logRecord.getRequestId()); in testRequestLogRecord()
240 EventLogRecord logRecord = new EventLogRecord.Builder() in testEventLogRecord() local
246 assertEquals(1, logRecord.getType()); in testEventLogRecord()
247 assertEquals(2, logRecord.getRowIndex()); in testEventLogRecord()
248 assertEquals(5, logRecord.getData().getAsInteger("a").intValue()); in testEventLogRecord()
249 assertEquals(5, logRecord.getRequestLogRecord().getRows() in testEventLogRecord()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/
DDisplayHelper.java118 @NonNull String html, @Nullable RequestLogRecord logRecord, in displayHtml() argument
125 createWebView(html, logRecord, queryId, service, in displayHtml()
135 @NonNull String html, @Nullable RequestLogRecord logRecord, long queryId, in createWebView() argument
148 new OdpWebViewClient(mContext, service, queryId, logRecord)); in createWebView()
DOdpWebViewClient.java72 RequestLogRecord logRecord) { in OdpWebViewClient() argument
73 this(context, service, queryId, logRecord, new Injector()); in OdpWebViewClient()
78 RequestLogRecord logRecord, Injector injector) { in OdpWebViewClient() argument
82 mLogRecord = logRecord; in OdpWebViewClient()
DWebViewFlow.java86 RequestLogRecord logRecord, FutureCallback<EventOutputParcel> callback, in WebViewFlow() argument
91 mLogRecord = logRecord; in WebViewFlow()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/display/
DOdpWebViewClientTests.java313 RequestLogRecord logRecord = in getWebViewClient() local
315 return getWebViewClient(QUERY_ID, logRecord); in getWebViewClient()
318 private WebViewClient getWebViewClient(long queryId, RequestLogRecord logRecord) { in getWebViewClient() argument
321 queryId, logRecord, new TestInjector()); in getWebViewClient()
DDisplayHelperTest.java120 RequestLogRecord logRecord = new RequestLogRecord.Builder().build(); in testDisplayHtml() local
125 displayHelper.displayHtml("html", logRecord, 0, in testDisplayHtml()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/request/
DRenderFlow.java239 RequestLogRecord logRecord = mSlotWrapper.getLogRecord(); in getServiceFlowResultFuture() local
255 logRecord, in getServiceFlowResultFuture()