Loading core/java/android/hardware/location/ContextHubManager.java +1 −2 Original line number Diff line number Diff line Loading @@ -362,8 +362,7 @@ public final class ContextHubManager { public ContextHubManager(Context context, Looper mainLooper) throws ServiceNotFoundException { mMainLooper = mainLooper; mService = IContextHubService.Stub.asInterface( ServiceManager.getServiceOrThrow(ContextHubService.CONTEXTHUB_SERVICE)); ServiceManager.getServiceOrThrow(Context.CONTEXTHUB_SERVICE)); try { mService.registerCallback(mClientCallback); } catch (RemoteException e) { Loading core/jni/Android.mk +0 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,6 @@ LOCAL_SRC_FILES:= \ android_hardware_UsbDevice.cpp \ android_hardware_UsbDeviceConnection.cpp \ android_hardware_UsbRequest.cpp \ android_hardware_location_ContextHubService.cpp \ android_hardware_location_ActivityRecognitionHardware.cpp \ android_util_FileObserver.cpp \ android/opengl/poly_clip.cpp.arm \ Loading core/jni/AndroidRuntime.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -94,7 +94,6 @@ extern int register_android_hardware_UsbDevice(JNIEnv *env); extern int register_android_hardware_UsbDeviceConnection(JNIEnv *env); extern int register_android_hardware_UsbRequest(JNIEnv *env); extern int register_android_hardware_location_ActivityRecognitionHardware(JNIEnv* env); extern int register_android_hardware_location_ContextHubService(JNIEnv* env); extern int register_android_media_AudioRecord(JNIEnv *env); extern int register_android_media_AudioSystem(JNIEnv *env); Loading Loading @@ -1380,7 +1379,6 @@ static const RegJNIRec gRegJNI[] = { REG_JNI(register_android_hardware_UsbDeviceConnection), REG_JNI(register_android_hardware_UsbRequest), REG_JNI(register_android_hardware_location_ActivityRecognitionHardware), REG_JNI(register_android_hardware_location_ContextHubService), REG_JNI(register_android_media_AudioRecord), REG_JNI(register_android_media_AudioSystem), REG_JNI(register_android_media_AudioTrack), Loading preloaded-classes +0 −1 Original line number Diff line number Diff line Loading @@ -1006,7 +1006,6 @@ android.hardware.input.InputManager$InputDevicesChangedListener # android.hardware.location.IActivityRecognitionHardware # android.hardware.location.IActivityRecognitionHardware$Stub android.hardware.location.ContextHubManager android.hardware.location.ContextHubService android.hardware.location.IContextHubService android.hardware.location.IContextHubService$Stub android.hardware.radio.RadioManager Loading services/core/java/com/android/server/ContextHubSystemService.java +2 −2 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ package com.android.server; import android.hardware.location.ContextHubService; import com.android.server.location.ContextHubService; import android.content.Context; import android.util.Log; Loading @@ -37,7 +37,7 @@ class ContextHubSystemService extends SystemService { public void onBootPhase(int phase) { if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { Log.d(TAG, "onBootPhase: PHASE_SYSTEM_SERVICES_READY"); publishBinderService(ContextHubService.CONTEXTHUB_SERVICE, mContextHubService); publishBinderService(Context.CONTEXTHUB_SERVICE, mContextHubService); } } } Loading
core/java/android/hardware/location/ContextHubManager.java +1 −2 Original line number Diff line number Diff line Loading @@ -362,8 +362,7 @@ public final class ContextHubManager { public ContextHubManager(Context context, Looper mainLooper) throws ServiceNotFoundException { mMainLooper = mainLooper; mService = IContextHubService.Stub.asInterface( ServiceManager.getServiceOrThrow(ContextHubService.CONTEXTHUB_SERVICE)); ServiceManager.getServiceOrThrow(Context.CONTEXTHUB_SERVICE)); try { mService.registerCallback(mClientCallback); } catch (RemoteException e) { Loading
core/jni/Android.mk +0 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,6 @@ LOCAL_SRC_FILES:= \ android_hardware_UsbDevice.cpp \ android_hardware_UsbDeviceConnection.cpp \ android_hardware_UsbRequest.cpp \ android_hardware_location_ContextHubService.cpp \ android_hardware_location_ActivityRecognitionHardware.cpp \ android_util_FileObserver.cpp \ android/opengl/poly_clip.cpp.arm \ Loading
core/jni/AndroidRuntime.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -94,7 +94,6 @@ extern int register_android_hardware_UsbDevice(JNIEnv *env); extern int register_android_hardware_UsbDeviceConnection(JNIEnv *env); extern int register_android_hardware_UsbRequest(JNIEnv *env); extern int register_android_hardware_location_ActivityRecognitionHardware(JNIEnv* env); extern int register_android_hardware_location_ContextHubService(JNIEnv* env); extern int register_android_media_AudioRecord(JNIEnv *env); extern int register_android_media_AudioSystem(JNIEnv *env); Loading Loading @@ -1380,7 +1379,6 @@ static const RegJNIRec gRegJNI[] = { REG_JNI(register_android_hardware_UsbDeviceConnection), REG_JNI(register_android_hardware_UsbRequest), REG_JNI(register_android_hardware_location_ActivityRecognitionHardware), REG_JNI(register_android_hardware_location_ContextHubService), REG_JNI(register_android_media_AudioRecord), REG_JNI(register_android_media_AudioSystem), REG_JNI(register_android_media_AudioTrack), Loading
preloaded-classes +0 −1 Original line number Diff line number Diff line Loading @@ -1006,7 +1006,6 @@ android.hardware.input.InputManager$InputDevicesChangedListener # android.hardware.location.IActivityRecognitionHardware # android.hardware.location.IActivityRecognitionHardware$Stub android.hardware.location.ContextHubManager android.hardware.location.ContextHubService android.hardware.location.IContextHubService android.hardware.location.IContextHubService$Stub android.hardware.radio.RadioManager Loading
services/core/java/com/android/server/ContextHubSystemService.java +2 −2 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ package com.android.server; import android.hardware.location.ContextHubService; import com.android.server.location.ContextHubService; import android.content.Context; import android.util.Log; Loading @@ -37,7 +37,7 @@ class ContextHubSystemService extends SystemService { public void onBootPhase(int phase) { if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { Log.d(TAG, "onBootPhase: PHASE_SYSTEM_SERVICES_READY"); publishBinderService(ContextHubService.CONTEXTHUB_SERVICE, mContextHubService); publishBinderService(Context.CONTEXTHUB_SERVICE, mContextHubService); } } }