- ACTION_HIDE_OVERLAYS - Static variable in class eu.chainfire.libsuperuser.HideOverlaysReceiver
-
- addCommand(String) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Add a command to execute
- addCommand(String, int, Shell.OnCommandResultListener) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Add a command to execute, with a callback to be called on completion
- addCommand(List<String>) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Add commands to execute
- addCommand(List<String>, int, Shell.OnCommandResultListener) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Add commands to execute, with a callback to be called on completion
(of all commands)
- addCommand(String[]) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Add commands to execute
- addCommand(String[], int, Shell.OnCommandResultListener) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Add commands to execute, with a callback to be called on completion
(of all commands)
- addCommand(String) - Method in class eu.chainfire.libsuperuser.Shell.Interactive
-
Add a command to execute
- addCommand(String, int, Shell.OnCommandResultListener) - Method in class eu.chainfire.libsuperuser.Shell.Interactive
-
Add a command to execute, with a callback to be called on completion
- addCommand(String, int, Shell.OnCommandLineListener) - Method in class eu.chainfire.libsuperuser.Shell.Interactive
-
Add a command to execute, with a callback.
- addCommand(List<String>) - Method in class eu.chainfire.libsuperuser.Shell.Interactive
-
Add commands to execute
- addCommand(List<String>, int, Shell.OnCommandResultListener) - Method in class eu.chainfire.libsuperuser.Shell.Interactive
-
Add commands to execute, with a callback to be called on completion
(of all commands)
- addCommand(List<String>, int, Shell.OnCommandLineListener) - Method in class eu.chainfire.libsuperuser.Shell.Interactive
-
Add commands to execute, with a callback.
- addCommand(String[]) - Method in class eu.chainfire.libsuperuser.Shell.Interactive
-
Add commands to execute
- addCommand(String[], int, Shell.OnCommandResultListener) - Method in class eu.chainfire.libsuperuser.Shell.Interactive
-
Add commands to execute, with a callback to be called on completion
(of all commands)
- addCommand(String[], int, Shell.OnCommandLineListener) - Method in class eu.chainfire.libsuperuser.Shell.Interactive
-
Add commands to execute, with a callback.
- addEnvironment(String, String) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Add or update an environment variable
- addEnvironment(Map<String, String>) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Add or update environment variables
- Application - Class in eu.chainfire.libsuperuser
-
Base application class to extend from, solving some issues with
toasts and AsyncTasks you are likely to run into
- Application() - Constructor for class eu.chainfire.libsuperuser.Application
-
- available() - Static method in class eu.chainfire.libsuperuser.Shell.SU
-
Detects whether or not superuser access is available, by checking the
output of the "id" command if available, checking if a shell runs at
all otherwise
- availableTestCommands - Static variable in class eu.chainfire.libsuperuser.Shell
-
- setAutoHandler(boolean) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Automatically create a handler if possible ? Default to true
- setDebug(boolean) - Static method in class eu.chainfire.libsuperuser.Debug
-
Enable or disable debug mode
- setHandler(Handler) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Set a custom handler that will be used to post all callbacks to
- setLogTypeEnabled(int, boolean) - Static method in class eu.chainfire.libsuperuser.Debug
-
Enable or disable logging specific types of message
- setMinimalLogging(boolean) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Enable/disable reduced logcat output
- setOnLogListener(Debug.OnLogListener) - Static method in class eu.chainfire.libsuperuser.Debug
-
Register a custom log handler
- setOnSTDERRLineListener(StreamGobbler.OnLineListener) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Set a callback called for every line output to STDERR by the shell
- setOnSTDOUTLineListener(StreamGobbler.OnLineListener) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Set a callback called for every line output to STDOUT by the shell
- setSanityChecksEnabled(boolean) - Static method in class eu.chainfire.libsuperuser.Debug
-
Enable or disable sanity checks
- setShell(String) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Set shell binary to use.
- setWantSTDERR(boolean) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Set if error output should be appended to command block result output
- setWatchdogTimeout(int) - Method in class eu.chainfire.libsuperuser.Shell.Builder
-
Enable command timeout callback
- SH() - Constructor for class eu.chainfire.libsuperuser.Shell.SH
-
- Shell - Class in eu.chainfire.libsuperuser
-
Class providing functionality to execute commands in a (root) shell
- Shell() - Constructor for class eu.chainfire.libsuperuser.Shell
-
- shell(int, String) - Static method in class eu.chainfire.libsuperuser.Shell.SU
-
Constructs a shell command to start a su shell using the supplied uid
and SELinux context.
- Shell.Builder - Class in eu.chainfire.libsuperuser
-
- Shell.Interactive - Class in eu.chainfire.libsuperuser
-
An interactive shell - initially created with
Shell.Builder -
that executes blocks of commands you supply in the background, optionally
calling callbacks as each block completes.
- Shell.OnCommandLineListener - Interface in eu.chainfire.libsuperuser
-
Command per line callback for parsing the output line by line without
buffering It also notifies the recipient of the completion of a command
block, including the (last) exit code.
- Shell.OnCommandResultListener - Interface in eu.chainfire.libsuperuser
-
Command result callback, notifies the recipient of the completion of a
command block, including the (last) exit code, and the full output
- Shell.SH - Class in eu.chainfire.libsuperuser
-
This class provides utility functions to easily execute commands using SH
- Shell.SU - Class in eu.chainfire.libsuperuser
-
This class provides utility functions to easily execute commands using SU
(root shell), as well as detecting whether or not root is available, and
if so which version.
- shellMountMaster() - Static method in class eu.chainfire.libsuperuser.Shell.SU
-
Constructs a shell command to start a su shell connected to mount
master daemon, to perform public mounts on Android 4.3+ (or 4.2+ in
SELinux enforcing mode)
- ShellNotClosedException - Exception in eu.chainfire.libsuperuser
-
Exception class used to notify developer that a shell was not close()d
- ShellNotClosedException() - Constructor for exception eu.chainfire.libsuperuser.ShellNotClosedException
-
- ShellOnMainThreadException - Exception in eu.chainfire.libsuperuser
-
Exception class used to crash application when shell commands are executed
from the main thread, and we are in debug mode.
- ShellOnMainThreadException(String) - Constructor for exception eu.chainfire.libsuperuser.ShellOnMainThreadException
-
- StreamGobbler - Class in eu.chainfire.libsuperuser
-
Thread utility class continuously reading from an InputStream
- StreamGobbler(String, InputStream, List<String>) - Constructor for class eu.chainfire.libsuperuser.StreamGobbler
-
StreamGobbler constructor
- StreamGobbler(String, InputStream, StreamGobbler.OnLineListener) - Constructor for class eu.chainfire.libsuperuser.StreamGobbler
-
StreamGobbler constructor
- StreamGobbler.OnLineListener - Interface in eu.chainfire.libsuperuser
-
Line callback interface
- SU() - Constructor for class eu.chainfire.libsuperuser.Shell.SU
-