Searched refs:mNetworkScorerAppManager (Results 1 – 3 of 3) sorted by relevance
76 private NetworkScorerAppManager mNetworkScorerAppManager; field in NetworkScorerAppManagerTest93 mNetworkScorerAppManager = new NetworkScorerAppManager(mMockContext, mSettingsFacade); in setUp()102 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_providerAvailable()116 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_providerAvailable_serviceLabelOverride()129 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_scoreNetworksPermissionMissing()140 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_locationPermissionMissing()152 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_locationModeOff()164 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_providerAvailable_enableUseOpenWifiActivityNotSet()179 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_providerAvailable_enableUseOpenWifiActivityNotResolved()196 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_providerAvailable_enableUseOpenWifiActivityResolved()[all …]
125 @Mock private NetworkScorerAppManager mNetworkScorerAppManager; field in NetworkScoreServiceTest164 when(mNetworkScorerAppManager.getActiveScorer()).thenReturn(NEW_SCORER); in setUp()169 mNetworkScoreService = new NetworkScoreService(mContext, mNetworkScorerAppManager, in setUp()221 when(mNetworkScorerAppManager.getActiveScorer()).thenReturn(NEW_SCORER); in testOnUserUnlocked()225 verify(mNetworkScorerAppManager).updateState(); in testOnUserUnlocked()226 verify(mNetworkScorerAppManager).migrateNetworkScorerAppSettingIfNeeded(); in testOnUserUnlocked()498 when(mNetworkScorerAppManager.getActiveScorer()).thenReturn(NEW_SCORER); in testDump_doesNotCrash()510 when(mNetworkScorerAppManager.getActiveScorer()).thenReturn(null); in testIsCallerActiveScorer_noBoundService()535 when(mNetworkScorerAppManager.getActiveScorer()).thenReturn(null); in testGetActiveScorerPackage_notActive()545 when(mNetworkScorerAppManager.getActiveScorer()).thenReturn(NEW_SCORER); in testGetActiveScorerPackage_active()[all …]
87 private final NetworkScorerAppManager mNetworkScorerAppManager; field in NetworkScoreService203 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in evaluateBinding()271 mNetworkScorerAppManager = networkScoreAppManager; in NetworkScoreService()336 mNetworkScorerAppManager.updateState(); in refreshBinding()337 mNetworkScorerAppManager.migrateNetworkScorerAppSettingIfNeeded(); in refreshBinding()361 final NetworkScorerAppData appData = mNetworkScorerAppManager.getActiveScorer(); in registerPackageMonitorIfNeeded()392 NetworkScorerAppData scorerData = mNetworkScorerAppManager.getActiveScorer(); in bindToScoringServiceIfNeeded()712 return mNetworkScorerAppManager.setActiveScorer(packageName); in setActiveScorer()763 NetworkScorerAppData appData = mNetworkScorerAppManager.getActiveScorer(); in getActiveScorerPackage()777 return mNetworkScorerAppManager.getActiveScorer(); in getActiveScorer()[all …]