Home
last modified time | relevance | path

Searched refs:externalStorePath (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java213 String externalStorePath = mTestDevice.getMountPoint(IDevice.MNT_EXTERNAL_STORAGE); in testPushPull_normal() local
214 assertNotNull(externalStorePath); in testPushPull_normal()
215 deviceFilePath = String.format("%s/%s", externalStorePath, "tmp_testPushPull.txt"); in testPushPull_normal()
253 String externalStorePath = "${EXTERNAL_STORAGE}"; in testPushPull_extStorageVariable() local
254 assertNotNull(externalStorePath); in testPushPull_extStorageVariable()
255 deviceFilePath = String.format("%s/%s", externalStorePath, filename); in testPushPull_extStorageVariable()
290 String externalStorePath = mTestDevice.getMountPoint(IDevice.MNT_EXTERNAL_STORAGE); in testPull_noexist() local
291 assertNotNull(externalStorePath); in testPull_noexist()
292 String deviceFilePath = String.format("%s/%s", externalStorePath, "thisfiledoesntexist"); in testPull_noexist()
309 String externalStorePath = mTestDevice.getMountPoint(IDevice.MNT_EXTERNAL_STORAGE); in testPull_nopermissions() local
[all …]
DTestDeviceStressTest.java113 String externalStorePath = mTestDevice.getMountPoint(IDevice.MNT_EXTERNAL_STORAGE); in testPushFolderWithManyFiles() local
114 assertNotNull(externalStorePath); in testPushFolderWithManyFiles()
115 deviceFilePath = String.format("%s/%s", externalStorePath, "testDir"); in testPushFolderWithManyFiles()
145 String externalStorePath = mTestDevice.getMountPoint(IDevice.MNT_EXTERNAL_STORAGE); in testSyncDataWithManyFiles() local
146 assertNotNull(externalStorePath); in testSyncDataWithManyFiles()
147 deviceFilePath = String.format("%s/%s", externalStorePath, "testDir"); in testSyncDataWithManyFiles()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1302 String externalStorePath = getMountPoint(IDevice.MNT_EXTERNAL_STORAGE); in getExternalStoreFreeSpace() local
1303 return getPartitionFreeSpace(externalStorePath); in getExternalStoreFreeSpace()
1337 private String getDfOutput(String externalStorePath) throws DeviceNotAvailableException { in getDfOutput() argument
1339 String output = executeShellCommand(String.format("df %s", externalStorePath)); in getDfOutput()
1389 Long parseFreeSpaceFromFree(String externalStorePath, String dfOutput) { in parseFreeSpaceFromFree() argument
1393 "%s\\s+[\\w\\d\\.]+\\s+[\\w\\d\\.]+\\s+([\\d\\.]+)(\\w)", externalStorePath)); in parseFreeSpaceFromFree()