/frameworks/base/core/java/android/os/ |
H A D | IPowerManager.aidl | 48 void reboot(boolean confirm, String reason, boolean wait);
|
H A D | PowerManager.java | 379 * The value to pass as the 'reason' argument to reboot() to 380 * reboot into recovery mode (for applying system updates, doing 838 * Reboot the device. Will not return if the reboot is successful. 846 public void reboot(String reason) { method in class:PowerManager 848 mService.reboot(false, reason, true);
|
H A D | RecoverySystem.java | 332 * fails, or if the reboot itself fails. 367 * fails, or if the reboot itself fails. 398 * fails, or if the reboot itself fails. 480 // Having written the command file, go ahead and reboot 482 pm.reboot(PowerManager.REBOOT_RECOVERY);
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
H A D | PowerCommand.java | 40 + " svc power reboot [reason]\n" 41 + " Perform a runtime shutdown and reboot device with specified reason.\n" 81 } else if ("reboot".equals(args[1])) { 88 pm.reboot(false, mode, true); 90 System.err.println("Failed to reboot.");
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ShutdownActivity.java | 50 pm.reboot(mConfirm, null, false);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgePowerManager.java | 84 public void reboot(boolean confirm, String reason, boolean wait) { method in class:BridgePowerManager
|
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | ShutdownThread.java | 211 public static void reboot(final Context context, String reason, boolean confirm) { method in class:ShutdownThread 220 * Request a reboot into safe mode. Must be called from a Looper thread in which its UI 260 // Path 3: Regular reboot / shutdown 472 // If it's to reboot to install update, invoke uncrypt via init service. 614 * Do not call this directly. Use {@link #reboot(Context, String, boolean)} 618 * @param reboot true to reboot or false to shutdown 619 * @param reason reason for reboot 621 public static void rebootOrShutdown(final Context context, boolean reboot, String reason) { argument 622 if (reboot) { [all...] |
H A D | PowerManagerService.java | 2264 throw new IllegalStateException("Too early to call shutdown() or reboot()"); 2274 ShutdownThread.reboot(mContext, reason, confirm); 2285 // PowerManager.reboot() is documented not to return so just wait for the inevitable. 2555 * Low-level function to reboot the device. On success, this 2557 * the time a reboot is requested, this method returns. 2569 // recovery and then reboot for us. 2572 SystemProperties.set("sys.powerctl", "reboot," + reason); 3254 * @param confirm If true, shows a reboot confirmation dialog. 3255 * @param reason The reason for the reboot, or null if none. 3256 * @param wait If true, this call waits for the reboot t 3259 public void reboot(boolean confirm, String reason, boolean wait) { method in class:PowerManagerService.BinderService [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | Watchdog.java | 299 * Perform a full reboot of the system. 305 pms.reboot(false, reason, false);
|
/frameworks/base/services/java/com/android/server/ |
H A D | SystemServer.java | 296 boolean reboot = (shutdownAction.charAt(0) == '1'); 305 ShutdownThread.rebootOrShutdown(null, reboot, reason);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | UiccCard.java | 312 // and has to reboot. We may want to add a property, 329 pm.reboot("SIM is added.");
|