Searched refs:ShutdownThread (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
H A DShutdownThread.java60 public final class ShutdownThread extends Thread { class in inherits:Thread
62 private static final String TAG = "ShutdownThread";
97 private static final ShutdownThread sInstance = new ShutdownThread();
130 private ShutdownThread() { method in class:ShutdownThread
151 // ShutdownThread is called from many places, so best to verify here that the context passed
H A DPowerManagerService.java2738 ShutdownThread.rebootSafeMode(getUiContext(), confirm);
2740 ShutdownThread.reboot(getUiContext(), reason, confirm);
2742 ShutdownThread.shutdown(getUiContext(), reason, confirm);
2748 // ShutdownThread must run on a looper capable of displaying the UI.
3152 * to be clean. Most people should use {@link ShutdownThread} for a clean shutdown.
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerService.java51 import com.android.server.power.ShutdownThread;
947 // ShutdownThread displays UI, so give it a UI context.
949 ShutdownThread.shutdown(getUiContext(),
965 // ShutdownThread displays UI, so give it a UI context.
967 ShutdownThread.rebootSafeMode(getUiContext(), true);
969 ShutdownThread.reboot(getUiContext(),
/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonConnector.java33 import com.android.server.power.ShutdownThread;
150 ShutdownThread.SHUTDOWN_ACTION_PROPERTY, "");
H A DUiModeManagerService.java64 import com.android.server.power.ShutdownThread;
/frameworks/base/services/java/com/android/server/
H A DSystemServer.java105 import com.android.server.power.ShutdownThread;
469 ShutdownThread.SHUTDOWN_ACTION_PROPERTY, "");
508 ShutdownThread.rebootOrShutdown(null, reboot, reason);
513 // ShutdownThread must run on a looper capable of displaying the UI.
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java249 import com.android.server.power.ShutdownThread;
3274 // Pass in the UI context, since ShutdownThread requires it (to show UI).
3275 ShutdownThread.shutdown(ActivityThread.currentActivityThread().getSystemUiContext(),
3282 // Pass in the UI context, since ShutdownThread requires it (to show UI).
3283 ShutdownThread.reboot(ActivityThread.currentActivityThread().getSystemUiContext(),
3290 // Pass in the UI context, since ShutdownThread requires it (to show UI).
3291 ShutdownThread.rebootSafeMode(ActivityThread.currentActivityThread().getSystemUiContext(),
4502 if (SystemProperties.getInt(ShutdownThread.REBOOT_SAFEMODE_PROPERTY, 0) != 0
4503 || SystemProperties.getInt(ShutdownThread.RO_SAFEMODE_PROPERTY, 0) != 0) {
4505 SystemProperties.set(ShutdownThread
[all...]

Completed in 234 milliseconds