/test/vti/dashboard/src/main/java/com/android/vts/job/ |
D | VtsCoverageAlertJobServlet.java | 94 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 …]
|
D | VtsAlertJobServlet.java | 414 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/ |
D | TestEntity.java | 50 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()
|
D | ProfilingPointEntity.java | 68 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()
|
D | TestStatusEntity.java | 53 @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()
|
D | TestCoverageStatusEntity.java | 58 @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()
|
D | TestRunEntity.java | 154 @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/ |
D | BusinessLogic.java | 54 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 …]
|
D | CaseResult.java | 52 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()
|
D | ICaseResult.java | 33 ITestResult getOrCreateResult(String testName); in getOrCreateResult() argument 41 ITestResult getResult(String testName); in getResult() argument
|
/test/mlts/benchmark/src/com/android/nn/benchmark/app/ |
D | BenchmarkTestBase.java | 111 public TestAction(TestModelEntry testName) { in TestAction() argument 112 mTestModel = testName; in TestAction() 114 public TestAction(TestModelEntry testName, float warmupTimeSeconds, float runTimeSeconds) { in TestAction() argument 115 mTestModel = testName; in TestAction() 157 public void runTest(TestAction ta, String testName) { in runTest() argument 161 final String traceName = "[NN_LA_PO]" + testName; in runTest() 171 getInstrumentation().sendStatus(Activity.RESULT_OK, bmValue.toBundle(testName)); in runTest()
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowPerformanceDigestServlet.java | 66 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()
|
D | ShowTableServlet.java | 61 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()
|
D | ShowCoverageServlet.java | 63 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()
|
D | ShowGraphServlet.java | 73 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()
|
D | ShowProfilingOverviewServlet.java | 60 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()
|
D | ShowTreeServlet.java | 73 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/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | BenchmarkResult.java | 247 public Bundle toBundle(String testName) { in toBundle() argument 250 results.putString(testName + "_error", mBenchmarkError); in toBundle() 255 results.putFloat(testName + "_avg", getMeanTimeSec() * 1000.0f); in toBundle() 256 results.putFloat(testName + "_std_dev", mTimeStdDeviation * 1000.0f); in toBundle() 257 results.putFloat(testName + "_total_time", mTotalTimeSec * 1000.0f); in toBundle() 258 results.putFloat(testName + "_mean_square_error", mSumOfMSEs / mIterations); in toBundle() 259 results.putFloat(testName + "_max_single_error", mMaxSingleError); in toBundle() 260 results.putInt(testName + "_iterations", mIterations); in toBundle() 262 results.putFloat(testName + "_" + mEvaluatorKeys[i], in toBundle()
|
D | TestModelsListLoader.java | 56 String testName = name; in parseJSONModelsList() local 58 testName = jsonTestModelEntry.getString("testName"); in parseJSONModelsList() 150 inputOutputs, datasets, testName, modelFile, evaluator, minSdkVersion)); in parseJSONModelsList()
|
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/ |
D | show_tree.jsp | 37 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}'>
|
D | show_table.jsp | 41 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/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | BusinessLogicHostTestBase.java | 64 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/java/com/android/vts/api/ |
D | CoverageRestServlet.java | 85 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/ |
D | TestRunMetadata.java | 47 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()
|
D | TestResults.java | 56 public String testName; field in TestResults 96 public TestResults(String testName) { in TestResults() argument 97 this.testName = testName; in TestResults() 169 Key testKey = KeyFactory.createKey(TestEntity.KIND, this.testName); in processProfilingPoints() 190 Key testKey = KeyFactory.createKey(TestEntity.KIND, this.testName); in processDeviceInfos() 366 + testName in processReport()
|