Searched refs:reboot (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/core/java/android/os/ |
H A D | IPowerManager.aidl | 40 void reboot(boolean confirm, String reason, boolean wait);
|
H A D | PowerManager.java | 591 * Reboot the device. Will not return if the reboot is successful. 599 public void reboot(String reason) { method in class:PowerManager 601 mService.reboot(false, reason, true);
|
H A D | RecoverySystem.java | 324 * fails, or if the reboot itself fails. 345 * fails, or if the reboot itself fails. 392 // Having written the command file, go ahead and reboot 394 pm.reboot("recovery");
|
/frameworks/base/services/java/com/android/server/ |
H A D | ShutdownActivity.java | 53 pm.reboot(mConfirm, null, false);
|
H A D | Watchdog.java | 65 static final int REBOOT_DEFAULT_INTERVAL = DB ? 1 : 0; // never force reboot 103 boolean mReqRebootNoWait; // should wait for one interval before reboot? 104 int mReqRebootInterval = -1; // >= 0 if a reboot has been requested 119 // See if we should force a reboot. 124 // We have been running long enough that a reboot can 147 if (localLOGV) Slog.v(TAG, "Alarm went off, checking reboot."); 230 // No reboot interval requested. 231 if (localLOGV) Slog.v(TAG, "No need to schedule a reboot alarm!"); 257 // No reboot window -- just immediately reboot [all...] |
H A D | SystemServer.java | 105 boolean reboot = (shutdownAction.charAt(0) == '1'); 114 ShutdownThread.rebootOrShutdown(reboot, reason);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgePowerManager.java | 63 public void reboot(boolean confirm, String reason, boolean wait) { method in class:BridgePowerManager
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | ShutdownThread.java | 183 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 484 * Do not call this directly. Use {@link #reboot(Context, String, boolean)} 487 * @param reboot true to reboot or false to shutdown 488 * @param reason reason for reboot 490 public static void rebootOrShutdown(boolean reboot, String reason) { argument 491 if (reboot) {
|
H A D | PowerManagerService.java | 1783 * @param confirm If true, shows a reboot confirmation dialog. 1784 * @param reason The reason for the reboot, or null if none. 1785 * @param wait If true, this call waits for the reboot to complete and does not return. 1788 public void reboot(boolean confirm, String reason, boolean wait) { method in class:PowerManagerService 1820 throw new IllegalStateException("Too early to call shutdown() or reboot()"); 1830 ShutdownThread.reboot(mContext, reason, confirm); 1841 // PowerManager.reboot() is documented not to return so just wait for the inevitable. 2135 * Low-level function to reboot the device. 2138 * @throws IOException if reboot fails for some reason (eg, lack of
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | UiccCard.java | 234 // and has to reboot. We may want to add a property, 251 pm.reboot("SIM is added.");
|
Completed in 459 milliseconds