Searched defs:reboot (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
H A DShutdownThread.java211 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 DPowerManagerService.java2264 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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePowerManager.java84 public void reboot(boolean confirm, String reason, boolean wait) { method in class:BridgePowerManager
/frameworks/base/core/java/android/os/
H A DPowerManager.java379 * 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);

Completed in 179 milliseconds