Home
last modified time | relevance | path

Searched refs:localDir (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDevice.java371 File localDir = null; in getTombstones() local
373 localDir = FileUtil.createTempDir("tombstones"); in getTombstones()
378 if (!fetchRemoteDir(localDir, remoteRuntimePath)) { in getTombstones()
380 FileUtil.recursiveDelete(localDir); in getTombstones()
382 tombs.addAll(Arrays.asList(localDir.listFiles())); in getTombstones()
383 localDir.deleteOnExit(); in getTombstones()
408 boolean fetchRemoteDir(File localDir, String remotePath) { in fetchRemoteDir() argument
415 localDir); in fetchRemoteDir()
DRemoteFileUtil.java116 File localDir) { in fetchRemoteDir() argument
124 localDir, in fetchRemoteDir()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java193 public boolean pullDir(String deviceFilePath, File localDir) in pullDir() argument
195 return pullDirInternal(deviceFilePath, localDir, /* currentUser */ null); in pullDir()
323 private boolean pullDirInternal(String deviceFilePath, File localDir, Integer currentUser) in pullDirInternal() argument
325 if (!localDir.isDirectory()) { in pullDirInternal()
326 CLog.e("Local path %s is not a directory", localDir.getAbsolutePath()); in pullDirInternal()
358 File localChild = new File(localDir, name); in pullDirInternal()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java644 public boolean pullDir(String deviceFilePath, File localDir) in pullDir() argument
680 public boolean pushDir(File localDir, String deviceFilePath) in pushDir() argument
694 public boolean pushDir(File localDir, String deviceFilePath, Set<String> excludedDirectories) in pushDir() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDeviceTest.java782 boolean fetchRemoteDir(File localDir, String remotePath) { in testGetRemoteTombstone()
784 FileUtil.createTempFile("tombstone_00", "", localDir); in testGetRemoteTombstone()
785 FileUtil.createTempFile("tombstone_01", "", localDir); in testGetRemoteTombstone()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1613 public boolean pullDir(String deviceFilePath, File localDir) in pullDir() argument
1618 return handler.pullDir(deviceFilePath, localDir); in pullDir()
1622 if (!localDir.isDirectory()) { in pullDir()
1623 CLog.e("Local path %s is not a directory", localDir.getAbsolutePath()); in pullDir()
1644 File subDir = new File(localDir, item.getName()); in pullDir()
1657 File localFile = new File(localDir, item.getName()); in pullDir()