Home
last modified time | relevance | path

Searched refs:LAUNCH_SCORE (Results 1 – 2 of 2) sorted by relevance

/packages/modules/ExtServices/java/tests/src/android/ext/services/resolver/
DLRResolverRankerServiceTest.java50 private static final String LAUNCH_SCORE = "launch"; field in LRResolverRankerServiceTest
95 assertThat(featureWeights.get(LAUNCH_SCORE)).isEqualTo(2.5543f); in testInitModelWhileNoSharedPreferences()
110 assertThat(featureWeights.get(LAUNCH_SCORE)).isEqualTo(2.5543f); in testInitModelWhileVersionInSharedPreferencesSmallerThanCurrent()
125 assertThat(featureWeights.get(LAUNCH_SCORE)).isEqualTo(0.1f); in testInitModelWhileVersionInSharedPreferencesNotSmallerThanCurrent()
225 assertThat(featureWeights.get(LAUNCH_SCORE)).isNotEqualTo(0.1f); in testOnTrainRankingModelAfterUserUnlock()
249 assertThat(featureWeights.get(LAUNCH_SCORE)).isNotEqualTo(0.1f); in testOnTrainRankingModelWhileSelectedPositionScoreIsNotHighest()
273 assertThat(featureWeights.get(LAUNCH_SCORE)).isEqualTo(0.1f); in testOnTrainRankingModelWhileSelectedPositionScoreIsHighest()
300 when(mSharedPreferences.getFloat(LAUNCH_SCORE, 0)).thenReturn(0.1f); in createSharedPreferences()
/packages/modules/ExtServices/java/src/android/ext/services/resolver/
DLRResolverRankerService.java52 private static final String LAUNCH_SCORE = "launch"; field in LRResolverRankerService
134 mFeatureWeights.put(LAUNCH_SCORE, 2.5543f); in initModel()
140 mFeatureWeights.put(LAUNCH_SCORE, mParamSharedPref.getFloat(LAUNCH_SCORE, 0.0f)); in initModel()
154 features.put(LAUNCH_SCORE, target.getLaunchScore()); in getFeatures()