Searched refs:remotePath (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | FileDownloadCache.java | 243 public File fetchRemoteFile(IFileDownloader downloader, String remotePath) in fetchRemoteFile() argument 248 lockFile(remotePath); in fetchRemoteFile() 252 cachedFile = mCacheMap.remove(remotePath); in fetchRemoteFile() 255 String localRelativePath = convertPath(remotePath); in fetchRemoteFile() 258 mCacheMap.put(remotePath, cachedFile); in fetchRemoteFile() 266 downloadFile(downloader, remotePath, cachedFile); in fetchRemoteFile() 272 remotePath, cachedFile.getAbsolutePath())); in fetchRemoteFile() 274 copyFile = copyFile(remotePath, cachedFile); in fetchRemoteFile() 277 deleteCacheEntry(remotePath); in fetchRemoteFile() 286 unlockFile(remotePath); in fetchRemoteFile() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | AdditionalFilesInstaller.java | 51 String remotePath = String.format("%s%s", DEST_PATH, file.getName()); in setUp() local 52 CLog.d("Pushing %s to %s", file.getName(), remotePath); in setUp() 53 if (!device.pushFile(file, remotePath)) { in setUp() 55 file.getName(), remotePath), device.getDeviceDescriptor()); in setUp()
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
D | AppInstallTest.java | 116 String remotePath = "/data/local/tmp/" + packageFile.getName(); in installAndTime() local 117 if (!mDevice.pushFile(packageFile, remotePath)) { in installAndTime() 122 String.format("pm install -r \"%s\"", remotePath)); in installAndTime() 128 mDevice.executeShellCommand(String.format("rm \"%s\"", remotePath)); in installAndTime()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | FileDownloadCacheFuncTest.java | 313 private Thread createDownloadThread(IFileDownloader downloader, String remotePath) { in createDownloadThread() argument 318 mReturnedFiles.add(mCache.fetchRemoteFile(downloader, remotePath)); in createDownloadThread()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 1342 String remotePath = String.format("%s/%s", deviceFilePath, childFile.getName()); in pushDir() local 1344 executeShellCommand(String.format("mkdir -p \"%s\"", remotePath)); in pushDir() 1345 if (!pushDir(childFile, remotePath)) { in pushDir() 1349 if (!pushFile(childFile, remotePath)) { in pushDir()
|