Esempio n. 1
0
 public boolean isBusyboxInstalled(boolean force) {
   if (hasBusybox == null || force)
     hasBusybox = (AdbUtility.getBusyboxVersion(getBusyBoxInstallPath()).length() > 0);
   return hasBusybox.booleanValue();
 }
Esempio n. 2
0
 public String getInstalledBusyboxVersion(boolean force) {
   if (Devices.getCurrent().isBusyboxInstalled(force)) {
     return AdbUtility.getBusyboxVersion(getBusyBoxInstallPath());
   } else hasBusybox = false;
   return "N/A";
 }