Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/testtype/
DGTest.java466 String getFileName(String fullPath) { in getFileName() argument
467 int pos = fullPath.lastIndexOf('/'); in getFileName()
469 return fullPath; in getFileName()
471 String fileName = fullPath.substring(pos + 1); in getFileName()
478 protected boolean isDeviceFileExecutable(String fullPath) throws DeviceNotAvailableException { in isDeviceFileExecutable() argument
479 String fileMode = mDevice.executeShellCommand(String.format("ls -l %s", fullPath)); in isDeviceFileExecutable()
492 protected boolean shouldSkipFile(String fullPath) throws DeviceNotAvailableException { in shouldSkipFile() argument
493 if (fullPath == null || fullPath.isEmpty()) { in shouldSkipFile()
497 if (!isDeviceFileExecutable(fullPath)) { in shouldSkipFile()
504 if (fullPath.matches(regex)) { in shouldSkipFile()
[all …]
DGoogleBenchmarkTest.java210 protected boolean shouldSkipFile(String fullPath) { in shouldSkipFile() argument
211 if (fullPath == null || fullPath.isEmpty()) { in shouldSkipFile()
218 if (fullPath.matches(regex)) { in shouldSkipFile()
220 fullPath, regex)); in shouldSkipFile()
DNativeStressTest.java160 String fullPath = rootEntry.getFullEscapedPath(); in doRunAllTestsInSubdirectory() local
161 Log.i(LOG_TAG, String.format("Running native stress test %s on %s", fullPath, in doRunAllTestsInSubdirectory()
164 testDevice.executeShellCommand(String.format("chmod 755 %s", fullPath)); in doRunAllTestsInSubdirectory()
176 testDevice.executeShellCommand(String.format("%s -s %d -e %d", fullPath, in doRunAllTestsInSubdirectory()
DNativeBenchmarkTest.java183 String fullPath = rootEntry.getFullEscapedPath(); in doRunAllTestsInSubdirectory() local
190 testDevice.executeShellCommand(String.format("chmod 755 %s", fullPath)); in doRunAllTestsInSubdirectory()
203 String cmd = String.format("%s -n %d -d %f -c %d -s %d", fullPath, in doRunAllTestsInSubdirectory()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DMockFileUtil.java50 String fullPath = rootPath + FileListingService.FILE_SEPARATOR + childName; in setMockDirContents() local
51 EasyMock.expect(childMockEntry.getFullEscapedPath()).andStubReturn(fullPath); in setMockDirContents()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java972 String fullPath = (new File(externalPath, remoteFilePath)).getPath(); in pullFileFromExternal() local
973 return pullFile(fullPath); in pullFileFromExternal()
1396 String fullPath = item.getFullPath(); in pullDir() local
1397 if (!pullFile(fullPath, localFile)) { in pullDir()
1398 CLog.w("Failed to pull file %s from device, aborting", fullPath); in pullDir()