commit | 5321aef4a22daef6ed01ed48d936cdd82f2e38b7 | [log] [tgz] |
---|---|---|
author | Irfan Sheriff <isheriff@google.com> | Fri Feb 12 12:35:59 2010 -0800 |
committer | Irfan Sheriff <isheriff@google.com> | Thu Mar 04 16:07:14 2010 -0800 |
tree | 7c34f1bac696c3dfa056ac9a72613592ae908770 | |
parent | 23b7aa45fbb6397d6b1960cd8f1b832ef7d49fe5 [diff] |
Wifi AP framework changes first pass Bug: 2421638 Change-Id: Ic5ea8f7560a7fe5e1b0769daa5d92cc33eefc692
diff --git a/core/java/android/os/INetworkManagementService.aidl b/core/java/android/os/INetworkManagementService.aidl index 92041d8..d1d8b0a 100644 --- a/core/java/android/os/INetworkManagementService.aidl +++ b/core/java/android/os/INetworkManagementService.aidl
@@ -162,4 +162,15 @@ * Check the status of USB RNDIS support */ boolean isUsbRNDISStarted(); + + /** + * Start Wifi Access Point + */ + void startAccessPoint(); + + /** + * Stop Wifi Access Point + */ + void stopAccessPoint(); + }
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 18e2647..8f410a9 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java
@@ -2386,6 +2386,13 @@ public static final String WIFI_ON = "wifi_on"; /** + * Whether the Wi-Fi AP should be on. + * + * @hide + */ + public static final String WIFI_AP_ON = "wifi_ap_on"; + + /** * The acceptable packet loss percentage (range 0 - 100) before trying * another AP on the same network. */