Searched refs:disks (Results 1 – 2 of 2) sorted by relevance
63 String disks = device.executeShellCommand("sm list-disks"); in getVirtualDisk() local64 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getVirtualDisk()69 disks = device.executeShellCommand("sm list-disks"); in getVirtualDisk()72 if (disks == null || disks.isEmpty()) { in getVirtualDisk()75 return disks.split("\n")[0].trim(); in getVirtualDisk()
346 String disks = getDevice().executeShellCommand("sm list-disks adoptable"); in getAdoptionDisk() local347 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getAdoptionDisk()349 disks = getDevice().executeShellCommand("sm list-disks adoptable"); in getAdoptionDisk()352 if (disks == null || disks.isEmpty()) { in getAdoptionDisk()356 return disks.split("\n")[0].trim(); in getAdoptionDisk()