Searched refs:deviceFilePath (Results 1 – 8 of 8) sorted by relevance
112 String deviceFilePath = null; in testPushFolderWithManyFiles() local115 deviceFilePath = String.format("%s/%s", externalStorePath, "testDir"); in testPushFolderWithManyFiles()123 mTestDevice.deleteFile(deviceFilePath); in testPushFolderWithManyFiles()124 assertFalse(String.format("%s exists", deviceFilePath), in testPushFolderWithManyFiles()125 mTestDevice.doesFileExist(deviceFilePath)); in testPushFolderWithManyFiles()126 assertTrue(mTestDevice.pushDir(tmpDir, deviceFilePath)); in testPushFolderWithManyFiles()127 assertTrue(mTestDevice.doesFileExist(deviceFilePath)); in testPushFolderWithManyFiles()133 mTestDevice.deleteFile(deviceFilePath); in testPushFolderWithManyFiles()134 assertFalse(String.format("%s exists", deviceFilePath), in testPushFolderWithManyFiles()135 mTestDevice.doesFileExist(deviceFilePath)); in testPushFolderWithManyFiles()[all …]
209 String deviceFilePath = null; in testPushPull_normal() local215 deviceFilePath = String.format("%s/%s", externalStorePath, "tmp_testPushPull.txt"); in testPushPull_normal()217 mTestDevice.deleteFile(deviceFilePath); in testPushPull_normal()218 assertFalse(String.format("%s exists", deviceFilePath), in testPushPull_normal()219 mTestDevice.doesFileExist(deviceFilePath)); in testPushPull_normal()221 assertTrue(mTestDevice.pushFile(tmpFile, deviceFilePath)); in testPushPull_normal()222 assertTrue(mTestDevice.doesFileExist(deviceFilePath)); in testPushPull_normal()224 assertTrue(mTestDevice.pullFile(deviceFilePath, tmpDestFile)); in testPushPull_normal()231 if (deviceFilePath != null) { in testPushPull_normal()232 mTestDevice.deleteFile(deviceFilePath); in testPushPull_normal()[all …]
1257 public void deleteFile(String deviceFilePath) in testGetBugreportz()1259 assertEquals("/data/0/com.android.shell/bugreports/*", deviceFilePath); in testGetBugreportz()
644 public boolean pullDir(String deviceFilePath, File localDir) in pullDir() argument656 public boolean pushFile(File localFile, String deviceFilePath) in pushFile() argument668 public boolean pushString(String contents, String deviceFilePath) in pushString() argument680 public boolean pushDir(File localDir, String deviceFilePath) in pushDir() argument694 public boolean pushDir(File localDir, String deviceFilePath, Set<String> excludedDirectories) in pushDir() argument717 public boolean syncFiles(File localFileDir, String deviceFilePath) in syncFiles() argument728 public boolean doesFileExist(String deviceFilePath) throws DeviceNotAvailableException; in doesFileExist() argument736 public void deleteFile(String deviceFilePath) throws DeviceNotAvailableException; in deleteFile() argument761 public boolean isDirectory(String deviceFilePath) throws DeviceNotAvailableException; in isDirectory() argument770 public String[] getChildren(String deviceFilePath) throws DeviceNotAvailableException; in getChildren() argument
1274 public boolean doesFileExist(String deviceFilePath) throws DeviceNotAvailableException { in doesFileExist() argument1275 String lsGrep = executeShellCommand(String.format("ls \"%s\"", deviceFilePath)); in doesFileExist()1281 public void deleteFile(String deviceFilePath) throws DeviceNotAvailableException { in deleteFile() argument1282 if (deviceFilePath.startsWith(SD_CARD)) { in deleteFile()1285 if (handler.deleteFile(deviceFilePath)) { in deleteFile()1291 String path = StringEscapeUtils.escapeShell(deviceFilePath); in deleteFile()1567 public boolean pushDir(File localFileDir, String deviceFilePath) in pushDir() argument1569 return pushDir(localFileDir, deviceFilePath, new HashSet<>()); in pushDir()1575 File localFileDir, String deviceFilePath, Set<String> excludedDirectories) in pushDir() argument1587 String remotePath = String.format("%s/%s", deviceFilePath, childFile.getName()); in pushDir()[all …]
1135 public boolean doesFileExist(String deviceFilePath) throws DeviceNotAvailableException { in doesFileExist() argument1136 if (deviceFilePath.startsWith(SD_CARD)) { in doesFileExist()1137 deviceFilePath = in doesFileExist()1138 deviceFilePath.replaceFirst( in doesFileExist()1141 return super.doesFileExist(deviceFilePath); in doesFileExist()
501 String deviceFilePath = match.group(2); in getNestedDeviceSshBugreportz() local503 remoteSshCommandExec(gceAvd, options, runUtil, "./bin/adb", "pull", deviceFilePath); in getNestedDeviceSshBugreportz()505 String remoteFilePath = "./" + new File(deviceFilePath).getName(); in getNestedDeviceSshBugreportz()
META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...