/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GTest.java | 224 String getFileName(String fullPath) { in getFileName() argument 225 int pos = fullPath.lastIndexOf('/'); in getFileName() 227 return fullPath; in getFileName() 229 String fileName = fullPath.substring(pos + 1); in getFileName() 242 protected boolean shouldRunFile(String fullPath) { in shouldRunFile() argument 243 if (fullPath == null || fullPath.isEmpty()) { in shouldRunFile() 249 String fileName = getFileName(fullPath); in shouldRunFile() 257 if (fullPath.matches(regex)) { in shouldRunFile() 258 CLog.i("File %s matches exclusion file regex %s, skipping", fullPath, regex); in shouldRunFile() 289 protected String getGTestCmdLine(String fullPath, String flags) { in getGTestCmdLine() argument [all …]
|
D | ArtGTest.java | 23 protected String getGTestCmdLineWrapper(String fullPath, String flags) { in getGTestCmdLineWrapper() argument 25 if (fullPath.startsWith(chroot)) { in getGTestCmdLineWrapper() 26 fullPath = fullPath.substring(chroot.length()); in getGTestCmdLineWrapper() 28 return String.format("chroot %s %s %s", chroot, fullPath, flags); in getGTestCmdLineWrapper()
|
D | NativeStressTest.java | 159 String fullPath = rootEntry.getFullEscapedPath(); in doRunAllTestsInSubdirectory() local 160 CLog.i("Running native stress test %s on %s", fullPath, mDevice.getSerialNumber()); in doRunAllTestsInSubdirectory() 162 testDevice.executeShellCommand(String.format("chmod 755 %s", fullPath)); in doRunAllTestsInSubdirectory() 173 testDevice.executeShellCommand(String.format("%s -s %d -e %d", fullPath, in doRunAllTestsInSubdirectory()
|
D | GoogleBenchmarkTest.java | 305 protected boolean shouldSkipFile(String fullPath) { in shouldSkipFile() argument 306 if (fullPath == null || fullPath.isEmpty()) { in shouldSkipFile() 313 if (fullPath.matches(regex)) { in shouldSkipFile() 315 fullPath, regex)); in shouldSkipFile()
|
D | NativeBenchmarkTest.java | 184 String fullPath = rootEntry.getFullEscapedPath(); in doRunAllTestsInSubdirectory() local 191 testDevice.executeShellCommand(String.format("chmod 755 %s", fullPath)); in doRunAllTestsInSubdirectory() 205 String cmd = String.format("%s -n %d -d %f -c %d -s %d", fullPath, in doRunAllTestsInSubdirectory()
|
D | GTestBase.java | 664 protected String getGTestCmdLineWrapper(String fullPath, String flags) { in getGTestCmdLineWrapper() argument 666 File f = new File(fullPath); in getGTestCmdLineWrapper() 673 return String.format("%s %s", fullPath, flags); in getGTestCmdLineWrapper() 683 protected String getGTestCmdLine(String fullPath, String flags) { in getGTestCmdLine() argument 702 gTestCmdLine.append(getGTestCmdLineWrapper(fullPath, flags)); in getGTestCmdLine()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/ |
D | RustBinaryTest.java | 102 String getFileName(String fullPath) { in getFileName() argument 103 int pos = fullPath.lastIndexOf('/'); in getFileName() 105 return fullPath; in getFileName() 107 String fileName = fullPath.substring(pos + 1); in getFileName() 115 private boolean shouldSkipFile(String fullPath) throws DeviceNotAvailableException { in shouldSkipFile() argument 116 if (fullPath == null || fullPath.isEmpty()) { in shouldSkipFile() 121 String fileName = getFileName(fullPath); in shouldSkipFile() 126 return !mDevice.isExecutable(fullPath); in shouldSkipFile() 207 final String fullPath) in runTest() argument 209 CLog.d("RustBinaryTest runTest: " + fullPath); in runTest() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/ |
D | KUnitModuleTest.java | 59 private String getDisplayedModuleName(String fullPath) { in getDisplayedModuleName() argument 62 int sepPos = fullPath.lastIndexOf('/'); in getDisplayedModuleName() 63 String moduleName = sepPos == -1 ? fullPath : fullPath.substring(sepPos + 1); in getDisplayedModuleName()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | MockitoFileUtil.java | 55 String fullPath = rootPath + FileListingService.FILE_SEPARATOR + childName; in setMockDirContents() local 56 when(childMockEntry.getFullEscapedPath()).thenReturn(fullPath); in setMockDirContents()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | TestOutputUploader.java | 85 String fullPath = joinSegments(destPath, file.getName()); in uploadFile() local 86 String encodedPath = UrlEscapers.urlFragmentEscaper().escape(fullPath); in uploadFile()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 1490 String fullPath = new File(externalPath, remoteFilePath).getPath(); in pullFileFromExternal() local 1491 return pullFile(fullPath); in pullFileFromExternal() 1960 public boolean isExecutable(String fullPath) throws DeviceNotAvailableException { in isExecutable() argument 1961 String fileMode = executeShellCommand(String.format("ls -l %s", fullPath)); in isExecutable() 2172 String fullPath = item.getFullPath(); in pullDirInternal() local 2173 if (!pullFileInternal(fullPath, localFile)) { in pullDirInternal() 2174 CLog.w("Failed to pull file %s from device, aborting", fullPath); in pullDirInternal()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | INativeDevice.java | 919 public boolean isExecutable(String fullPath) throws DeviceNotAvailableException; in isExecutable() argument
|