Searched refs:activeScorer (Results 1 – 2 of 2) sorted by relevance
102 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_providerAvailable() local103 assertNotNull(activeScorer); in testGetActiveScorer_providerAvailable()104 assertEquals(RECO_COMPONENT, activeScorer.getRecommendationServiceComponent()); in testGetActiveScorer_providerAvailable()105 assertEquals(PACKAGE_UID, activeScorer.packageUid); in testGetActiveScorer_providerAvailable()106 assertEquals(MOCK_SERVICE_LABEL, activeScorer.getRecommendationServiceLabel()); in testGetActiveScorer_providerAvailable()116 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_providerAvailable_serviceLabelOverride() local117 assertNotNull(activeScorer); in testGetActiveScorer_providerAvailable_serviceLabelOverride()118 assertEquals(RECO_COMPONENT, activeScorer.getRecommendationServiceComponent()); in testGetActiveScorer_providerAvailable_serviceLabelOverride()119 assertEquals(PACKAGE_UID, activeScorer.packageUid); in testGetActiveScorer_providerAvailable_serviceLabelOverride()120 assertEquals(MOCK_OVERRIDEN_SERVICE_LABEL, activeScorer.getRecommendationServiceLabel()); in testGetActiveScorer_providerAvailable_serviceLabelOverride()[all …]
203 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in evaluateBinding() local204 if (activeScorer == null) { in evaluateBinding()214 Log.d(TAG, "Binding to " + activeScorer.getRecommendationServiceComponent() in evaluateBinding()217 bindToScoringServiceIfNeeded(activeScorer); in evaluateBinding()