summaryrefslogtreecommitdiffstats
path: root/services/java
diff options
context:
space:
mode:
authorVinit Deshapnde <vinitd@google.com>2014-05-07 21:09:11 -0700
committerVinit Deshapnde <vinitd@google.com>2014-05-07 21:14:24 -0700
commit011e1b35a64180d6f0234af8a3c2b70777eb9f39 (patch)
tree79c54cad4f30c493f587e4ac0fb1e89bbaecc714 /services/java
parentc4bfcc12e92fe3d8f6f1dad0c12176d6dae3131d (diff)
downloadframeworks_base-011e1b35a64180d6f0234af8a3c2b70777eb9f39.zip
frameworks_base-011e1b35a64180d6f0234af8a3c2b70777eb9f39.tar.gz
frameworks_base-011e1b35a64180d6f0234af8a3c2b70777eb9f39.tar.bz2
Initial implementation of WifiScanner
This change implements basic functionality of WifiScanner. Following functionality is enabled 1. Scanning - specify a list of channels to scan 2. Significant change detection 3. AP hotlist Change-Id: Ieef75b96bdbbd3c7d9b9e698bd16e64d3b465254
Diffstat (limited to 'services/java')
-rw-r--r--services/java/com/android/server/SystemServer.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index 9305bc4..716823c 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -650,6 +650,15 @@ public final class SystemServer {
}
try {
+ Slog.i(TAG, "Wi-Fi Scanning Service");
+ mSystemServiceManager.startService(
+ "com.android.server.wifi.WifiScanningService");
+
+ } catch (Throwable e) {
+ reportWtf("starting Wi-Fi Scanning Service", e);
+ }
+
+ try {
Slog.i(TAG, "Connectivity Service");
connectivity = new ConnectivityService(
context, networkManagement, networkStats, networkPolicy);