Lines Matching refs:reboot
1888 * @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) {
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," + reason);