Loading services/java/com/android/server/InputMethodManagerService.java +3 −3 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ import com.android.internal.view.IInputMethodSession; import com.android.internal.view.InputBindResult; import com.android.server.status.IconData; import com.android.server.status.StatusBarService; import com.android.server.status.StatusBarManagerService; import org.xmlpull.v1.XmlPullParserException; Loading Loading @@ -110,7 +110,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub final Context mContext; final Handler mHandler; final SettingsObserver mSettingsObserver; final StatusBarService mStatusBar; final StatusBarManagerService mStatusBar; final IBinder mInputMethodIcon; final IconData mInputMethodData; final IWindowManager mIWindowManager; Loading Loading @@ -447,7 +447,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub } } public InputMethodManagerService(Context context, StatusBarService statusBar) { public InputMethodManagerService(Context context, StatusBarManagerService statusBar) { mContext = context; mHandler = new Handler(this); mIWindowManager = IWindowManager.Stub.asInterface( Loading services/java/com/android/server/NotificationManagerService.java +10 −10 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ package com.android.server; import com.android.server.status.IconData; import com.android.server.status.NotificationData; import com.android.server.status.StatusBarService; import com.android.server.status.StatusBarManagerService; import android.app.ActivityManagerNative; import android.app.IActivityManager; Loading Loading @@ -86,7 +86,7 @@ class NotificationManagerService extends INotificationManager.Stub final IBinder mForegroundToken = new Binder(); private WorkerHandler mHandler; private StatusBarService mStatusBarService; private StatusBarManagerService mStatusBar; private LightsService mLightsService; private LightsService.Light mBatteryLight; private LightsService.Light mNotificationLight; Loading Loading @@ -238,8 +238,8 @@ class NotificationManagerService extends INotificationManager.Stub } } private StatusBarService.NotificationCallbacks mNotificationCallbacks = new StatusBarService.NotificationCallbacks() { private StatusBarManagerService.NotificationCallbacks mNotificationCallbacks = new StatusBarManagerService.NotificationCallbacks() { public void onSetDisabled(int status) { synchronized (mNotificationList) { Loading Loading @@ -405,7 +405,7 @@ class NotificationManagerService extends INotificationManager.Stub } } NotificationManagerService(Context context, StatusBarService statusBar, NotificationManagerService(Context context, StatusBarManagerService statusBar, LightsService lights) { super(); Loading @@ -417,7 +417,7 @@ class NotificationManagerService extends INotificationManager.Stub mToastQueue = new ArrayList<ToastRecord>(); mHandler = new WorkerHandler(); mStatusBarService = statusBar; mStatusBar = statusBar; statusBar.setNotificationCallbacks(mNotificationCallbacks); mBatteryLight = lights.getLight(LightsService.LIGHT_ID_BATTERY); Loading Loading @@ -734,7 +734,7 @@ class NotificationManagerService extends INotificationManager.Stub r.statusBarKey = old.statusBarKey; long identity = Binder.clearCallingIdentity(); try { mStatusBarService.updateIcon(r.statusBarKey, icon, n); mStatusBar.updateIcon(r.statusBarKey, icon, n); } finally { Binder.restoreCallingIdentity(identity); Loading @@ -742,7 +742,7 @@ class NotificationManagerService extends INotificationManager.Stub } else { long identity = Binder.clearCallingIdentity(); try { r.statusBarKey = mStatusBarService.addIcon(icon, n); r.statusBarKey = mStatusBar.addIcon(icon, n); mAttentionLight.pulse(); } finally { Loading @@ -756,7 +756,7 @@ class NotificationManagerService extends INotificationManager.Stub if (old != null && old.statusBarKey != null) { long identity = Binder.clearCallingIdentity(); try { mStatusBarService.removeIcon(old.statusBarKey); mStatusBar.removeIcon(old.statusBarKey); } finally { Binder.restoreCallingIdentity(identity); Loading Loading @@ -864,7 +864,7 @@ class NotificationManagerService extends INotificationManager.Stub if (r.notification.icon != 0) { long identity = Binder.clearCallingIdentity(); try { mStatusBarService.removeIcon(r.statusBarKey); mStatusBar.removeIcon(r.statusBarKey); } finally { Binder.restoreCallingIdentity(identity); Loading services/java/com/android/server/SystemServer.java +5 −5 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ package com.android.server; import com.android.server.am.ActivityManagerService; import com.android.server.status.StatusBarService; import com.android.server.status.StatusBarManagerService; import com.android.internal.os.BinderInternal; import com.android.internal.os.SamplingProfilerIntegration; Loading Loading @@ -206,7 +206,7 @@ class ServerThread extends Thread { } DevicePolicyManagerService devicePolicy = null; StatusBarService statusBar = null; StatusBarManagerService statusBar = null; InputMethodManagerService imm = null; AppWidgetService appWidget = null; NotificationManagerService notification = null; Loading @@ -224,10 +224,10 @@ class ServerThread extends Thread { try { Slog.i(TAG, "Status Bar"); statusBar = new StatusBarService(context); statusBar = new StatusBarManagerService(context); ServiceManager.addService(Context.STATUS_BAR_SERVICE, statusBar); } catch (Throwable e) { Slog.e(TAG, "Failure starting StatusBarService", e); Slog.e(TAG, "Failure starting StatusBarManagerService", e); } try { Loading Loading @@ -464,7 +464,7 @@ class ServerThread extends Thread { } // These are needed to propagate to the runnable below. final StatusBarService statusBarF = statusBar; final StatusBarManagerService statusBarF = statusBar; final BatteryService batteryF = battery; final ConnectivityService connectivityF = connectivity; final DockObserver dockF = dock; Loading services/java/com/android/server/UiModeManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -545,7 +545,7 @@ class UiModeManagerService extends IUiModeManager.Stub { mStatusBarManager = (StatusBarManager) mContext.getSystemService(Context.STATUS_BAR_SERVICE); } // Fear not: StatusBarService manages a list of requests to disable // Fear not: StatusBarManagerService manages a list of requests to disable // features of the status bar; these are ORed together to form the // active disabled list. So if (for example) the device is locked and // the status bar should be totally disabled, the calls below will Loading services/java/com/android/server/status/CloseDragHandle.java +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ import android.widget.LinearLayout; public class CloseDragHandle extends LinearLayout { StatusBarService mService; StatusBarManagerService mService; public CloseDragHandle(Context context, AttributeSet attrs) { super(context, attrs); Loading Loading
services/java/com/android/server/InputMethodManagerService.java +3 −3 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ import com.android.internal.view.IInputMethodSession; import com.android.internal.view.InputBindResult; import com.android.server.status.IconData; import com.android.server.status.StatusBarService; import com.android.server.status.StatusBarManagerService; import org.xmlpull.v1.XmlPullParserException; Loading Loading @@ -110,7 +110,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub final Context mContext; final Handler mHandler; final SettingsObserver mSettingsObserver; final StatusBarService mStatusBar; final StatusBarManagerService mStatusBar; final IBinder mInputMethodIcon; final IconData mInputMethodData; final IWindowManager mIWindowManager; Loading Loading @@ -447,7 +447,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub } } public InputMethodManagerService(Context context, StatusBarService statusBar) { public InputMethodManagerService(Context context, StatusBarManagerService statusBar) { mContext = context; mHandler = new Handler(this); mIWindowManager = IWindowManager.Stub.asInterface( Loading
services/java/com/android/server/NotificationManagerService.java +10 −10 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ package com.android.server; import com.android.server.status.IconData; import com.android.server.status.NotificationData; import com.android.server.status.StatusBarService; import com.android.server.status.StatusBarManagerService; import android.app.ActivityManagerNative; import android.app.IActivityManager; Loading Loading @@ -86,7 +86,7 @@ class NotificationManagerService extends INotificationManager.Stub final IBinder mForegroundToken = new Binder(); private WorkerHandler mHandler; private StatusBarService mStatusBarService; private StatusBarManagerService mStatusBar; private LightsService mLightsService; private LightsService.Light mBatteryLight; private LightsService.Light mNotificationLight; Loading Loading @@ -238,8 +238,8 @@ class NotificationManagerService extends INotificationManager.Stub } } private StatusBarService.NotificationCallbacks mNotificationCallbacks = new StatusBarService.NotificationCallbacks() { private StatusBarManagerService.NotificationCallbacks mNotificationCallbacks = new StatusBarManagerService.NotificationCallbacks() { public void onSetDisabled(int status) { synchronized (mNotificationList) { Loading Loading @@ -405,7 +405,7 @@ class NotificationManagerService extends INotificationManager.Stub } } NotificationManagerService(Context context, StatusBarService statusBar, NotificationManagerService(Context context, StatusBarManagerService statusBar, LightsService lights) { super(); Loading @@ -417,7 +417,7 @@ class NotificationManagerService extends INotificationManager.Stub mToastQueue = new ArrayList<ToastRecord>(); mHandler = new WorkerHandler(); mStatusBarService = statusBar; mStatusBar = statusBar; statusBar.setNotificationCallbacks(mNotificationCallbacks); mBatteryLight = lights.getLight(LightsService.LIGHT_ID_BATTERY); Loading Loading @@ -734,7 +734,7 @@ class NotificationManagerService extends INotificationManager.Stub r.statusBarKey = old.statusBarKey; long identity = Binder.clearCallingIdentity(); try { mStatusBarService.updateIcon(r.statusBarKey, icon, n); mStatusBar.updateIcon(r.statusBarKey, icon, n); } finally { Binder.restoreCallingIdentity(identity); Loading @@ -742,7 +742,7 @@ class NotificationManagerService extends INotificationManager.Stub } else { long identity = Binder.clearCallingIdentity(); try { r.statusBarKey = mStatusBarService.addIcon(icon, n); r.statusBarKey = mStatusBar.addIcon(icon, n); mAttentionLight.pulse(); } finally { Loading @@ -756,7 +756,7 @@ class NotificationManagerService extends INotificationManager.Stub if (old != null && old.statusBarKey != null) { long identity = Binder.clearCallingIdentity(); try { mStatusBarService.removeIcon(old.statusBarKey); mStatusBar.removeIcon(old.statusBarKey); } finally { Binder.restoreCallingIdentity(identity); Loading Loading @@ -864,7 +864,7 @@ class NotificationManagerService extends INotificationManager.Stub if (r.notification.icon != 0) { long identity = Binder.clearCallingIdentity(); try { mStatusBarService.removeIcon(r.statusBarKey); mStatusBar.removeIcon(r.statusBarKey); } finally { Binder.restoreCallingIdentity(identity); Loading
services/java/com/android/server/SystemServer.java +5 −5 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ package com.android.server; import com.android.server.am.ActivityManagerService; import com.android.server.status.StatusBarService; import com.android.server.status.StatusBarManagerService; import com.android.internal.os.BinderInternal; import com.android.internal.os.SamplingProfilerIntegration; Loading Loading @@ -206,7 +206,7 @@ class ServerThread extends Thread { } DevicePolicyManagerService devicePolicy = null; StatusBarService statusBar = null; StatusBarManagerService statusBar = null; InputMethodManagerService imm = null; AppWidgetService appWidget = null; NotificationManagerService notification = null; Loading @@ -224,10 +224,10 @@ class ServerThread extends Thread { try { Slog.i(TAG, "Status Bar"); statusBar = new StatusBarService(context); statusBar = new StatusBarManagerService(context); ServiceManager.addService(Context.STATUS_BAR_SERVICE, statusBar); } catch (Throwable e) { Slog.e(TAG, "Failure starting StatusBarService", e); Slog.e(TAG, "Failure starting StatusBarManagerService", e); } try { Loading Loading @@ -464,7 +464,7 @@ class ServerThread extends Thread { } // These are needed to propagate to the runnable below. final StatusBarService statusBarF = statusBar; final StatusBarManagerService statusBarF = statusBar; final BatteryService batteryF = battery; final ConnectivityService connectivityF = connectivity; final DockObserver dockF = dock; Loading
services/java/com/android/server/UiModeManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -545,7 +545,7 @@ class UiModeManagerService extends IUiModeManager.Stub { mStatusBarManager = (StatusBarManager) mContext.getSystemService(Context.STATUS_BAR_SERVICE); } // Fear not: StatusBarService manages a list of requests to disable // Fear not: StatusBarManagerService manages a list of requests to disable // features of the status bar; these are ORed together to form the // active disabled list. So if (for example) the device is locked and // the status bar should be totally disabled, the calls below will Loading
services/java/com/android/server/status/CloseDragHandle.java +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ import android.widget.LinearLayout; public class CloseDragHandle extends LinearLayout { StatusBarService mService; StatusBarManagerService mService; public CloseDragHandle(Context context, AttributeSet attrs) { super(context, attrs); Loading