Loading core/java/android/app/AlarmManager.java +7 −2 Original line number Diff line number Diff line Loading @@ -201,6 +201,7 @@ public class AlarmManager { try { mService.remove(null, this); } catch (RemoteException ex) { throw ex.rethrowFromSystemServer(); } synchronized (AlarmManager.class) { Loading Loading @@ -656,6 +657,7 @@ public class AlarmManager { mService.set(mPackageName, type, triggerAtMillis, windowMillis, intervalMillis, flags, operation, recipientWrapper, listenerTag, workSource, alarmClock); } catch (RemoteException ex) { throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -886,6 +888,7 @@ public class AlarmManager { try { mService.remove(operation, null); } catch (RemoteException ex) { throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -926,6 +929,7 @@ public class AlarmManager { try { mService.setTime(millis); } catch (RemoteException ex) { throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -965,6 +969,7 @@ public class AlarmManager { try { mService.setTimeZone(timeZone); } catch (RemoteException ex) { throw ex.rethrowFromSystemServer(); } } Loading @@ -973,7 +978,7 @@ public class AlarmManager { try { return mService.getNextWakeFromIdleTime(); } catch (RemoteException ex) { return Long.MAX_VALUE; throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -1005,7 +1010,7 @@ public class AlarmManager { try { return mService.getNextAlarmClock(userId); } catch (RemoteException ex) { return null; throw ex.rethrowFromSystemServer(); } } Loading core/java/android/app/NotificationManager.java +3 −5 Original line number Diff line number Diff line Loading @@ -890,9 +890,8 @@ public class NotificationManager final List<StatusBarNotification> list = parceledList.getList(); return list.toArray(new StatusBarNotification[list.size()]); } catch (RemoteException e) { Log.e(TAG, "Unable to talk to notification manager. Woe!", e); throw e.rethrowFromSystemServer(); } return new StatusBarNotification[0]; } /** Loading @@ -913,9 +912,8 @@ public class NotificationManager try { return zenModeToInterruptionFilter(service.getZenMode()); } catch (RemoteException e) { Log.e(TAG, "Unable to talk to notification manager. Woe!", e); throw e.rethrowFromSystemServer(); } return INTERRUPTION_FILTER_UNKNOWN; } /** Loading @@ -936,7 +934,7 @@ public class NotificationManager try { service.setInterruptionFilter(mContext.getOpPackageName(), interruptionFilter); } catch (RemoteException e) { Log.e(TAG, "Unable to talk to notification manager. Woe!", e); throw e.rethrowFromSystemServer(); } } Loading core/java/android/app/SearchManager.java +8 −15 Original line number Diff line number Diff line Loading @@ -686,8 +686,7 @@ public class SearchManager try { return mService.getGlobalSearchActivities(); } catch (RemoteException ex) { Log.e(TAG, "getGlobalSearchActivities() failed: " + ex); return null; throw ex.rethrowFromSystemServer(); } } Loading @@ -698,8 +697,7 @@ public class SearchManager try { return mService.getGlobalSearchActivity(); } catch (RemoteException ex) { Log.e(TAG, "getGlobalSearchActivity() failed: " + ex); return null; throw ex.rethrowFromSystemServer(); } } Loading @@ -716,8 +714,7 @@ public class SearchManager try { return mService.getWebSearchActivity(); } catch (RemoteException ex) { Log.e(TAG, "getWebSearchActivity() failed: " + ex); return null; throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -850,8 +847,7 @@ public class SearchManager try { return mService.getSearchableInfo(componentName); } catch (RemoteException ex) { Log.e(TAG, "getSearchableInfo() failed: " + ex); return null; throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -935,8 +931,7 @@ public class SearchManager try { return mService.getSearchablesInGlobalSearch(); } catch (RemoteException e) { Log.e(TAG, "getSearchablesInGlobalSearch() failed: " + e); return null; throw e.rethrowFromSystemServer(); } } Loading @@ -958,8 +953,7 @@ public class SearchManager } return intent; } catch (RemoteException re) { Log.e(TAG, "getAssistIntent() failed: " + re); return null; throw re.rethrowFromSystemServer(); } } Loading @@ -977,7 +971,7 @@ public class SearchManager } mService.launchAssist(args); } catch (RemoteException re) { Log.e(TAG, "launchAssist() failed: " + re); throw re.rethrowFromSystemServer(); } } Loading @@ -995,8 +989,7 @@ public class SearchManager } return mService.launchLegacyAssist(hint, userHandle, args); } catch (RemoteException re) { Log.e(TAG, "launchAssist() failed: " + re); return false; throw re.rethrowFromSystemServer(); } } } core/java/android/app/StatusBarManager.java +8 −16 Original line number Diff line number Diff line Loading @@ -123,8 +123,7 @@ public class StatusBarManager { svc.disable(what, mToken, mContext.getPackageName()); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -141,8 +140,7 @@ public class StatusBarManager { svc.disable2(what, mToken, mContext.getPackageName()); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -156,8 +154,7 @@ public class StatusBarManager { svc.expandNotificationsPanel(); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -171,8 +168,7 @@ public class StatusBarManager { svc.collapsePanels(); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -193,8 +189,7 @@ public class StatusBarManager { svc.expandSettingsPanel(subPanel); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -206,8 +201,7 @@ public class StatusBarManager { contentDescription); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -218,8 +212,7 @@ public class StatusBarManager { svc.removeIcon(slot); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -230,8 +223,7 @@ public class StatusBarManager { svc.setIconVisibility(slot, visible); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading core/java/android/app/UiModeManager.java +7 −7 Original line number Diff line number Diff line Loading @@ -158,7 +158,7 @@ public class UiModeManager { try { mService.enableCarMode(flags); } catch (RemoteException e) { Log.e(TAG, "disableCarMode: RemoteException", e); throw e.rethrowFromSystemServer(); } } } Loading @@ -181,7 +181,7 @@ public class UiModeManager { try { mService.disableCarMode(flags); } catch (RemoteException e) { Log.e(TAG, "disableCarMode: RemoteException", e); throw e.rethrowFromSystemServer(); } } } Loading @@ -200,7 +200,7 @@ public class UiModeManager { try { return mService.getCurrentModeType(); } catch (RemoteException e) { Log.e(TAG, "getCurrentModeType: RemoteException", e); throw e.rethrowFromSystemServer(); } } return Configuration.UI_MODE_TYPE_NORMAL; Loading Loading @@ -233,7 +233,7 @@ public class UiModeManager { try { mService.setNightMode(mode); } catch (RemoteException e) { Log.e(TAG, "setNightMode: RemoteException", e); throw e.rethrowFromSystemServer(); } } } Loading @@ -257,7 +257,7 @@ public class UiModeManager { try { return mService.getNightMode(); } catch (RemoteException e) { Log.e(TAG, "getNightMode: RemoteException", e); throw e.rethrowFromSystemServer(); } } return -1; Loading @@ -272,7 +272,7 @@ public class UiModeManager { try { return mService.isUiModeLocked(); } catch (RemoteException e) { Log.e(TAG, "isUiModeLocked: RemoteException", e); throw e.rethrowFromSystemServer(); } } return true; Loading @@ -292,7 +292,7 @@ public class UiModeManager { try { return mService.isNightModeLocked(); } catch (RemoteException e) { Log.e(TAG, "isNightModeLocked: RemoteException", e); throw e.rethrowFromSystemServer(); } } return true; Loading Loading
core/java/android/app/AlarmManager.java +7 −2 Original line number Diff line number Diff line Loading @@ -201,6 +201,7 @@ public class AlarmManager { try { mService.remove(null, this); } catch (RemoteException ex) { throw ex.rethrowFromSystemServer(); } synchronized (AlarmManager.class) { Loading Loading @@ -656,6 +657,7 @@ public class AlarmManager { mService.set(mPackageName, type, triggerAtMillis, windowMillis, intervalMillis, flags, operation, recipientWrapper, listenerTag, workSource, alarmClock); } catch (RemoteException ex) { throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -886,6 +888,7 @@ public class AlarmManager { try { mService.remove(operation, null); } catch (RemoteException ex) { throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -926,6 +929,7 @@ public class AlarmManager { try { mService.setTime(millis); } catch (RemoteException ex) { throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -965,6 +969,7 @@ public class AlarmManager { try { mService.setTimeZone(timeZone); } catch (RemoteException ex) { throw ex.rethrowFromSystemServer(); } } Loading @@ -973,7 +978,7 @@ public class AlarmManager { try { return mService.getNextWakeFromIdleTime(); } catch (RemoteException ex) { return Long.MAX_VALUE; throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -1005,7 +1010,7 @@ public class AlarmManager { try { return mService.getNextAlarmClock(userId); } catch (RemoteException ex) { return null; throw ex.rethrowFromSystemServer(); } } Loading
core/java/android/app/NotificationManager.java +3 −5 Original line number Diff line number Diff line Loading @@ -890,9 +890,8 @@ public class NotificationManager final List<StatusBarNotification> list = parceledList.getList(); return list.toArray(new StatusBarNotification[list.size()]); } catch (RemoteException e) { Log.e(TAG, "Unable to talk to notification manager. Woe!", e); throw e.rethrowFromSystemServer(); } return new StatusBarNotification[0]; } /** Loading @@ -913,9 +912,8 @@ public class NotificationManager try { return zenModeToInterruptionFilter(service.getZenMode()); } catch (RemoteException e) { Log.e(TAG, "Unable to talk to notification manager. Woe!", e); throw e.rethrowFromSystemServer(); } return INTERRUPTION_FILTER_UNKNOWN; } /** Loading @@ -936,7 +934,7 @@ public class NotificationManager try { service.setInterruptionFilter(mContext.getOpPackageName(), interruptionFilter); } catch (RemoteException e) { Log.e(TAG, "Unable to talk to notification manager. Woe!", e); throw e.rethrowFromSystemServer(); } } Loading
core/java/android/app/SearchManager.java +8 −15 Original line number Diff line number Diff line Loading @@ -686,8 +686,7 @@ public class SearchManager try { return mService.getGlobalSearchActivities(); } catch (RemoteException ex) { Log.e(TAG, "getGlobalSearchActivities() failed: " + ex); return null; throw ex.rethrowFromSystemServer(); } } Loading @@ -698,8 +697,7 @@ public class SearchManager try { return mService.getGlobalSearchActivity(); } catch (RemoteException ex) { Log.e(TAG, "getGlobalSearchActivity() failed: " + ex); return null; throw ex.rethrowFromSystemServer(); } } Loading @@ -716,8 +714,7 @@ public class SearchManager try { return mService.getWebSearchActivity(); } catch (RemoteException ex) { Log.e(TAG, "getWebSearchActivity() failed: " + ex); return null; throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -850,8 +847,7 @@ public class SearchManager try { return mService.getSearchableInfo(componentName); } catch (RemoteException ex) { Log.e(TAG, "getSearchableInfo() failed: " + ex); return null; throw ex.rethrowFromSystemServer(); } } Loading Loading @@ -935,8 +931,7 @@ public class SearchManager try { return mService.getSearchablesInGlobalSearch(); } catch (RemoteException e) { Log.e(TAG, "getSearchablesInGlobalSearch() failed: " + e); return null; throw e.rethrowFromSystemServer(); } } Loading @@ -958,8 +953,7 @@ public class SearchManager } return intent; } catch (RemoteException re) { Log.e(TAG, "getAssistIntent() failed: " + re); return null; throw re.rethrowFromSystemServer(); } } Loading @@ -977,7 +971,7 @@ public class SearchManager } mService.launchAssist(args); } catch (RemoteException re) { Log.e(TAG, "launchAssist() failed: " + re); throw re.rethrowFromSystemServer(); } } Loading @@ -995,8 +989,7 @@ public class SearchManager } return mService.launchLegacyAssist(hint, userHandle, args); } catch (RemoteException re) { Log.e(TAG, "launchAssist() failed: " + re); return false; throw re.rethrowFromSystemServer(); } } }
core/java/android/app/StatusBarManager.java +8 −16 Original line number Diff line number Diff line Loading @@ -123,8 +123,7 @@ public class StatusBarManager { svc.disable(what, mToken, mContext.getPackageName()); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -141,8 +140,7 @@ public class StatusBarManager { svc.disable2(what, mToken, mContext.getPackageName()); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -156,8 +154,7 @@ public class StatusBarManager { svc.expandNotificationsPanel(); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -171,8 +168,7 @@ public class StatusBarManager { svc.collapsePanels(); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -193,8 +189,7 @@ public class StatusBarManager { svc.expandSettingsPanel(subPanel); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -206,8 +201,7 @@ public class StatusBarManager { contentDescription); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -218,8 +212,7 @@ public class StatusBarManager { svc.removeIcon(slot); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading @@ -230,8 +223,7 @@ public class StatusBarManager { svc.setIconVisibility(slot, visible); } } catch (RemoteException ex) { // system process is dead anyway. throw new RuntimeException(ex); throw ex.rethrowFromSystemServer(); } } Loading
core/java/android/app/UiModeManager.java +7 −7 Original line number Diff line number Diff line Loading @@ -158,7 +158,7 @@ public class UiModeManager { try { mService.enableCarMode(flags); } catch (RemoteException e) { Log.e(TAG, "disableCarMode: RemoteException", e); throw e.rethrowFromSystemServer(); } } } Loading @@ -181,7 +181,7 @@ public class UiModeManager { try { mService.disableCarMode(flags); } catch (RemoteException e) { Log.e(TAG, "disableCarMode: RemoteException", e); throw e.rethrowFromSystemServer(); } } } Loading @@ -200,7 +200,7 @@ public class UiModeManager { try { return mService.getCurrentModeType(); } catch (RemoteException e) { Log.e(TAG, "getCurrentModeType: RemoteException", e); throw e.rethrowFromSystemServer(); } } return Configuration.UI_MODE_TYPE_NORMAL; Loading Loading @@ -233,7 +233,7 @@ public class UiModeManager { try { mService.setNightMode(mode); } catch (RemoteException e) { Log.e(TAG, "setNightMode: RemoteException", e); throw e.rethrowFromSystemServer(); } } } Loading @@ -257,7 +257,7 @@ public class UiModeManager { try { return mService.getNightMode(); } catch (RemoteException e) { Log.e(TAG, "getNightMode: RemoteException", e); throw e.rethrowFromSystemServer(); } } return -1; Loading @@ -272,7 +272,7 @@ public class UiModeManager { try { return mService.isUiModeLocked(); } catch (RemoteException e) { Log.e(TAG, "isUiModeLocked: RemoteException", e); throw e.rethrowFromSystemServer(); } } return true; Loading @@ -292,7 +292,7 @@ public class UiModeManager { try { return mService.isNightModeLocked(); } catch (RemoteException e) { Log.e(TAG, "isNightModeLocked: RemoteException", e); throw e.rethrowFromSystemServer(); } } return true; Loading