Home
last modified time | relevance | path

Searched refs:takenActionGenericDocuments (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/usagereporting/
DSearchSessionStatsExtractor.java142 List<TakenActionGenericDocument> takenActionGenericDocuments = in extract() local
146 takenActionGenericDocuments.add( in extract()
153 takenActionGenericDocuments, in extract()
175 for (int i = 0; i < takenActionGenericDocuments.size(); ++i) { in extract()
176 if (takenActionGenericDocuments.get(i).getActionType() in extract()
182 (SearchActionGenericDocument) takenActionGenericDocuments.get(i); in extract()
186 while (i + 1 < takenActionGenericDocuments.size() in extract()
187 && takenActionGenericDocuments.get(i + 1).getActionType() in extract()
189 if (takenActionGenericDocuments.get(i + 1).getActionType() in extract()
192 (ClickActionGenericDocument) takenActionGenericDocuments.get(i + 1)); in extract()
[all …]
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DPutDocumentsRequest.java176 @NonNull GenericDocument... takenActionGenericDocuments) throws AppSearchException { in addTakenActionGenericDocuments()
177 Objects.requireNonNull(takenActionGenericDocuments); in addTakenActionGenericDocuments()
179 return addTakenActionGenericDocuments(Arrays.asList(takenActionGenericDocuments)); in addTakenActionGenericDocuments()
194 @NonNull Collection<? extends GenericDocument> takenActionGenericDocuments) in addTakenActionGenericDocuments()
196 Objects.requireNonNull(takenActionGenericDocuments); in addTakenActionGenericDocuments()
198 mTakenActions.addAll(takenActionGenericDocuments); in addTakenActionGenericDocuments()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/usagereporting/
DSearchSessionStatsExtractorTest.java98 List<GenericDocument> takenActionGenericDocuments = in testExtract() local
110 .extract(TEST_PACKAGE_NAME, TEST_DATABASE, takenActionGenericDocuments); in testExtract()
196 List<GenericDocument> takenActionGenericDocuments = in testExtract_noSearchActionShouldReturnEmptyList() local
201 .extract(TEST_PACKAGE_NAME, TEST_DATABASE, takenActionGenericDocuments); in testExtract_noSearchActionShouldReturnEmptyList()
234 List<GenericDocument> takenActionGenericDocuments = in testExtract_shouldSkipUnknownActionTypeDocuments() local
239 .extract(TEST_PACKAGE_NAME, TEST_DATABASE, takenActionGenericDocuments); in testExtract_shouldSkipUnknownActionTypeDocuments()
307 List<GenericDocument> takenActionGenericDocuments = in testExtract_detectAndSkipSearchNoise_appendNewCharacters() local
313 .extract(TEST_PACKAGE_NAME, TEST_DATABASE, takenActionGenericDocuments); in testExtract_detectAndSkipSearchNoise_appendNewCharacters()
400 List<GenericDocument> takenActionGenericDocuments = in testExtract_detectAndSkipSearchNoise_deleteCharacters() local
406 .extract(TEST_PACKAGE_NAME, TEST_DATABASE, takenActionGenericDocuments); in testExtract_detectAndSkipSearchNoise_deleteCharacters()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java741 List<GenericDocument> takenActionGenericDocuments = null; // initialize later in putDocuments()
778 takenActionGenericDocuments = in putDocuments()
784 takenActionGenericDocuments.add(document); in putDocuments()
850 if (takenActionGenericDocuments != null in putDocuments()
851 && !takenActionGenericDocuments.isEmpty()) { in putDocuments()
856 takenActionGenericDocuments)); in putDocuments()