/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScorerAppManager.java | 29 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 …]
|
D | NetworkScoreService.java | 35 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/ |
D | NetworkScorerAppManagerTest.java | 43 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 …]
|
D | NetworkScoreServiceTest.java | 19 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/ |
D | WifiStatusTrackerFactory.kt | 20 import android.net.NetworkScoreManager 37 private val mNetworkScoreManager: NetworkScoreManager,
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 29 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()
|
D | WifiTracker.java | 30 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()
|
D | AccessPoint.java | 35 import android.net.NetworkScoreManager; 1667 final NetworkScoreManager networkScoreManager = context.getSystemService( in getSummary() 1668 NetworkScoreManager.class); in getSummary()
|
/frameworks/base/core/java/android/net/ |
D | NetworkScoreManager.java | 62 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/ |
D | WifiStatusTrackerTest.java | 30 import android.net.NetworkScoreManager; 49 @Mock NetworkScoreManager mNetworkScoreManager;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | FrameworkServicesModule.java | 78 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/ |
D | NetworkControllerBaseTest.java | 44 import android.net.NetworkScoreManager; 118 protected NetworkScoreManager mMockNsm; 181 mMockNsm = mock(NetworkScoreManager.class); in setUp()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 160 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/ |
D | WifiTrackerTest.java | 42 import android.net.NetworkScoreManager; 149 @Mock private NetworkScoreManager mockNetworkScoreManager;
|
/frameworks/base/core/api/ |
D | module-lib-lint-baseline.txt | 232 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):
|
D | test-lint-baseline.txt | 236 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):
|
D | system-lint-baseline.txt | 236 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):
|
D | system-current.txt | 9673 @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/ |
D | AppStandbyController.java | 87 import android.net.NetworkScoreManager; 2801 NetworkScoreManager nsm = (NetworkScoreManager) mContext.getSystemService( in getActiveNetworkScorer()
|
/frameworks/base/config/ |
D | boot-profile.txt | 971 Landroid/net/NetworkScoreManager;->getActiveScorerPackage()Ljava/lang/String;
|
D | preloaded-classes | 5663 android.net.NetworkScoreManager$NetworkScoreCallback 5664 android.net.NetworkScoreManager$NetworkScoreCallbackProxy 5665 android.net.NetworkScoreManager
|
D | boot-image-profile.txt | 11361 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/ |
D | Settings.java | 67 import android.net.NetworkScoreManager;
|
/frameworks/base/boot/ |
D | preloaded-classes | 5659 android.net.NetworkScoreManager$NetworkScoreCallback 5660 android.net.NetworkScoreManager$NetworkScoreCallbackProxy 5661 android.net.NetworkScoreManager
|
D | boot-image-profile.txt | 11358 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;
|