Searched refs:reboot (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/os/
H A DIPowerManager.aidl42 void reboot(boolean confirm, String reason, boolean wait);
H A DPowerManager.java593 * Reboot the device. Will not return if the reboot is successful.
601 public void reboot(String reason) { method in class:PowerManager
603 mService.reboot(false, reason, true);
H A DRecoverySystem.java329 * fails, or if the reboot itself fails.
350 * fails, or if the reboot itself fails.
397 // Having written the command file, go ahead and reboot
399 pm.reboot("recovery");
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DPowerCommand.java40 + " 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/services/java/com/android/server/
H A DShutdownActivity.java53 pm.reboot(mConfirm, null, false);
H A DWatchdog.java294 * Perform a full reboot of the system.
299 pms.reboot(false, reason, false);
H A DSystemServer.java109 boolean reboot = (shutdownAction.charAt(0) == '1');
118 ShutdownThread.rebootOrShutdown(reboot, reason);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePowerManager.java69 public void reboot(boolean confirm, String reason, boolean wait) { method in class:BridgePowerManager
/frameworks/base/services/java/com/android/server/power/
H A DShutdownThread.java183 public static void reboot(final Context context, String reason, boolean confirm) { method in class:ShutdownThread
191 * Request a reboot into safe mode. Must be called from a Looper thread in which its UI
486 * Do not call this directly. Use {@link #reboot(Context, String, boolean)}
489 * @param reboot true to reboot or false to shutdown
490 * @param reason reason for reboot
492 public static void rebootOrShutdown(boolean reboot, String reason) { argument
493 if (reboot) {
H A DPowerManagerService.java1888 * @param confirm If true, shows a reboot confirmation dialog.
1889 * @param reason The reason for the reboot, or null if none.
1890 * @param wait If true, this call waits for the reboot to complete and does not return.
1893 public void reboot(boolean confirm, String reason, boolean wait) { method in class:PowerManagerService
1925 throw new IllegalStateException("Too early to call shutdown() or reboot()");
1935 ShutdownThread.reboot(mContext, reason, confirm);
1946 // PowerManager.reboot() is documented not to return so just wait for the inevitable.
2240 * Low-level function to reboot the device. On success, this function
2242 * a reboot is requested, this method returns.
2250 SystemProperties.set("sys.powerctl", "reboot,"
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCard.java233 // and has to reboot. We may want to add a property,
250 pm.reboot("SIM is added.");

Completed in 5220 milliseconds