Home
last modified time | relevance | path

Searched refs:getName (Results 1 – 25 of 135) sorted by relevance

123456

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DCaseResult.java44 public String getName() { in getName() method in CaseResult
112 return getName().compareTo(another.getName()); in compareTo()
120 if (!otherCaseResult.getName().equals(getName())) { in mergeFrom()
123 otherCaseResult.getName(), getName())); in mergeFrom()
127 mResults.put(otherTestResult.getName(), otherTestResult); in mergeFrom()
DTestResult.java48 public String getName() { in getName() method in TestResult
57 return String.format("%s#%s", mParent.getName(), getName()); in getFullName()
268 return getName().compareTo(another.getName()); in compareTo()
DResultHandler.java131 if (LATEST_RESULT_DIR.equals(resultDir.getName())) { in getLightResults()
248 if (parser.getName().equals(FAILURE_TAG)) { in getResultFromDir()
257 } else if (parser.getName().equals(BUGREPORT_TAG)) { in getResultFromDir()
260 } else if (parser.getName().equals(LOGCAT_TAG)) { in getResultFromDir()
263 } else if (parser.getName().equals(SCREENSHOT_TAG)) { in getResultFromDir()
266 } else if (SUMMARY_TAG.equals(parser.getName())) { in getResultFromDir()
268 } else if (METRIC_TAG.equals(parser.getName())) { in getResultFromDir()
408 serializer.attribute(NS, NAME_ATTR, module.getName()); in writeResults()
416 serializer.attribute(NS, NAME_ATTR, cr.getName()); in writeResults()
424 serializer.attribute(NS, NAME_ATTR, r.getName()); in writeResults()
[all …]
/test/suite_harness/tools/dex-tools/test/dex/reader/
DDexTestsCommon.java97 if(className.equals(clazz.getName())){ in getClass()
101 fail("Class: " + className +" not present in file: " + file.getName()); in getClass()
102 …row new IllegalArgumentException("Class: " + className +" not present in file: " + file.getName()); in getClass()
109 if(fieldName.equals(field.getName())){ in getField()
113 fail("Field: " + fieldName +" not present in class: " + clazz.getName()); in getField()
114 …w new IllegalArgumentException("Field: " + fieldName +" not present in class: " + clazz.getName()); in getField()
135 if(methodName.equals(method.getName()) && paramTypeNames.equals(methodsParamTypeNames)){ in getMethod()
139 fail("Method: " + methodName +" not present in class: " + clazz.getName()); in getMethod()
140 …new IllegalArgumentException("Method: " + methodName +" not present in class: " + clazz.getName()); in getMethod()
DDexFileReaderTests.java86 assertEquals("LT0;", clazz.getName()); in testT0()
119 names.add(javaSource.getName()); in toStringSet()
138 assertEquals("LT1;", clazz.getName()); in testT1()
159 assertEquals(T1.getSuperClass(), T0.getName()); in testT0_T1()
206 assertEquals(A0.getName(), annotation.getTypeName()); in testA0_T3()
310 assertTrue(innerTypeNames.contains(inner.getName())); in testOuter0()
311 assertTrue(innerTypeNames.contains(staticInner.getName())); in testOuter0()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DCtsConfigLoadingTest.java228 config.getName(), prep.getClass())); in testConfigurationLoad()
247 config.getName(), test)); in testConfigurationLoad()
254 config.getName())); in testConfigurationLoad()
265 + "expected", config.getName(), instru.getRunnerName(), in testConfigurationLoad()
289 String configFileName = config.getName(); in testConfigurationLoad()
301 config.getName(), cd.getMetaData(ITestSuite.PARAMETER_KEY)); in testConfigurationLoad()
303 missingMandatoryParameters.add(config.getName()); in testConfigurationLoad()
306 checkTokens(config.getName(), cd.getMetaData(ITestSuite.TOKEN_KEY)); in testConfigurationLoad()
311 + "'<option name=\"test-suite-tag\" value=\"cts\" />'", config.getName()), in testConfigurationLoad()
321 + "not-shardable option.", config.getName())); in testConfigurationLoad()
DApkPackageNameCheck.java98 + "exists in testcases/", config.getName(), apkFile)); in testApkPackageNames()
109 config.getName(), packageName, apkName, put)); in testApkPackageNames()
123 config.getName(), instrumentationTest.getPackageName())); in testApkPackageNames()
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/build/
DVtsCompatibilityInvocationHelper.java38 String.format("%s_TESTCASES", TestSuiteInfo.getInstance().getName())); in getTestsDir()
45 String.format("%s_ROOT", TestSuiteInfo.getInstance().getName())); in getTestsDir()
49 TestSuiteInfo.getInstance().getName())); in getTestsDir()
59 "%s TEST CASES DIR: %s", TestSuiteInfo.getInstance().getName(), mTestCasesDir)); in getTestsDir()
/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/
DTestFilterTest.java37 assertEquals("Incorrect name", NAME, filter.getName()); in testParseNameFilter()
44 assertEquals("Incorrect name", NAME, filter.getName()); in testParseAbiNameFilter()
51 assertEquals("Incorrect name", NAME, filter.getName()); in testParseNameTestFilter()
58 assertEquals("Incorrect name", NAME, filter.getName()); in testParseFullFilter()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DChecksumReporterTest.java129 assertFalse("Checksum should contain module: " + module.getName(), in testInvalidChecksums()
133 assertFalse("Checksum should not contain test: " + mFailedTest.getName(), in testInvalidChecksums()
153 storedChecksum.containsFile(file1, mRoot.getName())); in testFileSerialization()
170 String folderName = mRoot.getName(); in testFileCRCOperations()
188 assertTrue("Checksum should contain module: " + module.getName(), in VerifyInvocationResults()
192 assertTrue("Checksum should contain test: " + result.getName(), in VerifyInvocationResults()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationChecksumHelper.java198 .append(module.getName()).append(SEPARATOR) in generateModuleResultSignature()
208 .append(module.getName()).append(SEPARATOR) in generateModuleSummarySignature()
224 .append(module.getName()).append(SEPARATOR) in generateTestResultSignature()
236 addDirectory(directory, directory.getName()); in addDirectory()
246 addDirectory(child, path + SEPARATOR + child.getName()); in addDirectory()
265 String key = path + SEPARATOR + file.getName(); in addFile()
274 String key = path + SEPARATOR + file.getName(); in containsFile()
DPreviousSessionFileCopier.java92 if (NOT_RETRY_FILES.contains(oldChild.getName())) { in copyRetryFiles()
95 File newChild = new File(newDir, oldChild.getName()); in copyRetryFiles()
99 CLog.d("Copying %s to new session.", oldChild.getName()); in copyRetryFiles()
106 CLog.w("Failed to copy file \"%s\" from previous session", oldChild.getName()); in copyRetryFiles()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DModuleRepo.java219 final String name = configFile.getName().replace(CONFIG_EXT, ""); in initialize()
226 String id = AbiUtils.createId(abi.getName(), name); in initialize()
263 configFile.getName()), e); in initialize()
281 String className = test.getClass().getName(); in prepareTestClass()
319 addFilter(a.getName(), filter, filters); in addFilters()
329 getFilter(filters, AbiUtils.createId(abi, filter.getName())).add(filter); in addFilter()
359 String moduleId = AbiUtils.createId(abi.getName(), name); in addFiltersToTest()
629 if (ENDING_MODULES.containsKey(def1.getName())) { in compare()
630 value1 = ENDING_MODULES.get(def1.getName()); in compare()
632 if (ENDING_MODULES.containsKey(def2.getName())) { in compare()
[all …]
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsSuiteTestJobServlet.java66 private final Logger logger = Logger.getLogger(this.getClass().getName());
171 logger.log(Level.INFO, blob.getName() + " directory will be skipped!"); in doGet()
173 if (filePathList.contains(blob.getName())) { in doGet()
174 logger.log(Level.INFO, "filePathList contain => " + blob.getName()); in doGet()
175 } else if (blob.getName().endsWith(fileSeparator)) { in doGet()
176 logger.log(Level.INFO, blob.getName() + " endswith slash!"); in doGet()
180 .param("filePath", blob.getName()) in doGet()
DVtsPerformanceJobServlet.java50 Logger.getLogger(VtsPerformanceJobServlet.class.getName());
210 if (test.getKey().getName() == null) { in doGet()
260 testKey.getName(), oneWeekAgo - oneWeek, nowMicro, null, summaries); in doPost()
270 String body = getPerformanceSummary(testKey.getName(), nonEmptySummaries, labels); in doPost()
278 String subject = SUBJECT_PREFIX + testKey.getName(); in doPost()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowGcsLogServlet.java231 if (zipEntry.getName().equals(entry)) { in defaultHandler()
232 logger.log(Level.INFO, "matched !!!! " + zipEntry.getName()); in defaultHandler()
238 entryList.add(zipEntry.getName()); in defaultHandler()
288 logger.log(Level.INFO, "directory name => " + blob.getName()); in defaultHandler()
289 dirList.add(blob.getName()); in defaultHandler()
291 logger.log(Level.INFO, "file name => " + blob.getName()); in defaultHandler()
292 fileList.add(Paths.get(blob.getName()).getFileName().toString()); in defaultHandler()
DDashboardMainServlet.java102 public String getName() { in getName() method in DashboardMainServlet.TestDisplay
103 return this.testKey.getName(); in getName()
154 return this.testKey.getName().compareTo(test.getName()); in compareTo()
194 subscriptionMap.put(testKey.getName(), KeyFactory.keyToString(fe.getKey())); in doGetHandler()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestPlanEntity.java36 protected static final Logger logger = Logger.getLogger(TestPlanEntity.class.getName());
73 if (!e.getKind().equals(KIND) || e.getKey().getName() == null in fromEntity()
78 String testPlanName = e.getKey().getName(); in fromEntity()
DTestSuiteFileEntity.java65 this.year = Integer.valueOf(pathInfo.getName(1).toString()); in TestSuiteFileEntity()
66 this.month = Integer.valueOf(pathInfo.getName(2).toString()); in TestSuiteFileEntity()
67 this.day = Integer.valueOf(pathInfo.getName(3).toString()); in TestSuiteFileEntity()
DBranchEntity.java40 protected static final Logger logger = Logger.getLogger(BranchEntity.class.getName());
104 if (!e.getKind().equals(KIND) || e.getKey().getName() == null) { in fromEntity()
108 String branchName = e.getKey().getName(); in fromEntity()
DBuildTargetEntity.java40 protected static final Logger logger = Logger.getLogger(BuildTargetEntity.class.getName());
104 if (!e.getKind().equals(KIND) || e.getKey().getName() == null) { in fromEntity()
108 String targetName = e.getKey().getName(); in fromEntity()
DTestEntity.java42 protected static final Logger logger = Logger.getLogger(TestEntity.class.getName());
140 if (!e.getKind().equals(KIND) || e.getKey().getName() == null) { in fromEntity()
144 String testName = e.getKey().getName(); in fromEntity()
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java380 assertEquals("Incorrect name", NAME_A, moduleA.getName()); in checkResult()
386 assertEquals("Incorrect name", CLASS_A, moduleACase.getName()); in checkResult()
390 assertEquals("Incorrect name", METHOD_1, moduleATest1.getName()); in checkResult()
403 assertEquals("Incorrect name", NAME_B, moduleB.getName()); in checkResult()
409 assertEquals("Incorrect name", CLASS_B, moduleBCase.getName()); in checkResult()
413 assertEquals("Incorrect name", METHOD_3, moduleBTest3.getName()); in checkResult()
422 assertEquals("Incorrect name", METHOD_4, moduleBTest4.getName()); in checkResult()
443 assertEquals("Incorrect name", METHOD_5, moduleBTest5.getName()); in checkResult()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DGraph.java60 public abstract String getName(); in getName() method in Graph
86 json.add(NAME_KEY, new JsonPrimitive(getName())); in toJson()
/test/suite_harness/tools/dex-tools/src/dex/reader/
DDexAnnotationAttributeImpl.java51 public String getName() { in getName() method in DexAnnotationAttributeImpl
61 return getName() + " " + getEncodedValue(); in toString()

123456