Home
last modified time | relevance | path

Searched refs:NetworkScoreManager (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java29 import android.net.NetworkScoreManager;
73 final Intent serviceIntent = new Intent(NetworkScoreManager.ACTION_RECOMMEND_NETWORKS); in getAllValidScorers()
112 .getString(NetworkScoreManager.RECOMMENDATION_SERVICE_LABEL_META_DATA); in getRecommendationServiceLabel()
130 .getString(NetworkScoreManager.USE_OPEN_WIFI_PACKAGE_META_DATA); in findUseOpenWifiNetworksActivity()
138 final Intent enableUseOpenWifiIntent = new Intent(NetworkScoreManager.ACTION_CUSTOM_ENABLE) in findUseOpenWifiNetworksActivity()
163 NetworkScoreManager.NETWORK_AVAILABLE_NOTIFICATION_CHANNEL_ID_META_DATA); in getNetworkAvailableNotificationChannelId()
178 if (enabledSetting == NetworkScoreManager.RECOMMENDATIONS_ENABLED_FORCED_OFF) { in getActiveScorer()
248 NetworkScoreManager.RECOMMENDATIONS_ENABLED_FORCED_OFF); in setActiveScorer()
256 setNetworkRecommendationsEnabledSetting(NetworkScoreManager.RECOMMENDATIONS_ENABLED_ON); in setActiveScorer()
277 if (enabledSetting == NetworkScoreManager.RECOMMENDATIONS_ENABLED_FORCED_OFF) { in updateState()
[all …]
DNetworkScoreService.java35 import android.net.NetworkScoreManager;
526 int filterType = NetworkScoreManager.SCORE_FILTER_NONE; in accept()
550 case NetworkScoreManager.SCORE_FILTER_NONE: in filterScores()
553 case NetworkScoreManager.SCORE_FILTER_CURRENT_NETWORK: in filterScores()
560 case NetworkScoreManager.SCORE_FILTER_SCAN_RESULTS: in filterScores()
964 Intent service = new Intent(NetworkScoreManager.ACTION_RECOMMEND_NETWORKS); in bind()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java43 import android.net.NetworkScoreManager;
85 intent -> NetworkScoreManager.ACTION_RECOMMEND_NETWORKS.equals(intent.getAction())), in setUp()
257 NetworkScoreManager.RECOMMENDATIONS_ENABLED_FORCED_OFF); in testSetActiveScorer_nullPackage_currentIsSet()
282 NetworkScoreManager.RECOMMENDATIONS_ENABLED_ON); in testSetActiveScorer_validPackage()
298 setRecommendationsEnabledSetting(NetworkScoreManager.RECOMMENDATIONS_ENABLED_FORCED_OFF); in testUpdateState_recommendationsForcedOff()
320 NetworkScoreManager.RECOMMENDATIONS_ENABLED_ON); in testUpdateState_currentPackageValid()
339 NetworkScoreManager.RECOMMENDATIONS_ENABLED_ON); in testUpdateState_currentPackageNotValid_validDefault()
352 NetworkScoreManager.RECOMMENDATIONS_ENABLED_OFF); in testUpdateState_currentPackageNotValid_invalidDefault()
366 NetworkScoreManager.RECOMMENDATIONS_ENABLED_OFF); in testUpdateState_currentPackageNull_defaultNull()
380 NetworkScoreManager.RECOMMENDATIONS_ENABLED_OFF); in testUpdateState_currentPackageEmpty_defaultEmpty()
[all …]
DNetworkScoreServiceTest.java19 import static android.net.NetworkScoreManager.SCORE_FILTER_NONE;
51 import android.net.NetworkScoreManager;
618 consumer.accept(mNetworkScoreCache, NetworkScoreManager.SCORE_FILTER_NONE); in testCacheUpdatingConsumer_noneFilter()
659 consumer.accept(mNetworkScoreCache, NetworkScoreManager.SCORE_FILTER_NONE); in testCacheUpdatingConsumer_emptyScoreList()
676 consumer.accept(mNetworkScoreCache, NetworkScoreManager.SCORE_FILTER_CURRENT_NETWORK); in testCacheUpdatingConsumer_currentNetworkFilter()
694 consumer.accept(mNetworkScoreCache, NetworkScoreManager.SCORE_FILTER_SCAN_RESULTS); in testCacheUpdatingConsumer_scanResultsFilter()
886 new Intent(NetworkScoreManager.ACTION_RECOMMEND_NETWORKS) in testServiceConnection_bind_notBound()
899 new Intent(NetworkScoreManager.ACTION_RECOMMEND_NETWORKS) in testServiceConnection_bind_alreadyBound()
910 new Intent(NetworkScoreManager.ACTION_RECOMMEND_NETWORKS) in testServiceConnection_bind_alreadyBound()
923 new Intent(NetworkScoreManager.ACTION_RECOMMEND_NETWORKS) in testServiceConnection_bindFails()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DWifiStatusTrackerFactory.kt20 import android.net.NetworkScoreManager
37 private val mNetworkScoreManager: NetworkScoreManager,
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java29 import android.net.NetworkScoreManager;
61 private final NetworkScoreManager mNetworkScoreManager;
174 NetworkScoreManager networkScoreManager, ConnectivityManager connectivityManager, in WifiStatusTracker()
180 NetworkScoreManager networkScoreManager, ConnectivityManager connectivityManager, in WifiStatusTracker()
210 mWifiNetworkScoreCache, NetworkScoreManager.SCORE_FILTER_CURRENT_NETWORK); in setListening()
DWifiTracker.java30 import android.net.NetworkScoreManager;
172 private final NetworkScoreManager mNetworkScoreManager;
210 context.getSystemService(NetworkScoreManager.class), in WifiTracker()
221 context.getSystemService(NetworkScoreManager.class), in WifiTracker()
230 NetworkScoreManager networkScoreManager, in WifiTracker()
374 NetworkScoreManager.SCORE_FILTER_SCAN_RESULTS); in registerScoreCache()
DAccessPoint.java35 import android.net.NetworkScoreManager;
1667 final NetworkScoreManager networkScoreManager = context.getSystemService( in getSummary()
1668 NetworkScoreManager.class); in getSummary()
/frameworks/base/core/java/android/net/
DNetworkScoreManager.java62 public class NetworkScoreManager { class
233 public NetworkScoreManager(Context context) throws ServiceNotFoundException { in NetworkScoreManager() method in NetworkScoreManager
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiStatusTrackerTest.java30 import android.net.NetworkScoreManager;
49 @Mock NetworkScoreManager mNetworkScoreManager;
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DFrameworkServicesModule.java78 import android.net.NetworkScoreManager;
463 static NetworkScoreManager provideNetworkScoreManager(Context context) { in provideNetworkScoreManager()
464 return context.getSystemService(NetworkScoreManager.class); in provideNetworkScoreManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerBaseTest.java44 import android.net.NetworkScoreManager;
118 protected NetworkScoreManager mMockNsm;
181 mMockNsm = mock(NetworkScoreManager.class); in setUp()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java160 import android.net.NetworkScoreManager;
1051 registerService(Context.NETWORK_SCORE_SERVICE, NetworkScoreManager.class, in registerService()
1052 new CachedServiceFetcher<NetworkScoreManager>() { in registerService()
1054 … public NetworkScoreManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
1055 return new NetworkScoreManager(ctx); in registerService()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java42 import android.net.NetworkScoreManager;
149 @Mock private NetworkScoreManager mockNetworkScoreManager;
/frameworks/base/core/api/
Dmodule-lib-lint-baseline.txt232 BroadcastBehavior: android.net.NetworkScoreManager#ACTION_SCORER_CHANGED:
234 BroadcastBehavior: android.net.NetworkScoreManager#ACTION_SCORE_NETWORKS:
984 RequiresPermission: android.net.NetworkScoreManager#clearScores():
986 RequiresPermission: android.net.NetworkScoreManager#disableScoring():
988 RequiresPermission: android.net.NetworkScoreManager#getActiveScorerPackage():
990 …on: android.net.NetworkScoreManager#registerNetworkScoreCallback(int, int, java.util.concurrent.Ex…
992 RequiresPermission: android.net.NetworkScoreManager#requestScores(java.util.Collection<android.net.…
994 RequiresPermission: android.net.NetworkScoreManager#setActiveScorer(String):
Dtest-lint-baseline.txt236 BroadcastBehavior: android.net.NetworkScoreManager#ACTION_SCORER_CHANGED:
238 BroadcastBehavior: android.net.NetworkScoreManager#ACTION_SCORE_NETWORKS:
1060 RequiresPermission: android.net.NetworkScoreManager#clearScores():
1062 RequiresPermission: android.net.NetworkScoreManager#disableScoring():
1064 RequiresPermission: android.net.NetworkScoreManager#getActiveScorerPackage():
1066 …on: android.net.NetworkScoreManager#registerNetworkScoreCallback(int, int, java.util.concurrent.Ex…
1068 RequiresPermission: android.net.NetworkScoreManager#requestScores(java.util.Collection<android.net.…
1070 RequiresPermission: android.net.NetworkScoreManager#setActiveScorer(String):
Dsystem-lint-baseline.txt236 BroadcastBehavior: android.net.NetworkScoreManager#ACTION_SCORER_CHANGED:
238 BroadcastBehavior: android.net.NetworkScoreManager#ACTION_SCORE_NETWORKS:
1068 RequiresPermission: android.net.NetworkScoreManager#clearScores():
1070 RequiresPermission: android.net.NetworkScoreManager#disableScoring():
1072 RequiresPermission: android.net.NetworkScoreManager#getActiveScorerPackage():
1074 …on: android.net.NetworkScoreManager#registerNetworkScoreCallback(int, int, java.util.concurrent.Ex…
1076 RequiresPermission: android.net.NetworkScoreManager#requestScores(java.util.Collection<android.net.…
1078 RequiresPermission: android.net.NetworkScoreManager#setActiveScorer(String):
Dsystem-current.txt9673 @Deprecated public class NetworkScoreManager {
9677 … int, @NonNull java.util.concurrent.Executor, @NonNull android.net.NetworkScoreManager.NetworkScor…
9694 @Deprecated public abstract static class NetworkScoreManager.NetworkScoreCallback {
9695 ctor @Deprecated public NetworkScoreManager.NetworkScoreCallback();
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java87 import android.net.NetworkScoreManager;
2801 NetworkScoreManager nsm = (NetworkScoreManager) mContext.getSystemService( in getActiveNetworkScorer()
/frameworks/base/config/
Dboot-profile.txt971 Landroid/net/NetworkScoreManager;->getActiveScorerPackage()Ljava/lang/String;
Dpreloaded-classes5663 android.net.NetworkScoreManager$NetworkScoreCallback
5664 android.net.NetworkScoreManager$NetworkScoreCallbackProxy
5665 android.net.NetworkScoreManager
Dboot-image-profile.txt11361 HSPLandroid/net/NetworkScoreManager;-><init>(Landroid/content/Context;)V
11362 HSPLandroid/net/NetworkScoreManager;->getActiveScorerPackage()Ljava/lang/String;
11363 HSPLandroid/net/NetworkScoreManager;->registerNetworkScoreCache(ILandroid/net/INetworkScoreCache;I)V
38190 Landroid/net/NetworkScoreManager$NetworkScoreCallback;
38191 Landroid/net/NetworkScoreManager$NetworkScoreCallbackProxy;
38192 Landroid/net/NetworkScoreManager;
/frameworks/base/core/java/android/provider/
DSettings.java67 import android.net.NetworkScoreManager;
/frameworks/base/boot/
Dpreloaded-classes5659 android.net.NetworkScoreManager$NetworkScoreCallback
5660 android.net.NetworkScoreManager$NetworkScoreCallbackProxy
5661 android.net.NetworkScoreManager
Dboot-image-profile.txt11358 HSPLandroid/net/NetworkScoreManager;-><init>(Landroid/content/Context;)V
11359 HSPLandroid/net/NetworkScoreManager;->getActiveScorerPackage()Ljava/lang/String;
11360 HSPLandroid/net/NetworkScoreManager;->registerNetworkScoreCache(ILandroid/net/INetworkScoreCache;I)V
28056 Landroid/net/NetworkScoreManager$NetworkScoreCallback;
28057 Landroid/net/NetworkScoreManager$NetworkScoreCallbackProxy;
28058 Landroid/net/NetworkScoreManager;

12