Searched defs:reboot (Results 1 - 4 of 4) sorted by relevance
/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/base/core/java/android/os/ |
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);
|
Completed in 3122 milliseconds