Lines Matching defs:shutdown

57     // maximum time we wait for the shutdown broadcast before going on.
73 // Provides shutdown assurance in case the system_server is killed
74 public static final String SHUTDOWN_ACTION_PROPERTY = "sys.shutdown.requested";
101 * Request a clean shutdown, waiting for subsystems to clean up their
105 * @param context Context used to display the shutdown progress dialog.
108 public static void shutdown(final Context context, boolean confirm) {
119 Log.d(TAG, "Request to shutdown already running, returning.");
132 Log.d(TAG, "Notifying thread to start shutdown longPressBehavior=" + longPressBehavior);
182 * Request a clean shutdown, waiting for subsystems to clean up their
186 * @param context Context used to display the shutdown progress dialog.
201 * @param context Context used to display the shutdown progress dialog.
260 // start the thread that initiates shutdown
274 * Makes sure we handle the shutdown gracefully.
303 Log.i(TAG, "Sending shutdown broadcast...");
333 am.shutdown(MAX_BROADCAST_TIME);
343 pm.shutdown();
352 Log.w(TAG, "Result code " + statusCode + " from MountService.shutdown");
367 mount.shutdown(observer);
369 Log.w(TAG, "MountService unavailable for shutdown");
372 Log.e(TAG, "Exception during MountService shutdown", e);
417 Log.e(TAG, "RemoteException during NFC shutdown", ex);
428 Log.e(TAG, "RemoteException during bluetooth shutdown", ex);
439 Log.e(TAG, "RemoteException during radio shutdown", ex);
450 Log.e(TAG, "RemoteException during bluetooth shutdown", ex);
461 Log.e(TAG, "RemoteException during radio shutdown", ex);
472 Log.e(TAG, "RemoteException during NFC shutdown", ex);
481 Log.i(TAG, "NFC, Radio and Bluetooth shutdown complete.");
496 Log.w(TAG, "Timed out waiting for NFC, Radio and Bluetooth shutdown.");
502 * or {@link #shutdown(Context, boolean)} instead.
504 * @param reboot true to reboot or false to shutdown
511 Log.e(TAG, "Reboot failed, will attempt shutdown instead");
518 // Failure to vibrate shouldn't interrupt shutdown. Just log it.
519 Log.w(TAG, "Failed to vibrate during shutdown.", e);
530 Log.i(TAG, "Performing low-level shutdown...");