Home
last modified time | relevance | path

Searched refs:queryId (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java86 private int queryId; field in ContactInfoCache
402 final CallerInfoQueryToken queryToken = new CallerInfoQueryToken(queryId, callId); in findInfo()
403 queryId++; in findInfo()
417 cacheEntry.queryId = queryToken.queryId; in findInfo()
441 + queryToken.queryId in updateCallerInfoInCacheOnAnyThread()
467 cacheEntry.queryId = queryToken.queryId; in updateCallerInfoInCacheOnAnyThread()
557 final int queryId = myCookie.queryId; in onImageLoaded() local
558 if (!isWaitingForThisQuery(callId, queryId)) { in onImageLoaded()
606 final int queryId = myCookie.queryId; in onImageLoadComplete() local
607 if (!isWaitingForThisQuery(callId, queryId)) { in onImageLoadComplete()
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DEventTest.java37 long queryId = 1; in testBuilderAndEquals() local
45 .setQueryId(queryId) in testBuilderAndEquals()
54 assertEquals(event1.getQueryId(), queryId); in testBuilderAndEquals() local
60 eventId, queryId, rowIndex, service, EVENT_TYPE, timeMillis, eventData) in testBuilderAndEquals()
70 long queryId = 1; in testBuildTwiceThrows() local
78 .setQueryId(queryId) in testBuildTwiceThrows()
DJoinedEventTest.java34 long queryId = 1; in testBuilderAndEquals() local
45 .setQueryId(queryId) in testBuilderAndEquals()
55 assertEquals(joinedEvent1.getQueryId(), queryId); in testBuilderAndEquals() local
66 eventId, queryId, rowIndex, service, type, eventTimeMillis, eventData, in testBuilderAndEquals()
76 long queryId = 1; in testBuildTwiceThrows() local
87 .setQueryId(queryId) in testBuildTwiceThrows()
DQueryTest.java33 long queryId = 1; in testBuilder() local
43 .setQueryId(queryId) in testBuilder()
45 assertEquals(query1.getQueryId(), queryId); in testBuilder() local
55 long queryId = 1; in testBuildTwiceThrows() local
65 .setQueryId(queryId); in testBuildTwiceThrows()
DJoinedTableDaoTest.java189 long queryId = mDao.insertQuery(query); in insertEventAndQueryData() local
201 .setQueryId(queryId) in insertEventAndQueryData()
217 .setQueryId(queryId) in insertEventAndQueryData()
DEventsDaoTest.java588 long queryId) { in createExpectedJoinedEvent() argument
593 .setQueryId(queryId) in createExpectedJoinedEvent()
599 .setQueryId(queryId) in createExpectedJoinedEvent()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/
DLogUtilsTest.java74 long queryId = LogUtils.writeLogRecords( in testWriteQuery() local
92 long queryId = LogUtils.writeLogRecords( in testWriteEmptyQuery() local
113 long queryId = LogUtils.writeLogRecords( in testWriteEventForExistingQuery() local
121 .setRequestId(queryId) in testWriteEventForExistingQuery()
145 queryId = LogUtils.writeLogRecords( in testWriteEventForExistingQuery()
172 long queryId = LogUtils.writeLogRecords( in testWriteEventWithNewQuery() local
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/util/
DLogUtils.java62 long queryId = -1; in writeLogRecords() local
76 queryId = eventsDao.insertQuery(query); in writeLogRecords()
77 if (queryId == -1) { in writeLogRecords()
93 parentRequestId = queryId; in writeLogRecords()
125 return Futures.immediateFuture(queryId); in writeLogRecords()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventsDao.java317 long queryId = cursor.getLong( in readQueryRows() local
333 .setQueryId(queryId) in readQueryRows()
385 long queryId = cursor.getLong( in readJoinedTableRows() local
397 .setQueryId(queryId) in readJoinedTableRows()
522 public boolean hasEvent(long queryId, int type, int rowIndex, ComponentName service) { in hasEvent() argument
532 String.valueOf(queryId), in hasEvent()
561 public List<Long> readAllEventIdsForQuery(long queryId, ComponentName service) { in readAllEventIdsForQuery() argument
568 String[] selectionArgs = {String.valueOf(queryId), DbUtils.toTableValue(service)}; in readAllEventIdsForQuery()
598 public Query readSingleQueryRow(long queryId, ComponentName service) { in readSingleQueryRow() argument
603 String[] selectionArgs = {String.valueOf(queryId), DbUtils.toTableValue(service)}; in readSingleQueryRow()
[all …]
DEvent.java83 long queryId, in Event() argument
90 this.mQueryId = queryId; in Event()
237 long queryId, in Builder() argument
244 mQueryId = queryId; in Builder()
DJoinedEvent.java88 long queryId, in JoinedEvent() argument
97 this.mQueryId = queryId; in JoinedEvent()
272 long queryId, in Builder() argument
281 mQueryId = queryId; in Builder()
DQuery.java75 long queryId, in Query() argument
81 this.mQueryId = queryId; in Query()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/
DDisplayHelper.java119 long queryId, @NonNull ComponentName service, 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.java71 public OdpWebViewClient(Context context, ComponentName service, long queryId, in OdpWebViewClient() argument
73 this(context, service, queryId, logRecord, new Injector()); in OdpWebViewClient()
77 public OdpWebViewClient(Context context, ComponentName service, long queryId, in OdpWebViewClient() argument
81 mQueryId = queryId; in OdpWebViewClient()
DWebViewFlow.java85 public WebViewFlow(Context context, ComponentName service, long queryId, in WebViewFlow() argument
90 mQueryId = queryId; in WebViewFlow()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/request/
DSlotWrapper.java37 String servicePackageName, long queryId) { in SlotWrapper() argument
41 mQueryId = queryId; in SlotWrapper()
DRenderFlow.java240 long queryId = mSlotWrapper.getQueryId(); in getServiceFlowResultFuture() local
256 queryId, in getServiceFlowResultFuture()
DAppRequestFlow.java373 long queryId = Futures.getDone(queryIdFuture); in createResultBundle() local
382 mService.getPackageName(), queryId); in createResultBundle()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/reset/
DResetDataTaskTest.java128 long queryId = mEventsDao.insertQuery(query); in addTestData() local
134 .setQueryId(queryId) in addTestData()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/display/
DOdpWebViewClientTests.java318 private WebViewClient getWebViewClient(long queryId, RequestLogRecord logRecord) { in getWebViewClient() argument
321 queryId, logRecord, new TestInjector()); in getWebViewClient()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJobServiceTest.java131 long queryId = mEventsDao.insertQuery(query); in addEventData() local
137 .setQueryId(queryId) in addEventData()
DOnDevicePersonalizationMaintenanceJobTest.java402 long queryId = mEventsDao.insertQuery(query); in addEventData() local
409 .setQueryId(queryId) in addEventData()