Uses of Class
com.pnfsoftware.jeb.core.units.code.android.adb.AdbWrapper
Packages that use AdbWrapper
Package
Description
Types to access and interact with the
Android Debug Bridge (adb).-
Uses of AdbWrapper in com.pnfsoftware.jeb.core.units.code.android.adb
Methods in com.pnfsoftware.jeb.core.units.code.android.adb that return AdbWrapperModifier and TypeMethodDescriptionstatic AdbWrapperAdbWrapperFactory.createStandardWrapper()AdbWrapperFactory.createWrapper(String deviceSerial) Create an ADB wrapper to issue command to a specific device, using a default timeout.AdbWrapperFactory.createWrapper(String deviceSerial, long standardTimeout) Create an ADB wrapper to issue command to a specific device.Methods in com.pnfsoftware.jeb.core.units.code.android.adb with parameters of type AdbWrapperModifier and TypeMethodDescriptionstatic booleanAndroidDeviceUtil.executeCommandAsRoot(AdbWrapper adb, boolean rootVerification, String command) Attempt to execute a single ADB command as root.static booleanAndroidDeviceUtil.executeCommandAsRoot(AdbWrapper adb, String command) Attempt to execute a single ADB command as root, with a prior root verification.static booleanAndroidDeviceUtil.executeCommandsAsRoot(AdbWrapper adb, boolean rootVerification, String[] commands) Attempt to execute a sequence of ADB commands as root.static booleanAndroidDeviceUtil.executeCommandsAsRoot(AdbWrapper adb, String[] commands) Attempt to execute a sequence of ADB commands as root, with a prior root verification.static intAndroidDeviceUtil.getAndroidApiLevel(AdbWrapper adb) Retrieve the numerical API level (eg, 29 on Android Q) of the target.static AndroidPlatformABIAndroidDeviceUtil.getBestABIForApp(AdbWrapper adb, IApkUnit apk) Get the best ABI to run a given Android app on a given device.static AndroidPlatformABIAndroidDeviceUtil.getPreferredABI(AdbWrapper adb) Get the preferred ABI supported by a device.AndroidDeviceUtil.getProcessesByName(AdbWrapper adb, String processName) Get a list of PIDs by process namestatic List<AndroidPlatformABI>AndroidDeviceUtil.getSupportedABIs(AdbWrapper adb) Get the ABIs supported by a device.static booleanAndroidDeviceUtil.isDebuggableApp(AdbWrapper adb, String pname) Determine whether an installed app is debuggable.static booleanAndroidDeviceUtil.isRootDevice(AdbWrapper adb) Heuristic to determine if the device appears to be rooted - and has a copy ofsuinstalled.static booleanAndroidDeviceUtil.pullFile(AdbWrapper adb, String remotePath, String localPath) Attempt to pull a file from a device using a variety of methods.static StringAndroidDeviceUtil.uploadFileToDeviceTemp(AdbWrapper adb, String name, AndroidPlatformABI platformAbi) Upload a JEB Android asset file to an Android device.static StringAndroidDeviceUtil.uploadFileToDeviceTemp(AdbWrapper adb, String name, AndroidPlatformABI platformAbi, String version, String extension) Upload a JEB Android asset file to an Android device.