Home
last modified time | relevance | path

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

/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGTest.java216 String getFileName(String fullPath) { in getFileName() argument
217 int pos = fullPath.lastIndexOf('/'); in getFileName()
219 return fullPath; in getFileName()
221 String fileName = fullPath.substring(pos + 1); in getFileName()
234 protected boolean shouldSkipFile(String fullPath) throws DeviceNotAvailableException { in shouldSkipFile() argument
235 if (fullPath == null || fullPath.isEmpty()) { in shouldSkipFile()
239 if (!mDevice.isExecutable(fullPath)) { in shouldSkipFile()
247 if (fullPath.matches(regex)) { in shouldSkipFile()
248 CLog.i("File %s matches exclusion file regex %s, skipping", fullPath, regex); in shouldSkipFile()
278 protected String getGTestCmdLine(String fullPath, String flags) { in getGTestCmdLine() argument
[all …]
DNativeStressTest.java161 String fullPath = rootEntry.getFullEscapedPath(); in doRunAllTestsInSubdirectory() local
162 Log.i(LOG_TAG, String.format("Running native stress test %s on %s", fullPath, in doRunAllTestsInSubdirectory()
165 testDevice.executeShellCommand(String.format("chmod 755 %s", fullPath)); in doRunAllTestsInSubdirectory()
177 testDevice.executeShellCommand(String.format("%s -s %d -e %d", fullPath, in doRunAllTestsInSubdirectory()
DNativeBenchmarkTest.java184 String fullPath = rootEntry.getFullEscapedPath(); in doRunAllTestsInSubdirectory() local
191 testDevice.executeShellCommand(String.format("chmod 755 %s", fullPath)); in doRunAllTestsInSubdirectory()
204 String cmd = String.format("%s -n %d -d %f -c %d -s %d", fullPath, in doRunAllTestsInSubdirectory()
DGoogleBenchmarkTest.java282 protected boolean shouldSkipFile(String fullPath) { in shouldSkipFile() argument
283 if (fullPath == null || fullPath.isEmpty()) { in shouldSkipFile()
290 if (fullPath.matches(regex)) { in shouldSkipFile()
292 fullPath, regex)); in shouldSkipFile()
DHostGTest.java155 final IShellOutputReceiver resultParser, final String fullPath, final String flags) { in runTest() argument
166 String cmd = getGTestCmdLine(fullPath, flags); in runTest()
DGTestBase.java556 protected String getGTestCmdLine(String fullPath, String flags) { in getGTestCmdLine() argument
571 gTestCmdLine.append(String.format("%s %s", fullPath, flags)); in getGTestCmdLine()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryTest.java109 private boolean shouldSkipFile(String fullPath) throws DeviceNotAvailableException { in shouldSkipFile() argument
110 return fullPath == null || fullPath.isEmpty() || !mDevice.isExecutable(fullPath); in shouldSkipFile()
158 final String fullPath) in runTest() argument
161 CLog.d("RustBinaryTest runTest: " + fullPath); in runTest()
165 cmd = "GCOV_PREFIX=/data/misc/trace/testcoverage " + fullPath; in runTest()
167 cmd = fullPath; in runTest()
181 listener.testRunStarted(new File(fullPath).getName(), testCount, 0, startTimeMs); in runTest()
/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/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java754 public boolean isExecutable(String fullPath) throws DeviceNotAvailableException; in isExecutable() argument
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1176 String fullPath = new File(externalPath, remoteFilePath).getPath(); in pullFileFromExternal() local
1177 return pullFile(fullPath); in pullFileFromExternal()
1506 public boolean isExecutable(String fullPath) throws DeviceNotAvailableException { in isExecutable() argument
1507 String fileMode = executeShellCommand(String.format("ls -l %s", fullPath)); in isExecutable()
1658 String fullPath = item.getFullPath(); in pullDir() local
1659 if (!pullFile(fullPath, localFile)) { in pullDir()
1660 CLog.w("Failed to pull file %s from device, aborting", fullPath); in pullDir()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...