Home
last modified time | relevance | path

Searched refs:testName (Results 1 – 25 of 65) sorted by relevance

123

/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsCoverageAlertJobServlet.java94 String testName = status.getTestName(); in getTestCoverageStatus() local
148 + testName in getTestCoverageStatus()
155 + testName in getTestCoverageStatus()
166 + testName in getTestCoverageStatus()
174 + testName in getTestCoverageStatus()
185 + testName in getTestCoverageStatus()
192 + testName in getTestCoverageStatus()
203 + testName in getTestCoverageStatus()
210 + testName in getTestCoverageStatus()
221 + testName in getTestCoverageStatus()
[all …]
DVtsAlertJobServlet.java414 String testName = mostRecentRun.getKey().getParent().getName(); in getTestStatus() local
416 String subject = "VTS Test Alert: " + testName + " @ " + uploadDateString; in getTestStatus()
420 + testName in getTestStatus()
434 + testName in getTestStatus()
448 + testName in getTestStatus()
463 + testName in getTestStatus()
476 testName, in getTestStatus()
510 String testName = testRunKey.getParent().getName(); in doPost() local
513 Key statusKey = KeyFactory.createKey(TestStatusEntity.KIND, testName); in doPost()
520 status = new TestStatusEntity(testName); in doPost()
[all …]
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestEntity.java50 private String testName; field in TestEntity
63 public TestEntity(String testName, boolean hasProfilingData) { in TestEntity() argument
64 this.testName = testName; in TestEntity()
73 public TestEntity(String testName) { in TestEntity() argument
74 this(testName, false); in TestEntity()
106 return KeyFactory.createKey(KIND, testName); in getOldKey()
128 this.testName.equals(test2.testName) && in equals()
144 String testName = e.getKey().getName(); in fromEntity() local
149 return new TestEntity(testName, hasProfilingData); in fromEntity()
DProfilingPointEntity.java68 private String testName; field in ProfilingPointEntity
99 String testName, in ProfilingPointEntity() argument
105 this.key = createKey(testName, profilingPointName); in ProfilingPointEntity()
106 this.testName = testName; in ProfilingPointEntity()
140 public static Key createKey(String testName, String profilingPointName) { in createKey() argument
141 return KeyFactory.createKey(KIND, testName + DELIMITER + profilingPointName); in createKey()
152 profilingPoint.setIndexedProperty(TEST_NAME, this.testName); in toEntity()
183 String testName = (String) e.getProperty(TEST_NAME); in fromEntity() local
191 testName, profilingPointName, type, regressionMode, xLabel, yLabel); in fromEntity()
DTestStatusEntity.java53 @Id private String testName; field in TestStatusEntity
108 String testName, in TestStatusEntity() argument
113 this.testName = testName; in TestStatusEntity()
125 public TestStatusEntity(String testName) { in TestStatusEntity() argument
126 this(testName, 0, -1, -1, new ArrayList<TestCaseReference>()); in TestStatusEntity()
136 Entity testEntity = new Entity(KIND, this.testName); in toEntity()
167 String testName = e.getKey().getName(); in fromEntity() local
196 return new TestStatusEntity(testName, timestamp, passCount, failCount, failingTestCases); in fromEntity()
DTestCoverageStatusEntity.java58 @Id @Getter @Setter String testName; field in TestCoverageStatusEntity
90 String testName, in TestCoverageStatusEntity() argument
95 this.testName = testName; in TestCoverageStatusEntity()
103 public static TestCoverageStatusEntity findById(String testName) { in findById() argument
104 return ofy().load().type(TestCoverageStatusEntity.class).id(testName).now(); in findById()
183 com.googlecode.objectify.Key.create(TestEntity.class, this.testName); in getTestRunEntity()
199 Entity testEntity = new Entity(KIND, this.testName); in toEntity()
224 String testName = e.getKey().getName(); in fromEntity() local
240 testName, timestamp, coveredLineCount, totalLineCount, deviceInfoId); in fromEntity()
DTestRunEntity.java154 @Index @Getter @Setter private String testName; field in TestRunEntity
210 this.testName = parentKey.getName(); in TestRunEntity()
214 this.testRunParent = com.googlecode.objectify.Key.create(TestEntity.class, testName); in TestRunEntity()
231 testRunEntity.setProperty(TEST_NAME, this.testName); in toEntity()
257 Key parentKey = KeyFactory.createKey(TestEntity.KIND, testName); in getKey()
277 public static TestRunEntity getByTestNameId(String testName, long id) { in getByTestNameId() argument
279 com.googlecode.objectify.Key.create(TestEntity.class, testName); in getByTestNameId()
294 TestEntity.class, this.testName); in getOfyKey()
420 json.add(TEST_NAME, new JsonPrimitive(this.testName)); in toJson()
431 if (testCoverageStatusMap.containsKey(this.testName)) { in toJson()
[all …]
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DBusinessLogic.java54 public boolean hasLogicFor(String testName) { in hasLogicFor() argument
55 List<BusinessLogicRulesList> rulesLists = mRules.get(testName); in hasLogicFor()
62 private boolean hasLogicsFor(String testName) { in hasLogicsFor() argument
63 List<BusinessLogicRulesList> rulesLists = mRules.get(testName); in hasLogicsFor()
73 public void applyLogicFor(String testName, BusinessLogicExecutor executor) { in applyLogicFor() argument
74 if (!hasLogicFor(testName)) { in applyLogicFor()
77 if (hasLogicsFor(testName)) { in applyLogicFor()
78 applyLogicsFor(testName, executor); // handle this special case separately in applyLogicFor()
82 BusinessLogicRulesList rulesList = mRules.get(testName).get(0); in applyLogicFor()
95 private void applyLogicsFor(String testName, BusinessLogicExecutor executor) { in applyLogicsFor() argument
[all …]
DCaseResult.java52 public ITestResult getOrCreateResult(String testName) { in getOrCreateResult() argument
53 ITestResult result = mResults.get(testName); in getOrCreateResult()
55 result = new TestResult(this, testName); in getOrCreateResult()
56 mResults.put(testName, result); in getOrCreateResult()
65 public ITestResult getResult(String testName) { in getResult() argument
66 return mResults.get(testName); in getResult()
DTestResultHistory.java55 public TestResultHistory(String testName, Set<ExecutionRecord> executionRecords) { in TestResultHistory() argument
56 this.mTestName = testName; in TestResultHistory()
99 XmlSerializer serializer, TestResultHistory resultHistory, String testName) in serialize() argument
107 String name = resultHistory.getTestName().replaceFirst(testName + ":", ""); in serialize()
108 if (!name.isEmpty() && !name.equalsIgnoreCase(testName)) { in serialize()
DICaseResult.java33 ITestResult getOrCreateResult(String testName); in getOrCreateResult() argument
41 ITestResult getResult(String testName); in getResult() argument
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DBenchmarkResult.java250 public Bundle toBundle(String testName) { in toBundle() argument
253 results.putString(testName + "_error", mBenchmarkError); in toBundle()
257 mLatencyInference.putToBundle(results, testName + "_inference"); in toBundle()
258 results.putFloat(testName + "_inference_mean_square_error", in toBundle()
260 results.putFloat(testName + "_inference_max_single_error", mMaxSingleError); in toBundle()
262 results.putFloat(testName + "_inference_" + mEvaluatorKeys[i], mEvaluatorResults[i]); in toBundle()
265 mLatencyCompileWithoutCache.putToBundle(results, testName + "_compile_without_cache"); in toBundle()
268 mLatencySaveToCache.putToBundle(results, testName + "_save_to_cache"); in toBundle()
271 mLatencyPrepareFromCache.putToBundle(results, testName + "_prepare_from_cache"); in toBundle()
274 results.putInt(testName + "_compilation_cache_size", mCompilationCacheSizeBytes); in toBundle()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowPerformanceDigestServlet.java66 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
67 links.add(new Page(PageType.TABLE, testName, "?testName=" + testName)); in getBreadcrumbLinks()
68 links.add(new Page(PageType.PERFORMANCE_DIGEST, "?testName=" + testName)); in getBreadcrumbLinks()
166 String testName = request.getParameter("testName"); in doGetHandler() local
204 testName, oneWeekAgo - oneWeek, startTime, selectedDevice, summaries); in doGetHandler()
251 request.setAttribute("testName", testName); in doGetHandler()
DShowTableServlet.java61 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
62 links.add(new Page(PageType.TABLE, testName, "?testName=" + testName)); in getBreadcrumbLinks()
108 String testName = request.getParameter("testName"); in doGetHandler() local
146 TestResults testResults = new TestResults(testName); in doGetHandler()
152 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName); in doGetHandler()
DShowCoverageServlet.java63 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
64 links.add(new Page(PageType.TABLE, testName, "?testName=" + testName)); in getBreadcrumbLinks()
67 links.add(new Page(PageType.COVERAGE, "?testName=" + testName + "&startTime=" + startTime)); in getBreadcrumbLinks()
DShowGraphServlet.java73 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
74 links.add(new Page(PageType.TABLE, testName, "?testName=" + testName)); in getBreadcrumbLinks()
80 "?testName=" + testName + "&profilingPoint=" + profilingPointName)); in getBreadcrumbLinks()
130 String testName = request.getParameter("testName"); in doGetHandler() local
153 Key parentKey = KeyFactory.createKey(TestEntity.KIND, testName); in doGetHandler()
DShowProfilingOverviewServlet.java60 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
61 links.add(new Page(PageType.PROFILING_OVERVIEW, testName, "?testName=" + testName)); in getBreadcrumbLinks()
71 String testName = request.getParameter("testName"); in doGetHandler() local
126 testName)); in doGetHandler()
DShowTreeServlet.java73 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
74 links.add(new Page(PageType.TREE, testName, "?testName=" + testName)); in getBreadcrumbLinks()
122 String testName = request.getParameter("testName"); in doGetHandler() local
164 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName); in doGetHandler()
203 TestRunMetadata metadata = new TestRunMetadata(testName, testRunEntity); in doGetHandler()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DBusinessLogicHostTestBase.java64 String testName = String.format("%s#%s", this.getClass().getName(), methodName); in executeBusinessLogic() local
65 if (mBusinessLogic.hasLogicFor(testName)) { in executeBusinessLogic()
66 CLog.i("Applying business logic for test case: ", testName); in executeBusinessLogic()
69 mBusinessLogic.applyLogicFor(testName, executor); in executeBusinessLogic()
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_tree.jsp37 search = $('#filter-bar').createSearchHeader('Module: ', '${testName}', refresh);
66 window.open('/show_table?testName=${testName}&treeDefault=false', '_self');
136 '/show_tree?testName=${testName}' + search.args();
148 '/show_tree?testName=${testName}&endTime=' + endTime +
161 '/show_tree?testName=${testName}&startTime=' + startTime +
242 … <c:set var='profPointArgs' value='testName=${testName}&profilingPoint=${pt}'/>
252 … <a class='collapsible-link' href='/show_performance_digest?testName=${testName}'>
Dshow_table.jsp41 search = $('#filter-bar').createSearchHeader('Module: ', '${testName}', refresh);
70 window.open('/show_tree?testName=${testName}&treeDefault=true', '_self');
111 '/show_table?testName=${testName}' + search.args();
123 '/show_table?testName=${testName}&endTime=' + endTime +
136 '/show_table?testName=${testName}&startTime=' + startTime +
273 … <c:set var='profPointArgs' value='testName=${testName}&profilingPoint=${pt}'/>
283 … <a class='collapsible-link' href='/show_performance_digest?testName=${testName}'>
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DBenchmarkTestBase.java183 public TestAction(TestModelEntry testName, float warmupTimeSeconds, float runTimeSeconds) { in TestAction() argument
184 mTestModel = testName; in TestAction()
237 public void runTest(TestAction ta, String testName) { in runTest() argument
241 final String traceName = "[NN_LA_PO]" + testName; in runTest()
251 getInstrumentation().sendStatus(Activity.RESULT_OK, bmValue.toBundle(testName)); in runTest()
/test/vti/dashboard/src/main/java/com/android/vts/api/
DCoverageRestServlet.java85 String testName = request.getParameter("testName"); in doPost() local
87 json = postCoverageData(cmd, coverageId, testName, testRunId); in doPost()
151 String cmd, String coverageId, String testName, String testRunId) { in postCoverageData() argument
157 CoverageEntity coverageEntity = CoverageEntity.findById(testName, testRunId, coverageId); in postCoverageData()
162 TestCoverageStatusEntity.findById(testName); in postCoverageData()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DTestRunMetadata.java47 public TestRunMetadata(String testName, TestRunEntity testRun, List<DeviceInfoEntity> devices) { in TestRunMetadata() argument
61 public TestRunMetadata(String testName, TestRunEntity testRun) { in TestRunMetadata() argument
62 this(testName, testRun, new ArrayList<DeviceInfoEntity>()); in TestRunMetadata()
/test/mlts/benchmark/src/com/android/nn/crashtest/core/
DCrashTestCoordinator.java161 boolean separateProcess, String testName) { in startTest() argument
178 : "in a local process", testName)); in startTest()
185 : "in a local process", testName)); in startTest()
187 mTestName = testName; in startTest()

123