Searched refs:TargetFileUtils (Results 1 – 6 of 6) sorted by relevance
/test/vts/testcases/host/selinux_test/src/com/android/tests/selinux/ |
D | KernelSelinuxFileApiTest.java | 27 import com.android.tradefed.util.TargetFileUtils; 28 import com.android.tradefed.util.TargetFileUtils.FilePermission; 60 String permissionBits = TargetFileUtils.getPermission(filePath, getDevice()); in testSelinuxCheckReqProt() 61 assertTrue(TargetFileUtils.hasPermission(FilePermission.READ, permissionBits) in testSelinuxCheckReqProt() 62 && TargetFileUtils.hasPermission(FilePermission.WRITE, permissionBits)); in testSelinuxCheckReqProt() 87 String permissionBits = TargetFileUtils.getPermission(filePath, getDevice()); in testSelinuxNull() 88 assertTrue(TargetFileUtils.hasPermission(FilePermission.READ, permissionBits) in testSelinuxNull() 89 && TargetFileUtils.hasPermission(FilePermission.WRITE, permissionBits)); in testSelinuxNull()
|
/test/vts/tools/vts-core-tradefed/tests/src/com/android/compatibility/tradefed/util/ |
D | TargetFileUtilsTest.java | 26 import com.android.tradefed.util.TargetFileUtils; 27 import com.android.tradefed.util.TargetFileUtils.FilePermission; 50 assertTrue(TargetFileUtils.hasPermission(FilePermission.READ, permission)); in testHasPermission() 56 assertTrue(TargetFileUtils.hasPermission(FilePermission.WRITE, permission)); in testHasPermission() 63 TargetFileUtils.hasPermission(FilePermission.EXECUTE, permission)); in testHasPermission() 91 TargetFileUtils.findFile( in testFindFile() 107 findPaths, TargetFileUtils.findFile("findPath", "namePattern", null, mMockDevice)); in testFindFile_w_cmd_result_fail() 122 findPaths, TargetFileUtils.findFile("findPath", "namePattern", null, mMockDevice)); in testFindFile_w_empty_line_stdout()
|
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/ |
D | KernelApiSysfsTest.java | 26 import com.android.tradefed.util.TargetFileUtils; 27 import com.android.tradefed.util.TargetFileUtils.FilePermission; 46 assertTrue(TargetFileUtils.isReadOnly(state, getDevice())); in testAndroidUSB() 63 assertTrue(TargetFileUtils.isReadOnly(filePath, getDevice())); in testCpuOnlineFormat() 70 TargetFileUtils.isReadOnly(filePath, getDevice())); in isReadOnlyAndIntegerContent() 78 TargetFileUtils.isReadWriteOnly(filePath, getDevice())); in isReadWriteAndIntegerContent() 91 assertTrue(TargetFileUtils.isReadOnly(filePath, getDevice())); in testPerCpuCpufreq() 129 assertTrue(TargetFileUtils.isReadOnly(f, getDevice())); in testPerCpuCpufreq() 141 assertTrue(TargetFileUtils.isReadOnly(f, getDevice())); in testPerCpuCpufreq() 159 assertTrue(TargetFileUtils.isReadOnly(filePath, getDevice())); in testLastResumeReason() [all …]
|
/test/vts/testcases/host/firmware_test/src/com/android/tests/firmware/ |
D | FirmwareBootHeaderVerification.java | 26 import com.android.tradefed.util.TargetFileUtils; 134 ArrayList<String> bootPaths = TargetFileUtils.findFile( in testBootImageHeader() 152 ArrayList<String> recoveryPaths = TargetFileUtils.findFile( in testRecoveryImageHeader()
|
/test/vts/testcases/host/firmware_dtbo_test/src/com/android/tests/firmwaredtbo/ |
D | FirmwareDtboVerification.java | 26 import com.android.tradefed.util.TargetFileUtils; 104 ArrayList<String> dtboPaths = TargetFileUtils.findFile( in testCheckDTBOPartition() 220 TargetFileUtils.findFile(DEVICE_TEMP_DIR, ufdtVerifier, null, mDevice); in testVerifyOverlay()
|
/test/vts/tools/vts-core-tradefed/src/com/android/tradefed/util/ |
D | TargetFileUtils.java | 28 public class TargetFileUtils { class
|