Home
last modified time | relevance | path

Searched refs:isExecutable (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/cache/
DMerkleTreeTest.java93 private void addFile(File file, String content, boolean isExecutable) throws IOException { in addFile() argument
100 file.setExecutable(isExecutable); in addFile()
103 private static FileNode newFileNode(String name, Digest digest, boolean isExecutable) { in newFileNode() argument
107 .setIsExecutable(isExecutable) in newFileNode()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/rust/
DRustBinaryTestTest.java247 when(mMockITestDevice.isExecutable(testPath1)).thenReturn(true); in testRun()
249 when(mMockITestDevice.isExecutable(testPath2)).thenReturn(true); in testRun()
286 when(mMockITestDevice.isExecutable(modulePath)).thenReturn(true); in testRun_moduleName()
289 when(mMockITestDevice.isExecutable(notModulePath)).thenReturn(true); in testRun_moduleName()
319 when(mMockITestDevice.isExecutable(test1Path)).thenReturn(true); in testRun_nested()
349 when(mMockITestDevice.isExecutable(testPath1)).thenReturn(true); in testGcovCoverage_GcovPrefixSet()
376 when(mMockITestDevice.isExecutable(testPath1)).thenReturn(true); in doTestFilter()
441 when(mMockITestDevice.isExecutable(testPath1)).thenReturn(true); in testOptions()
466 when(mMockITestDevice.isExecutable(testPath1)).thenReturn(true); in testLdLibraryPathOption()
501 when(mMockITestDevice.isExecutable(testPath1)).thenReturn(true); in testRun_benchmark()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DGTestTest.java370 when(mockDevice.isExecutable("/test_file")).thenReturn(true); in testFileExclusionRegexFilter_emptyfilters()
388 when(mockDevice.isExecutable("/some/path/file/run_me")).thenReturn(true); in testFileExclusionRegexFilter_skipMatched()
389 when(mockDevice.isExecutable("/some/path/file/run_me2")).thenReturn(true); in testFileExclusionRegexFilter_skipMatched()
390 when(mockDevice.isExecutable("/some/path/file/run_me.not")).thenReturn(true); in testFileExclusionRegexFilter_skipMatched()
391 when(mockDevice.isExecutable("/some/path/file/run_me.so")).thenReturn(true); in testFileExclusionRegexFilter_skipMatched()
408 when(mockDevice.isExecutable("/some/path/file/run_me")).thenReturn(true); in testFileExclusionRegexFilter_skipMultiMatched()
409 when(mockDevice.isExecutable("/some/path/file/run_me.not")).thenReturn(true); in testFileExclusionRegexFilter_skipMultiMatched()
410 when(mockDevice.isExecutable("/some/path/file/run_me.not2")).thenReturn(true); in testFileExclusionRegexFilter_skipMultiMatched()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableTargetTest.java67 if (getDevice().isExecutable(path)) { in findBinary()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryTest.java126 return !mDevice.isExecutable(fullPath); in shouldSkipFile()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java919 public boolean isExecutable(String fullPath) throws DeviceNotAvailableException; in isExecutable() method
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DNativeDeviceTest.java3234 assertTrue(mTestDevice.isExecutable("/system/bin/ping")); in testIsDeviceFileExecutable_executable_rwx()
3253 assertTrue(mTestDevice.isExecutable("/system/bin/start")); in testIsDeviceFileExecutable_executable_lrwx()
3271 assertFalse(mTestDevice.isExecutable("/system/build.prop")); in testIsDeviceFileExecutable_notExecutable()
3307 assertFalse(mTestDevice.isExecutable("/system")); in testIsDeviceFileExecutable_directory()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1960 public boolean isExecutable(String fullPath) throws DeviceNotAvailableException { in isExecutable() method in NativeDevice