Searched refs:RankingStrategy (Results 1 – 5 of 5) sorted by relevance
553 private static ScoringSpecProto.RankingStrategy.Code toProtoRankingStrategy( in toProtoRankingStrategy()554 @SearchSpec.RankingStrategy int rankingStrategyCode) { in toProtoRankingStrategy()557 return ScoringSpecProto.RankingStrategy.Code.NONE; in toProtoRankingStrategy()559 return ScoringSpecProto.RankingStrategy.Code.DOCUMENT_SCORE; in toProtoRankingStrategy()561 return ScoringSpecProto.RankingStrategy.Code.CREATION_TIMESTAMP; in toProtoRankingStrategy()563 return ScoringSpecProto.RankingStrategy.Code.RELEVANCE_SCORE; in toProtoRankingStrategy()565 return ScoringSpecProto.RankingStrategy.Code.USAGE_TYPE1_COUNT; in toProtoRankingStrategy()567 return ScoringSpecProto.RankingStrategy.Code.USAGE_TYPE1_LAST_USED_TIMESTAMP; in toProtoRankingStrategy()569 return ScoringSpecProto.RankingStrategy.Code.USAGE_TYPE2_COUNT; in toProtoRankingStrategy()571 return ScoringSpecProto.RankingStrategy.Code.USAGE_TYPE2_LAST_USED_TIMESTAMP; in toProtoRankingStrategy()[all …]
126 @SearchSpec.RankingStrategy private final int mNativeRankingStrategy;308 @SearchSpec.RankingStrategy562 public Builder setRankingStrategy(@SearchSpec.RankingStrategy int rankingStrategy) { in setRankingStrategy()
98 @RankingStrategy216 public @interface RankingStrategy {} annotation in SearchSpec346 @Param(id = 7) @RankingStrategy int rankingStrategy, in SearchSpec()469 @RankingStrategy762 @RankingStrategy private int mRankingStrategy = RANKING_STRATEGY_NONE;1001 public Builder setRankingStrategy(@RankingStrategy int rankingStrategy) { in setRankingStrategy()
213 int nativeRankingStrategy = ScoringSpecProto.RankingStrategy.Code.CREATION_TIMESTAMP_VALUE; in testAppSearchLoggerHelper_testCopyNativeStats_search()234 ScoringSpecProto.RankingStrategy.Code.forNumber( in testAppSearchLoggerHelper_testCopyNativeStats_search()934 .isEqualTo(ScoringSpecProto.RankingStrategy.Code.JOIN_AGGREGATE_SCORE_VALUE); in testLoggingStats_search_join()
213 .isEqualTo(ScoringSpecProto.RankingStrategy.Code.CREATION_TIMESTAMP); in testToSearchSpecProtoWithJoinSpec()334 .isEqualTo(ScoringSpecProto.RankingStrategy.Code.RELEVANCE_SCORE.getNumber()); in testToScoringSpecProto()360 .isEqualTo(ScoringSpecProto.RankingStrategy.Code.ADVANCED_SCORING_EXPRESSION_VALUE); in testToAdvancedRankingSpecProto()