Home
last modified time | relevance | path

Searched refs:NetworkScorerAppManager (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java29 import android.net.NetworkScorerAppManager;
30 import android.net.NetworkScorerAppManager.NetworkScorerAppData;
83 NetworkScorerAppManager.getActiveScorer(mContext) == null) { in onReceive()
106 NetworkScorerAppManager.setActiveScorer(mContext, defaultPackage); in systemReady()
115 NetworkScorerAppData scorer = NetworkScorerAppManager.getActiveScorer(mContext); in registerPackageReceiverIfNeeded()
147 if (!NetworkScorerAppManager.isCallerActiveScorer(mContext, getCallingUid())) { in updateScores()
186 if (NetworkScorerAppManager.isCallerActiveScorer(mContext, getCallingUid()) || in clearScores()
216 if (NetworkScorerAppManager.isCallerActiveScorer(mContext, getCallingUid()) || in disableScoring()
237 boolean result = NetworkScorerAppManager.setActiveScorer(mContext, packageName); in setScorerInternal()
280 NetworkScorerAppData currentScorer = NetworkScorerAppManager.getActiveScorer(mContext); in dump()
/frameworks/base/core/java/android/net/
DNetworkScoreManager.java25 import android.net.NetworkScorerAppManager.NetworkScorerAppData;
146 NetworkScorerAppData app = NetworkScorerAppManager.getActiveScorer(mContext); in getActiveScorerPackage()
DNetworkScorerAppManager.java45 public final class NetworkScorerAppManager { class
52 private NetworkScorerAppManager() {} in NetworkScorerAppManager() method in NetworkScorerAppManager
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkScorerAppManagerTest.java26 import android.net.NetworkScorerAppManager.NetworkScorerAppData;
82 NetworkScorerAppManager.getAllValidScorers(mMockContext).iterator(); in testGetAllValidScorers()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java34 import android.net.NetworkScorerAppManager;
968 NetworkScorerAppManager.isCallerActiveScorer(mContext, uid); in getScanResults()