Package | Description |
---|---|
cn.trinea.android.common.util |
Modifier and Type | Method and Description |
---|---|
static ShellUtils.CommandResult |
ShellUtils.execCommand(java.util.List<java.lang.String> commands,
boolean isRoot)
execute shell commands, default return result msg
|
static ShellUtils.CommandResult |
ShellUtils.execCommand(java.util.List<java.lang.String> commands,
boolean isRoot,
boolean isNeedResultMsg)
execute shell commands
|
static ShellUtils.CommandResult |
ShellUtils.execCommand(java.lang.String[] commands,
boolean isRoot)
execute shell commands, default return result msg
|
static ShellUtils.CommandResult |
ShellUtils.execCommand(java.lang.String[] commands,
boolean isRoot,
boolean isNeedResultMsg)
execute shell commands
|
static ShellUtils.CommandResult |
ShellUtils.execCommand(java.lang.String command,
boolean isRoot)
execute shell command, default return result msg
|
static ShellUtils.CommandResult |
ShellUtils.execCommand(java.lang.String command,
boolean isRoot,
boolean isNeedResultMsg)
execute shell command
|