Home
last modified time | relevance | path

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

/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DSearchResult.java58 @Nullable private List<MatchInfo> mMatchInfos;
95 public List<MatchInfo> getMatchInfos() { in getMatchInfos()
101 MatchInfo matchInfo = new MatchInfo(matchBundles.get(i), getGenericDocument()); in getMatchInfos()
189 public Builder addMatchInfo(@NonNull MatchInfo matchInfo) { in addMatchInfo()
291 public static final class MatchInfo { class in SearchResult
320 MatchInfo(@NonNull Bundle bundle, @Nullable GenericDocument document) { in MatchInfo() method in SearchResult.MatchInfo
473 public MatchInfo build() { in build()
475 bundle.putString(SearchResult.MatchInfo.PROPERTY_PATH_FIELD, mPropertyPath); in build()
476 bundle.putInt(MatchInfo.EXACT_MATCH_RANGE_LOWER_FIELD, mExactMatchRange.getStart()); in build()
477 bundle.putInt(MatchInfo.EXACT_MATCH_RANGE_UPPER_FIELD, mExactMatchRange.getEnd()); in build()
[all …]
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSearchResultToProtoConverter.java117 SearchResult.MatchInfo matchInfo = in toSearchResult()
126 private static SearchResult.MatchInfo toMatchInfo( in toMatchInfo()
128 return new SearchResult.MatchInfo.Builder(propertyPath) in toMatchInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSnippetTest.java102 SearchResult.MatchInfo match = searchResultPage.getResults().get(0).getMatchInfos().get(0); in testSingleStringSnippet()
211 SearchResult.MatchInfo match1 = searchResultPage.getResults().get(0).getMatchInfos().get(0); in testMultipleStringSnippet()
221 SearchResult.MatchInfo match2 = searchResultPage.getResults().get(0).getMatchInfos().get(1); in testMultipleStringSnippet()
302 SearchResult.MatchInfo match1 = searchResultPage.getResults().get(0).getMatchInfos().get(0); in testNestedDocumentSnippet()
312 SearchResult.MatchInfo match2 = searchResultPage.getResults().get(0).getMatchInfos().get(1); in testNestedDocumentSnippet()
/frameworks/base/apex/appsearch/framework/api/
Dcurrent.txt292 …method @NonNull public java.util.List<android.app.appsearch.SearchResult.MatchInfo> getMatchInfos(…
299 …appsearch.SearchResult.Builder addMatchInfo(@NonNull android.app.appsearch.SearchResult.MatchInfo);
305 public static final class SearchResult.MatchInfo {
314 public static final class SearchResult.MatchInfo.Builder {
315 ctor public SearchResult.MatchInfo.Builder(@NonNull String);
316 method @NonNull public android.app.appsearch.SearchResult.MatchInfo build();
317 …method @NonNull public android.app.appsearch.SearchResult.MatchInfo.Builder setExactMatchRange(@No…
318 …method @NonNull public android.app.appsearch.SearchResult.MatchInfo.Builder setSnippetRange(@NonNu…
/frameworks/base/boot/
Dpreloaded-classes4020 android.icu.text.TimeZoneNames$MatchInfo
Dboot-image-profile.txt27136 Landroid/icu/text/TimeZoneNames$MatchInfo;
/frameworks/base/config/
Dpreloaded-classes4018 android.icu.text.TimeZoneNames$MatchInfo
Dboot-image-profile.txt36773 Landroid/icu/text/TimeZoneNames$MatchInfo;