summaryrefslogtreecommitdiffstats
path: root/services/jni/onload.cpp
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-05-26 10:27:39 -0400
committerMike Lockwood <lockwood@android.com>2011-05-31 20:52:06 -0400
commit46d0adf8256a42416584765625852b6e48497c90 (patch)
tree1667e7010a36ad8023b466242388317fa3a06174 /services/jni/onload.cpp
parentb0aee3ee430ce79430ba16e53109840db5bc342a (diff)
downloadframeworks_base-46d0adf8256a42416584765625852b6e48497c90.zip
frameworks_base-46d0adf8256a42416584765625852b6e48497c90.tar.gz
frameworks_base-46d0adf8256a42416584765625852b6e48497c90.tar.bz2
UsbService: Refactor USB host and device support into two separate classes
Host support is in UsbHostManager, device support is in UsbDeviceManager Renamed UsbDeviceSettingsManager to UsbSettingsManager Change-Id: Ib76e72957c233fa7f08f454d4d9a2a1da6368cc7 Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'services/jni/onload.cpp')
-rw-r--r--services/jni/onload.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/jni/onload.cpp b/services/jni/onload.cpp
index 0c46eee..469e818 100644
--- a/services/jni/onload.cpp
+++ b/services/jni/onload.cpp
@@ -29,7 +29,8 @@ int register_android_server_InputWindowHandle(JNIEnv* env);
int register_android_server_InputManager(JNIEnv* env);
int register_android_server_LightsService(JNIEnv* env);
int register_android_server_PowerManagerService(JNIEnv* env);
-int register_android_server_UsbService(JNIEnv* env);
+int register_android_server_UsbDeviceManager(JNIEnv* env);
+int register_android_server_UsbHostManager(JNIEnv* env);
int register_android_server_VibratorService(JNIEnv* env);
int register_android_server_SystemServer(JNIEnv* env);
int register_android_server_location_GpsLocationProvider(JNIEnv* env);
@@ -57,7 +58,8 @@ extern "C" jint JNI_OnLoad(JavaVM* vm, void* reserved)
register_android_server_LightsService(env);
register_android_server_AlarmManagerService(env);
register_android_server_BatteryService(env);
- register_android_server_UsbService(env);
+ register_android_server_UsbDeviceManager(env);
+ register_android_server_UsbHostManager(env);
register_android_server_VibratorService(env);
register_android_server_SystemServer(env);
register_android_server_location_GpsLocationProvider(env);