From ce1200d42c46ae5d3ec637587b07dfdc02ad21c0 Mon Sep 17 00:00:00 2001 From: Robert Greenwalt Date: Thu, 18 Feb 2010 11:25:54 -0800 Subject: Add USB RNDIS enable/disable control --- core/java/android/os/INetworkManagementService.aidl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'core/java') diff --git a/core/java/android/os/INetworkManagementService.aidl b/core/java/android/os/INetworkManagementService.aidl index f48f45f..92041d8 100644 --- a/core/java/android/os/INetworkManagementService.aidl +++ b/core/java/android/os/INetworkManagementService.aidl @@ -148,4 +148,18 @@ interface INetworkManagementService */ void detachPppd(String tty); + /** + * Turn on USB RNDIS support - this will turn off thinks like adb/mass-storage + */ + void startUsbRNDIS(); + + /** + * Turn off USB RNDIS support + */ + void stopUsbRNDIS(); + + /** + * Check the status of USB RNDIS support + */ + boolean isUsbRNDISStarted(); } -- cgit v1.1