Class AdbProcess
java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.adb.AdbProcess
Represent an Android process entry, also a parser of
ps output.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Retrieve the process name.intgetPid()Retrieve the process id.getUser()Retrieve the process user.static List<AdbProcess> parsePsData(byte[] data) Parse the result of `ps` execution on an Android devide.toString()
-
Constructor Details
-
AdbProcess
public AdbProcess()
-
-
Method Details
-
getUser
Retrieve the process user.- Returns:
- process user
-
getPid
public int getPid()Retrieve the process id.- Returns:
- process id
-
getName
Retrieve the process name.- Returns:
- process name
-
toString
-
parsePsData
Parse the result of `ps` execution on an Android devide.- Parameters:
data- `ps` output data encoded with the local machine charset- Returns:
- a list of process entries
-