Home
last modified time | relevance | path

Searched refs:setRankingStrategy (Results 1 – 12 of 12) sorted by relevance

/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DSearchSpecInternalTest.java43 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_DOCUMENT_SCORE) in testSearchSpecBuilder()
84 .setRankingStrategy("advancedExpression") in testSearchSpecBuilderCopyConstructor()
153 .setRankingStrategy("advancedExpression") in testSearchSpecBuilderCopyConstructor_informationalRankingExpressions()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSearchSpecToProtoConverterTest.java142 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testToSearchSpecProtoWithJoinSpec()
146 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_JOIN_AGGREGATE_SCORE); in testToSearchSpecProtoWithJoinSpec()
301 .setRankingStrategy(RANKING_STRATEGY_RELEVANCE_SCORE) in testToScoringSpecProto()
344 .setRankingStrategy("this.documentScore()") in testToAdvancedRankingSpecProto()
396 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testToResultSpecProtoWithJoinSpec()
410 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_JOIN_AGGREGATE_SCORE) in testToResultSpecProtoWithJoinSpec()
821 .setRankingStrategy(RANKING_STRATEGY_RELEVANCE_SCORE) in testToResultSpecProto_weight_withJoinSpec_packageFilter()
834 .setRankingStrategy(RANKING_STRATEGY_RELEVANCE_SCORE) in testToResultSpecProto_weight_withJoinSpec_packageFilter()
1775 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_RELEVANCE_SCORE) in testConvertPropertyWeights()
DSearchSuggestionSpecToProtoConverterTest.java42 .setRankingStrategy( in testToProto()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchLoggerTest.java233 .setRankingStrategy( in testAppSearchLoggerHelper_testCopyNativeStats_search()
705 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testLoggingStats_search_success()
760 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testLoggingStats_search_failure()
893 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_DOCUMENT_SCORE) in testLoggingStats_search_join()
905 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_JOIN_AGGREGATE_SCORE) in testLoggingStats_search_join()
DAppSearchImplTest.java936 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testGlobalQuery_withJoin_packageFilter()
959 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testGlobalQuery_withJoin_packageFilter()
980 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testGlobalQuery_withJoin_packageFilter()
1109 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testQueryInvalidPackages_withJoin()
1122 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testQueryInvalidPackages_withJoin()
1131 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testQueryInvalidPackages_withJoin()
1149 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testQueryInvalidPackages_withJoin()
1158 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testQueryInvalidPackages_withJoin()
1175 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testQueryInvalidPackages_withJoin()
1183 .setRankingStrategy(SearchSpec.RANKING_STRATEGY_CREATION_TIMESTAMP) in testQueryInvalidPackages_withJoin()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchLoggerHelper.java124 .setRankingStrategy(fromNativeStats.getRankingStrategy().getNumber()) in copyNativeStats()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/stats/
DSearchStats.java562 public Builder setRankingStrategy(@SearchSpec.RankingStrategy int rankingStrategy) { in setRankingStrategy() method in SearchStats.Builder
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSearchSuggestionSpec.java299 public Builder setRankingStrategy(@SuggestionRankingStrategy int rankingStrategy) { in setRankingStrategy() method in SearchSuggestionSpec.Builder
DSearchSpec.java1001 public Builder setRankingStrategy(@RankingStrategy int rankingStrategy) { in setRankingStrategy() method in SearchSpec.Builder
1154 public Builder setRankingStrategy(@NonNull String advancedRankingExpression) { in setRankingStrategy() method in SearchSpec.Builder
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppsIndexerManagerServiceTest.java190 .setRankingStrategy("this.creationTimestamp()") in testBootstrapPackages()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/stats/
DAppSearchStatsTest.java243 .setRankingStrategy(nativeRankingStrategy) in testAppSearchStats_SearchStats()
/packages/modules/AppSearch/framework/api/
Dcurrent.txt594 method @NonNull public android.app.appsearch.SearchSpec.Builder setRankingStrategy(int);
595 …method @NonNull public android.app.appsearch.SearchSpec.Builder setRankingStrategy(@NonNull String…
644 … method @NonNull public android.app.appsearch.SearchSuggestionSpec.Builder setRankingStrategy(int);