/test/vts/testcases/host/selinux_test/src/com/android/tests/selinux/ |
D | KernelSelinuxFileApiTest.java | 55 String filePath = "/sys/fs/selinux/checkreqprot"; in testSelinuxCheckReqProt() local 56 CLog.i("Testing existence of %s", filePath); in testSelinuxCheckReqProt() 58 "%s: File does not exist.".format(filePath), getDevice().doesFileExist(filePath)); in testSelinuxCheckReqProt() 59 CLog.i("Testing permissions of %s", filePath); in testSelinuxCheckReqProt() 60 String permissionBits = TargetFileUtils.getPermission(filePath, getDevice()); in testSelinuxCheckReqProt() 63 CLog.i("Testing format of %s", filePath); in testSelinuxCheckReqProt() 65 getDevice().pullFile(filePath, selinuxTmpFile); in testSelinuxCheckReqProt() 73 String filePath = "/sys/fs/selinux/policy"; in testSelinuxPolicy() local 74 CLog.i("Testing existence of %s", filePath); in testSelinuxPolicy() 76 "%s: File does not exist.".format(filePath), getDevice().doesFileExist(filePath)); in testSelinuxPolicy() [all …]
|
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/ |
D | KernelApiSysfsTest.java | 67 String filePath = "/sys/devices/system/cpu/online"; in testCpuOnlineFormat() local 68 assertTrue(TargetFileUtils.isReadOnly(filePath, getDevice())); in testCpuOnlineFormat() 69 String content = getDevice().pullFileContents(filePath).trim(); in testCpuOnlineFormat() 73 private void isReadOnlyAndIntegerContent(String filePath) throws Exception { in isReadOnlyAndIntegerContent() argument 74 assertTrue("Failed readonly check of " + filePath, in isReadOnlyAndIntegerContent() 75 TargetFileUtils.isReadOnly(filePath, getDevice())); in isReadOnlyAndIntegerContent() 76 String content = getDevice().pullFileContents(filePath).trim(); in isReadOnlyAndIntegerContent() 81 private void isReadWriteAndIntegerContent(String filePath) throws Exception { in isReadWriteAndIntegerContent() argument 82 assertTrue("Failed readwrite check of " + filePath, in isReadWriteAndIntegerContent() 83 TargetFileUtils.isReadWriteOnly(filePath, getDevice())); in isReadWriteAndIntegerContent() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | CoverageEntity.java | 77 @Index @Getter @Setter private String filePath; field in CoverageEntity 105 String filePath, in CoverageEntity() argument 113 this.filePath = filePath; in CoverageEntity() 136 String filePath, in CoverageEntity() argument 144 this.filePath = filePath; in CoverageEntity() 188 + URLEncoder.encode(filePath, "UTF-8") in getGerritUrl() 217 coverageEntity.setProperty(FILE_PATH, filePath); in toEntity() 248 String filePath = (String) e.getProperty(FILE_PATH); in fromEntity() local 262 filePath, in fromEntity() 292 String filePath = coverage.getFilePath().toStringUtf8(); in fromCoverageReport() local [all …]
|
D | TestSuiteFileEntity.java | 43 @Id @Getter @Setter String filePath; field in TestSuiteFileEntity 61 public TestSuiteFileEntity(String filePath) { in TestSuiteFileEntity() argument 62 this.filePath = filePath; in TestSuiteFileEntity() 63 Path pathInfo = Paths.get(filePath); in TestSuiteFileEntity()
|
D | CodeCoverageFileEntity.java | 49 @Getter @Setter String filePath; field in CodeCoverageFileEntity 77 String filePath, in CodeCoverageFileEntity() argument 86 this.filePath = filePath; in CodeCoverageFileEntity()
|
/test/vti/dashboard/src/main/java/com/android/vts/job/ |
D | VtsSuiteTestJobServlet.java | 198 String filePath = request.getParameter("filePath"); in doPost() local 199 if (Objects.isNull(filePath)) { in doPost() 202 logger.log(Level.INFO, "filePath parameter => " + filePath); in doPost() 205 Key.create(TestSuiteFileEntity.class, filePath); in doPost() 214 Blob blobFile = (Blob) this.syncCache.get(filePath); in doPost() 217 blobFile = vtsReportBucket.get(filePath); in doPost() 218 this.syncCache.put(filePath, blobFile); in doPost() 222 TestSuiteFileEntity newTestSuiteFileEntity = new TestSuiteFileEntity(filePath); in doPost() 254 ofy().delete().type(TestSuiteFileEntity.class).id(filePath).now(); in doPost()
|
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
D | TestSuiteResultRestServlet.java | 85 String filePath = "suite_result/2019/04/06/132343.bin"; in doPost() local 87 Key.create(TestSuiteFileEntity.class, filePath); in doPost() 88 TestSuiteFileEntity newTestSuiteFileEntity = new TestSuiteFileEntity(filePath); in doPost()
|
D | TestDataForDevServlet.java | 155 private String filePath; field in TestDataForDevServlet.TestReportDataObject.Test.TestRun.Coverage 437 testRunCoverage.filePath, in doPost()
|
/test/vts/compilation_tools/vtsc/test/golden/PROFILER/ |
D | Bar.profiler.cpp | 1585 char filePath[PATH_MAX]; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() local 1587 … ssize_t r = readlink(procPath.c_str(), filePath, sizeof(filePath)); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() 1592 filePath[r] = '\0'; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() 1593 fd_val_i->set_file_name(filePath); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() 1604 if (strcmp(filePath, "/dev/ashmem") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() 1800 char filePath[PATH_MAX]; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() local 1802 … ssize_t r = readlink(procPath.c_str(), filePath, sizeof(filePath)); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() 1807 filePath[r] = '\0'; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() 1808 fd_val_i->set_file_name(filePath); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() 1819 if (strcmp(filePath, "/dev/ashmem") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
|
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/ |
D | show_coverage.jsp | 176 … <div class="truncate"><b>${coverageEntity.projectName}</b>/${coverageEntity.filePath}</div>
|