Searched refs:shutdown (Results 1 - 25 of 108) sorted by path

12345

/frameworks/av/include/media/nbaio/
H A DMonoPipe.h72 // Set the shutdown state for the write side of a pipe.
73 // This may be called by an unrelated thread. When shutdown state is 'true',
75 // There is no guarantee how long it will take for the shutdown to be recognized,
77 // The state can be restored to normal by calling shutdown(false).
78 void shutdown(bool newState = true);
80 // Return true if the write side of a pipe is currently shutdown.
96 bool mIsShutdown; // whether shutdown(true) was called, no barriers are needed
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp170 void MonoPipe::shutdown(bool newState) function in class:android::MonoPipe
/frameworks/av/media/libnbaio/include_mono/media/nbaio/
H A DMonoPipe.h72 // Set the shutdown state for the write side of a pipe.
73 // This may be called by an unrelated thread. When shutdown state is 'true',
75 // There is no guarantee how long it will take for the shutdown to be recognized,
77 // The state can be restored to normal by calling shutdown(false).
78 void shutdown(bool newState = true);
80 // Return true if the write side of a pipe is currently shutdown.
96 bool mIsShutdown; // whether shutdown(true) was called, no barriers are needed
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp421 // Allow surface flinger to gracefully request shutdown
427 mCallbacks->shutdown();
H A DBootAnimation.h113 virtual void shutdown() {} function in class:android::BootAnimation::Callbacks
H A Dbootanimation_main.cpp132 void shutdown() override {
/frameworks/base/cmds/bootanimation/iot/
H A DBootAction.cpp80 // we will still call init and shutdown.
103 void BootAction::shutdown() { function in class:android::BootAction
H A DBootAction.h43 void shutdown();
H A Diotbootanimation_main.cpp61 void shutdown() override {
63 mBootAction->shutdown();
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DPowerCommand.java42 + " Perform a runtime shutdown and reboot device with specified reason.\n"
43 + " svc power shutdown\n"
44 + " Perform a runtime shutdown and power off the device.\n";
94 } else if ("shutdown".equals(args[1])) {
97 pm.shutdown(false, null, true);
99 maybeLogRemoteException("Failed to shutdown.");
108 // Check if remote exception is benign during shutdown. Pm can be killed
109 // before system server during shutdown, so remote exception can be ignored
110 // if it is already in shutdown flow.
/frameworks/base/core/java/android/app/
H A DIActivityManager.aidl222 boolean shutdown(int timeout);
H A DIUiAutomationConnection.aidl51 oneway void shutdown();
H A DUiAutomationConnection.java366 public void shutdown() { method in class:UiAutomationConnection
451 throw new IllegalStateException("Connection shutdown!");
/frameworks/base/core/java/android/content/
H A DContentProvider.java1977 * Android normally handles ContentProvider startup and shutdown
1994 public void shutdown() { method in class:ContentProvider
1995 Log.w(TAG, "implement ContentProvider shutdown() to make sure all database " +
1996 "connections are gracefully shutdown");
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java408 Os.shutdown(fd, OsConstants.SHUT_RD);
426 Os.shutdown(fd, OsConstants.SHUT_WR);
/frameworks/base/core/java/android/os/
H A DINetworkManagementService.aidl129 void shutdown();
H A DIPowerManager.aidl56 void shutdown(boolean confirm, String reason, boolean wait);
H A DPowerManager.java459 * constant for shutdown reason being unknown.
465 * constant for shutdown reason being normal shutdown.
471 * constant for shutdown reason being reboot.
477 * constant for shutdown reason being user requested.
483 * constant for shutdown reason being overheating.
1108 * @param confirm If true, shows a shutdown confirmation dialog.
1110 * @param wait If true, this call waits for the shutdown to complete and does not return.
1114 public void shutdown(boolean confirm, String reason, boolean wait) { method in class:PowerManager
1116 mService.shutdown(confir
[all...]
H A DRecoverySystem.java686 rebootWipeUserData(context, false /* shutdown */, context.getPackageName(),
692 rebootWipeUserData(context, false /* shutdown */, reason, false /* force */,
697 public static void rebootWipeUserData(Context context, boolean shutdown) argument
699 rebootWipeUserData(context, shutdown, context.getPackageName(), false /* force */,
704 public static void rebootWipeUserData(Context context, boolean shutdown, String reason, argument
706 rebootWipeUserData(context, shutdown, reason, force, false /* wipeEuicc */);
717 * @param shutdown if true, the device will be powered down after
731 public static void rebootWipeUserData(Context context, boolean shutdown, String reason, argument
757 if (shutdown) {
/frameworks/base/core/java/android/os/storage/
H A DIStorageManager.aidl136 * Invokes call back once the shutdown is complete.
138 void shutdown(IStorageShutdownObserver observer) = 19;
/frameworks/base/core/java/android/service/voice/
H A DIVoiceInteractionService.aidl25 void shutdown();
H A DVoiceInteractionService.java76 @Override public void shutdown() {
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java60 * When you are done using the TextToSpeech instance, call the {@link #shutdown()} method
839 public void shutdown() { method in class:TextToSpeech
840 // Special case, we are asked to shutdown connection that did finalize its connection.
867 }, null, "shutdown", false);
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java573 public void shutdown(boolean confirm); method in interface:WindowManagerPolicy.WindowManagerFuncs
/frameworks/base/core/java/com/android/internal/app/
H A DShutdownActivity.java55 pm.shutdown(mConfirm,
65 // Wait for us to tell the power manager to shutdown.

Completed in 581 milliseconds

12345