Searched refs:activeScorer (Results 1 – 4 of 4) 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 …]
817 final WifiCandidates.CandidateScorer activeScorer = getActiveCandidateScorer(); in selectNetwork() local830 if (candidateScorer == activeScorer) { in selectNetwork()844 final int activeExperimentId = activeScorer == null ? LEGACY_CANDIDATE_SCORER_EXP_ID in selectNetwork()845 : experimentIdFromIdentifier(activeScorer.getIdentifier()); in selectNetwork()
207 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in evaluateBinding() local208 if (activeScorer == null) { in evaluateBinding()218 Log.d(TAG, "Binding to " + activeScorer.getRecommendationServiceComponent() in evaluateBinding()221 bindToScoringServiceIfNeeded(activeScorer); in evaluateBinding()
1367 String activeScorer = mInjector.getActiveNetworkScorer(); in isActiveNetworkScorer() local1368 return packageName != null && packageName.equals(activeScorer); in isActiveNetworkScorer()