summaryrefslogtreecommitdiffstats
path: root/services/java
diff options
context:
space:
mode:
authorvandwalle <vandwalle@google.com>2014-03-31 19:12:07 -0700
committervandwalle <vandwalle@google.com>2014-05-07 18:48:48 -0700
commit7c3606c103e95d3991267cca2592402a68779caf (patch)
treed0a7e48c3342e75fa2fe8176fd4a86e1826649af /services/java
parent15560a84dfd55452f53575cc1aab71b0b8baeb65 (diff)
downloadframeworks_base-7c3606c103e95d3991267cca2592402a68779caf.zip
frameworks_base-7c3606c103e95d3991267cca2592402a68779caf.tar.gz
frameworks_base-7c3606c103e95d3991267cca2592402a68779caf.tar.bz2
initial Best Network Selection implementation
-add dhcpserver, defaultGwMAC address, linked configuration and user choices link lists to WiFiconfiguration -add default gateway mac address to RouteInfo -add a Date to the ScanResult -add BSSID date to the WifiConfiguration - make framework auto-join into a config option - add Settings option for showing RSSI in Wifi picker view; add auto-join specific status to WifiConfiguration Change-Id: I5cfc4f2a48c9f3bc9766e8e68e24eff7b57f2821 Changes to be committed: modified: core/java/android/provider/Settings.java modified: wifi/java/android/net/wifi/ScanResult.java modified: wifi/java/android/net/wifi/WifiConfiguration.java
Diffstat (limited to 'services/java')
-rw-r--r--services/java/com/android/server/SystemServer.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index 722b797..9305bc4 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -605,6 +605,14 @@ public final class SystemServer {
if (!disableNetwork) {
try {
+ Slog.i(TAG, "Network Score Service");
+ networkScore = new NetworkScoreService(context);
+ ServiceManager.addService(Context.NETWORK_SCORE_SERVICE, networkScore);
+ } catch (Throwable e) {
+ reportWtf("starting Network Score Service", e);
+ }
+
+ try {
Slog.i(TAG, "NetworkStats Service");
networkStats = new NetworkStatsService(context, networkManagement, alarm);
ServiceManager.addService(Context.NETWORK_STATS_SERVICE, networkStats);
@@ -653,14 +661,6 @@ public final class SystemServer {
}
try {
- Slog.i(TAG, "Network Score Service");
- networkScore = new NetworkScoreService(context);
- ServiceManager.addService(Context.NETWORK_SCORE_SERVICE, networkScore);
- } catch (Throwable e) {
- reportWtf("starting Network Score Service", e);
- }
-
- try {
Slog.i(TAG, "Network Service Discovery Service");
serviceDiscovery = NsdService.create(context);
ServiceManager.addService(