Home
last modified time | relevance | path

Searched refs:disks (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/provider/preconditions/src/android/provider/cts/preconditions/
DExternalStoragePreparer.java63 String disks = device.executeShellCommand("sm list-disks"); in getVirtualDisk() local
64 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()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAdoptableHostTest.java346 String disks = getDevice().executeShellCommand("sm list-disks adoptable"); in getAdoptionDisk() local
347 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()