Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/
DSystemServer.java636 final String shutdownAction = SystemProperties.get( in performPendingShutdown() local
638 if (shutdownAction != null && shutdownAction.length() > 0) { in performPendingShutdown()
639 boolean reboot = (shutdownAction.charAt(0) == '1'); in performPendingShutdown()
642 if (shutdownAction.length() > 1) { in performPendingShutdown()
643 reason = shutdownAction.substring(1, shutdownAction.length()); in performPendingShutdown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java601 ShutDownAction shutdownAction = new ShutDownAction(); in createActionItems() local
620 addIfShouldShowAction(tempActions, shutdownAction); in createActionItems()
665 if (tempActions.contains(shutdownAction) && tempActions.contains(restartAction) in createActionItems()
669 tempActions.indexOf(shutdownAction)); in createActionItems()
670 tempActions.remove(shutdownAction); in createActionItems()
672 mPowerItems.add(shutdownAction); in createActionItems()