Skip navigation links
A B C E G H I K L M N O P R S T U V W 

A

add(Command) - Method in class com.chrisplus.rootmanager.container.Shell
 

B

build() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 

C

checkUIThread() - Static method in class com.chrisplus.rootmanager.utils.RootUtils
To check if the caller is on the ui thread, throw exception if it calls on UI thread.
close() - Method in class com.chrisplus.rootmanager.container.Shell
 
closeAll() - Static method in class com.chrisplus.rootmanager.container.Shell
 
closeCustomShell() - Static method in class com.chrisplus.rootmanager.container.Shell
 
closeRootShell() - Static method in class com.chrisplus.rootmanager.container.Shell
 
com.chrisplus.rootmanager - package com.chrisplus.rootmanager
 
com.chrisplus.rootmanager.container - package com.chrisplus.rootmanager.container
 
com.chrisplus.rootmanager.exception - package com.chrisplus.rootmanager.exception
 
com.chrisplus.rootmanager.utils - package com.chrisplus.rootmanager.utils
 
Command - Class in com.chrisplus.rootmanager.container
 
Command(String...) - Constructor for class com.chrisplus.rootmanager.container.Command
 
Command(int, String...) - Constructor for class com.chrisplus.rootmanager.container.Command
 
COMMAND_INSTALL - Static variable in class com.chrisplus.rootmanager.Constants
The command string for install app
COMMAND_INSTALL_LOCATION_EXTERNAL - Static variable in class com.chrisplus.rootmanager.Constants
Install apps on SD-card.
COMMAND_INSTALL_LOCATION_INTERNAL - Static variable in class com.chrisplus.rootmanager.Constants
Install apps on phone RAM.
COMMAND_INSTALL_PATCH - Static variable in class com.chrisplus.rootmanager.Constants
The patch for some android versions and devices.
COMMAND_KILL - Static variable in class com.chrisplus.rootmanager.Constants
The command string for kill process.
COMMAND_PIDOF - Static variable in class com.chrisplus.rootmanager.Constants
The command string for find pid of a process.
COMMAND_PS - Static variable in class com.chrisplus.rootmanager.Constants
The command string for processing show.
COMMAND_SCREENCAP - Static variable in class com.chrisplus.rootmanager.Constants
The command string for screen cap.
COMMAND_SCREENRECORD - Static variable in class com.chrisplus.rootmanager.Constants
The command string for screen record.
COMMAND_TIMEOUT - Static variable in class com.chrisplus.rootmanager.Constants
The default command timeout is 5 min.
COMMAND_UNINSTALL - Static variable in class com.chrisplus.rootmanager.Constants
The command string for uninstall app.
Constants - Class in com.chrisplus.rootmanager
 
Constants() - Constructor for class com.chrisplus.rootmanager.Constants
 
copyFile(String, String) - Method in class com.chrisplus.rootmanager.RootManager
Copy a file into destination dir.
countCommands() - Method in class com.chrisplus.rootmanager.container.Shell
 

E

exit - Variable in class com.chrisplus.rootmanager.container.Shell.Worker
 

G

generateCommandID() - Static method in class com.chrisplus.rootmanager.utils.RootUtils
Get a command Id for each Command.
getCommand() - Method in class com.chrisplus.rootmanager.container.Command
 
getDevice() - Method in class com.chrisplus.rootmanager.container.Mount
 
getFlags() - Method in class com.chrisplus.rootmanager.container.Mount
 
getID() - Method in class com.chrisplus.rootmanager.container.Command
 
getInstance() - Static method in class com.chrisplus.rootmanager.RootManager
 
getMessage() - Method in class com.chrisplus.rootmanager.container.Result
 
getMessage() - Method in enum com.chrisplus.rootmanager.container.Result.ResultEnum
 
getMountPoint() - Method in class com.chrisplus.rootmanager.container.Mount
 
getOpenShell() - Static method in class com.chrisplus.rootmanager.container.Shell
 
getResult() - Method in class com.chrisplus.rootmanager.container.Result
 
getStatusCode() - Method in class com.chrisplus.rootmanager.container.Result
 
getStatusCode() - Method in enum com.chrisplus.rootmanager.container.Result.ResultEnum
 
getType() - Method in class com.chrisplus.rootmanager.container.Mount
 

H

hasRooted() - Method in class com.chrisplus.rootmanager.RootManager
Check if the device is rooted

I

installBinary(String) - Method in class com.chrisplus.rootmanager.RootManager
Install a binary file into "/system/bin/"
installPackage(String) - Method in class com.chrisplus.rootmanager.RootManager
Install an app on the device.
installPackage(String, String) - Method in class com.chrisplus.rootmanager.RootManager
Install a app on the specific location.
isAnyShellOpen() - Static method in class com.chrisplus.rootmanager.container.Shell
 
isCustomShellOpen() - Static method in class com.chrisplus.rootmanager.container.Shell
 
isKitKatUpper() - Static method in class com.chrisplus.rootmanager.utils.RootUtils
Check if Android 4.4 and upper.
isNeedPathSDK() - Static method in class com.chrisplus.rootmanager.utils.RootUtils
Check if command need patch.
isProcessRunning(String) - Method in class com.chrisplus.rootmanager.RootManager
Check if a process is running.
isRootShellOpen() - Static method in class com.chrisplus.rootmanager.container.Shell
 

K

keepAlive() - Method in class com.chrisplus.rootmanager.container.Command
 
killProcessById(String) - Method in class com.chrisplus.rootmanager.RootManager
Kill a process by its process id.
killProcessByName(String) - Method in class com.chrisplus.rootmanager.RootManager
Kill a process by its name.

L

Log(String) - Static method in class com.chrisplus.rootmanager.utils.RootUtils
Output log to logcat as the debug level.
Log(String, String) - Static method in class com.chrisplus.rootmanager.utils.RootUtils
Output log to logcat as the debug level with extend log tag.

M

Mount - Class in com.chrisplus.rootmanager.container
 
Mount(File, File, String, String) - Constructor for class com.chrisplus.rootmanager.container.Mount
 

N

newBuilder() - Static method in class com.chrisplus.rootmanager.container.Result
 

O

obtainPermission() - Method in class com.chrisplus.rootmanager.RootManager
Try to obtain the root access.
onFinished(int) - Method in class com.chrisplus.rootmanager.container.Command
 
onUpdate(int, String) - Method in class com.chrisplus.rootmanager.container.Command
 

P

PATH_SYSTEM - Static variable in class com.chrisplus.rootmanager.Constants
The path of system
PATH_SYSTEM_BIN - Static variable in class com.chrisplus.rootmanager.Constants
The path of system bin
PERMISSION_EXPIRE_TIME - Static variable in class com.chrisplus.rootmanager.Constants
The expire time for granted permission, ten minutes
PermissionException - Exception in com.chrisplus.rootmanager.exception
 
PermissionException(String) - Constructor for exception com.chrisplus.rootmanager.exception.PermissionException
 

R

remount(String, String) - Method in class com.chrisplus.rootmanager.RootManager
Remount file system.
remount(String, String) - Static method in class com.chrisplus.rootmanager.utils.Remounter
 
Remounter - Class in com.chrisplus.rootmanager.utils
 
Remounter() - Constructor for class com.chrisplus.rootmanager.utils.Remounter
 
removeBinary(String) - Method in class com.chrisplus.rootmanager.RootManager
Remove a binary from "/system/bin/"
restartDevice() - Method in class com.chrisplus.rootmanager.RootManager
Restart the device.
Result - Class in com.chrisplus.rootmanager.container
 
Result.ResultBuilder - Class in com.chrisplus.rootmanager.container
 
Result.ResultEnum - Enum in com.chrisplus.rootmanager.container
 
ResultBuilder() - Constructor for class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
RootManager - Class in com.chrisplus.rootmanager
 
RootUtils - Class in com.chrisplus.rootmanager.utils
This class is a set of methods used in RootManager.
RootUtils() - Constructor for class com.chrisplus.rootmanager.utils.RootUtils
 
run() - Method in class com.chrisplus.rootmanager.container.Shell.Worker
 
runBinary(String) - Method in class com.chrisplus.rootmanager.RootManager
Run a binary file.
runBinBinary(String) - Method in class com.chrisplus.rootmanager.RootManager
Run a binary in "/system/bin/"
runCommand(String) - Method in class com.chrisplus.rootmanager.RootManager
Run raw commands in default shell.
runRootCommand(Command) - Static method in class com.chrisplus.rootmanager.container.Shell
 

S

screenCap(String) - Method in class com.chrisplus.rootmanager.RootManager
Get screen shot.
screenRecord(String) - Method in class com.chrisplus.rootmanager.RootManager
Record screen for 30s.
screenRecord(String, long, long) - Method in class com.chrisplus.rootmanager.RootManager
Record screen.
SCREENRECORD_BITRATE_DEFAULT - Static variable in class com.chrisplus.rootmanager.Constants
The default recording bit rate
SCREENRECORD_TIMELIMIT_DEFAULT - Static variable in class com.chrisplus.rootmanager.Constants
The default recording time limit
setCommandFailed() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setCommandFailedDenied() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setCommandFailedInterrupted() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setCommandFailedTimeout() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setCommandSuccess() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setCustomMessage(String) - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setCustomMessage(String) - Method in enum com.chrisplus.rootmanager.container.Result.ResultEnum
 
setExitCode(int) - Method in class com.chrisplus.rootmanager.container.Command
 
setFailed() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setInsallFailedNoSpace() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setInstallFailed() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setInstallFailedWrongCer() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setInstallFailedWrongContainer() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setInstallSuccess() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setUninstallFailed() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
setUninstallSuccess() - Method in class com.chrisplus.rootmanager.container.Result.ResultBuilder
 
Shell - Class in com.chrisplus.rootmanager.container
 
shell - Variable in class com.chrisplus.rootmanager.container.Shell.Worker
 
Shell.Worker - Class in com.chrisplus.rootmanager.container
 
startCustomShell(String) - Static method in class com.chrisplus.rootmanager.container.Shell
 
startCustomShell(String, int) - Static method in class com.chrisplus.rootmanager.container.Shell
 
startRootShell() - Static method in class com.chrisplus.rootmanager.container.Shell
 
startRootShell(int) - Static method in class com.chrisplus.rootmanager.container.Shell
 
SU_BINARY_DIRS - Static variable in class com.chrisplus.rootmanager.Constants
The set of SU location

T

terminate(String) - Method in class com.chrisplus.rootmanager.container.Command
 
toString() - Method in class com.chrisplus.rootmanager.container.Mount
 

U

uninstallPackage(String) - Method in class com.chrisplus.rootmanager.RootManager
Uninstall an app by its package name.
uninstallSystemApp(String) - Method in class com.chrisplus.rootmanager.RootManager
Uninstall a system app by its path.

V

valueOf(String) - Static method in enum com.chrisplus.rootmanager.container.Result.ResultEnum
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.chrisplus.rootmanager.container.Result.ResultEnum
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitFor() - Method in class com.chrisplus.rootmanager.container.Shell
 
waitForFinish(long) - Method in class com.chrisplus.rootmanager.container.Command
 
waitForFinish() - Method in class com.chrisplus.rootmanager.container.Command
 
A B C E G H I K L M N O P R S T U V W 
Skip navigation links