Home
last modified time | relevance | path

Searched refs:shutdownAction (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java587 ShutDownAction shutdownAction = new ShutDownAction(); in createActionItems() local
606 addIfShouldShowAction(tempActions, shutdownAction); in createActionItems()
656 if (tempActions.contains(shutdownAction) && tempActions.contains(restartAction) in createActionItems()
660 tempActions.indexOf(shutdownAction)); in createActionItems()
661 tempActions.remove(shutdownAction); in createActionItems()
663 mPowerItems.add(shutdownAction); in createActionItems()
/frameworks/base/services/java/com/android/server/
DSystemServer.java982 final String shutdownAction = SystemProperties.get( in performPendingShutdown() local
984 if (shutdownAction != null && shutdownAction.length() > 0) { in performPendingShutdown()
985 boolean reboot = (shutdownAction.charAt(0) == '1'); in performPendingShutdown()
988 if (shutdownAction.length() > 1) { in performPendingShutdown()
989 reason = shutdownAction.substring(1, shutdownAction.length()); in performPendingShutdown()