/test/vti/dashboard/src/test/java/com/android/vts/job/ |
D | VtsAlertJobServletTest.java | 65 allTestCases.add("testCase1"); in setUpExtra() 66 allTestCases.add("testCase2"); in setUpExtra() 67 allTestCases.add("testCase3"); in setUpExtra() 76 allDevices.add(device1); in setUpExtra() 77 allDevices.add(device2); in setUpExtra() 93 acks.add(ack); in testSeparateAcknowledgedAll() 109 branches.add("branch1"); in testSeparateAcknowledgedSpecific() 112 devices.add("flavor2"); in testSeparateAcknowledgedSpecific() 115 testCaseNames.add("testCase1"); in testSeparateAcknowledgedSpecific() 120 acks.add(ack); in testSeparateAcknowledgedSpecific() [all …]
|
D | VtsPerformanceJobServletTest.java | 118 legendLabels.add(""); in setUp() 145 dailySummaries.add(today); in setUp() 146 legendLabels.add("today"); in setUp() 173 dailySummaries.add(yesterday); in setUp() 174 legendLabels.add("yesterday"); in setUp() 191 dailySummaries.add(lastWeek); in setUp() 192 legendLabels.add("last week"); in setUp()
|
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
D | DatastoreRestServlet.java | 192 testEntityList.add(testEntity); in insertTestReport() 195 testCaseRunEntityList.add(new TestCaseRunEntity()); in insertTestReport() 209 linkList.add(systraceLink); in insertTestReport() 221 coverageEntityList.add(coverageEntity); in insertTestReport() 232 profilingPointRunEntityList.add(profilingPointRunEntity); in insertTestReport() 233 profilingPointKeyList.add(profilingPointRunEntity.getKey()); in insertTestReport() 242 testCaseRunEntityList.add(testCaseRunEntity); in insertTestReport() 263 deviceInfoEntityList.add(deviceInfoEntity); in insertTestReport() 265 if (buildTargetKeys.add(target.getKey())) { in insertTestReport() 266 buildTargetEntityList.add(target); in insertTestReport() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
D | Histogram.java | 132 values.add(value); in addData() 133 ids.add(id); in addData() 157 json.add(VALUE_KEY, new Gson().toJsonTree(values).getAsJsonArray()); in toJson() 158 json.add(PERCENTILES_KEY, new Gson().toJsonTree(percentiles).getAsJsonArray()); in toJson() 159 json.add(PERCENTILE_VALUES_KEY, new Gson().toJsonTree(percentileValues).getAsJsonArray()); in toJson() 160 json.add(IDS_KEY, new Gson().toJsonTree(ids).getAsJsonArray()); in toJson() 161 json.add(MIN_KEY, new JsonPrimitive(min)); in toJson() 162 json.add(MAX_KEY, new JsonPrimitive(max)); in toJson()
|
D | TestRunMetadata.java | 71 this.devices.add(device); in addDevice() 89 abiInfoList.add(abi); in processDeviceInfo() 90 deviceInfoList.add(device.getFingerprint()); in processDeviceInfo() 133 json.add(DEVICE_INFO, new JsonPrimitive(this.deviceInfo)); in toJson() 134 json.add(ABI_INFO, new JsonPrimitive(this.abiInfo)); in toJson() 135 json.add(TEST_RUN, this.testRun.toJson()); in toJson() 137 json.add(TEST_DETAILS, this.details.toJson()); in toJson()
|
D | TestRunDetails.java | 44 public void add(String testCase) { in add() method in TestRunDetails.ResultColumn 45 this.testCases.add(testCase); in add() 55 json.add(NAME_KEY, new JsonPrimitive(name)); in toJson() 56 json.add(DATA_KEY, new Gson().toJsonTree(testCases)); in toJson() 82 column.add(testCase.name); in addTestCase() 95 jsonColumns.add(column.toJson()); in toJson()
|
D | LineGraph.java | 105 ids.add(id); in addData() 106 profilingRuns.add(profilingPoint); in addData() 126 axisTicks.add(label); in toJson() 144 json.add(VALUE_KEY, new Gson().toJsonTree(lineGraphValues).getAsJsonArray()); in toJson() 145 json.add(IDS_KEY, new Gson().toJsonTree(ids).getAsJsonArray()); in toJson() 146 json.add(TICKS_KEY, new Gson().toJsonTree(axisTicks)); in toJson()
|
D | Graph.java | 84 json.add(X_LABEL_KEY, new JsonPrimitive(getXLabel())); in toJson() 85 json.add(Y_LABEL_KEY, new JsonPrimitive(getYLabel())); in toJson() 86 json.add(NAME_KEY, new JsonPrimitive(getName())); in toJson() 87 json.add(TYPE_KEY, new JsonPrimitive(getType().toString())); in toJson()
|
D | BoxPlot.java | 134 seriesSet.add(series); in addSeriesData() 175 statList.add(statSummary); in toJson() 178 statJson.add(VALUE_KEY, new Gson().toJsonTree(statList)); in toJson() 179 stats.add(statJson); in toJson() 181 json.add(VALUE_KEY, new Gson().toJsonTree(stats)); in toJson() 182 json.add(SERIES_KEY, new Gson().toJsonTree(seriesList)); in toJson()
|
D | TestResults.java | 121 testRuns.add(testRunEntity); in addTestRun() 128 testCaseRunMap.get(testRun.getKey()).add(testCaseRunEntity); in addTestRun() 182 profilingPointNameSet.add(e.getKey().getName()); in processProfilingPoints() 203 deviceGets.add(device.getKey()); in processDeviceInfos() 215 deviceInfoMap.get(device.getParent()).add(deviceEntity); in processDeviceInfos() 265 buildAliasList.add(deviceInfoEntity.getBranch()); in processReport() 266 buildFlavorList.add(deviceInfoEntity.getBuildFlavor()); in processReport() 267 productVariantList.add(deviceInfoEntity.getProduct()); in processReport() 268 buildIdList.add(deviceInfoEntity.getBuildId()); in processReport() 278 abiInfoList.add(abi); in processReport() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/job/ |
D | VtsAlertJobServlet.java | 86 gets.add(KeyFactory.createKey(TestCaseRunEntity.KIND, testCaseRef.parentId)); in getCurrentFailures() 127 acks.add(ack); in getTestCaseAcknowledgments() 162 testRuns.add(testRun); in getTestRuns() 207 acknowledged.add(testCase); in separateAcknowledged() 257 testCaseKeys.add(KeyFactory.createKey(TestCaseRunEntity.KIND, testCaseId)); in getTestStatus() 289 transientTestcaseFailures.add(testCaseName); in getTestStatus() 311 buildIdList.add(deviceEntity.getBuildId()); in getTestStatus() 312 devices.add(deviceEntity); in getTestStatus() 323 skippedTestcaseFailures.add(testCaseName); in getTestStatus() 324 failingTestCases.add( in getTestStatus() [all …]
|
D | VtsProfilingStatsJobServlet.java | 94 tasks.add( in addTasks() 129 puts.add(profilingPoint.toEntity()); in updateSummaries() 136 branches.add(ProfilingPointSummaryEntity.ALL); in updateSummaries() 137 deviceNames.add(ProfilingPointSummaryEntity.ALL); in updateSummaries() 140 branches.add(d.getBranch()); in updateSummaries() 141 deviceNames.add(d.getBuildFlavor()); in updateSummaries() 147 summaryGets.add( in updateSummaries() 190 modifiedEntities.add(summary); in updateSummaries() 195 puts.add(profilingPointSummary.toEntity()); in updateSummaries() 249 devices.add(deviceInfoEntity); in doPost()
|
D | VtsPerformanceJobServlet.java | 217 tasks.add(task); in doGet() 240 summaries.add(today); in doPost() 246 summaries.add(yesterday); in doPost() 258 summaries.add(lastWeek); in doPost() 264 labels.add(""); in doPost() 267 nonEmptySummaries.add(perfSummary); in doPost() 268 labels.add(perfSummary.label); in doPost()
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowPerformanceDigestServlet.java | 67 links.add(new Page(PageType.TABLE, testName, "?testName=" + testName)); in getBreadcrumbLinks() 68 links.add(new Page(PageType.PERFORMANCE_DIGEST, "?testName=" + testName)); in getBreadcrumbLinks() 185 summaries.add(today); in doGetHandler() 191 summaries.add(yesterday); in doGetHandler() 202 summaries.add(lastWeek); in doGetHandler() 212 nonEmptySummaries.add(perfSummary); in doGetHandler() 237 tables.add(table); in doGetHandler() 238 tableTitles.add(profilingPointName); in doGetHandler() 241 tableSubtitles.add(HIGHER_IS_BETTER); in doGetHandler() 244 tableSubtitles.add(LOWER_IS_BETTER); in doGetHandler()
|
D | ShowPlanReleaseServlet.java | 79 links.add(new Page(PageType.RELEASE, "TEST PLANS", "?type=" + testType, true)); in getBreadcrumbLinks() 80 links.add(new Page(PageType.PLAN_RELEASE, planName, "?plan=" + planName)); in getBreadcrumbLinks() 82 links.add(new Page(PageType.RELEASE, "TEST SUITES", "?type=" + testType, true)); in getBreadcrumbLinks() 83 links.add( in getBreadcrumbLinks() 106 devices.add( in addDevice() 113 deviceSet.add(device); in addDevice() 118 obj.add("testPlanRun", testPlanRun.toJson()); in toJson() 119 obj.add("deviceInfo", new JsonPrimitive(StringUtils.join(devices, ", "))); in toJson() 203 userTestFilters.add(0, testPlanRunFilter); in getTestPlanDispatcher() 229 testPlanRuns.add(metadata); in getTestPlanDispatcher() [all …]
|
D | ShowGreenReleaseServlet.java | 172 links.add(new Page(PageType.PLAN_RELEASE, planName, "?plan=" + planName)); in getBreadcrumbLinks() 186 deviceBuildTargetList.add( in getBasicParamMap() 224 cal.add(Calendar.DATE, -7); in getTestPlanDispatcher() 244 paramInfoMap.get(branch).add(target); in getTestPlanDispatcher() 289 userTestFilters.add(0, testPlanRunFilter); in getTestPlanDispatcher() 331 allPassIdLists.add(passBuildIdList); in getTestPlanDispatcher() 368 allPassIdLists.add(new ArrayList<>()); in getTestPlanDispatcher() 432 paramInfoMap.get(branch).add(target); in getTestSuiteDispatcher() 439 cal.add(Calendar.DATE, -7); in getTestSuiteDispatcher() 468 allPassIdLists.add(passBuildIdList); in getTestSuiteDispatcher()
|
D | ShowPlanRunServlet.java | 57 links.add(new Page(PageType.PLAN_RELEASE, planName, "?plan=" + planName)); in getBreadcrumbLinks() 60 links.add(new Page(PageType.PLAN_RUN, "?plan=" + planName + "&time=" + time)); in getBreadcrumbLinks() 86 resultNames.add(r.name()); in doGetHandler() 127 devices.add(deviceEntity); in doGetHandler() 132 failingTestObjects.add(metadata.toJson()); in doGetHandler() 134 passingTestObjects.add(metadata.toJson()); in doGetHandler()
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | TestRunEntity.java | 409 links.add(new Gson().toJsonTree(logInfo)); in getJsonLogLinks() 420 json.add(TEST_NAME, new JsonPrimitive(this.testName)); in toJson() 421 json.add(TEST_BUILD_ID, new JsonPrimitive(this.testBuildId)); in toJson() 422 json.add(HOST_NAME, new JsonPrimitive(this.hostName)); in toJson() 423 json.add(PASS_COUNT, new JsonPrimitive(this.passCount)); in toJson() 424 json.add(FAIL_COUNT, new JsonPrimitive(this.failCount)); in toJson() 425 json.add(START_TIMESTAMP, new JsonPrimitive(this.startTimestamp)); in toJson() 426 json.add(END_TIMESTAMP, new JsonPrimitive(this.endTimestamp)); in toJson() 448 … json.add(CodeCoverageEntity.COVERED_LINE_COUNT, new JsonPrimitive(coveredLineCount)); in toJson() 449 json.add(CodeCoverageEntity.TOTAL_LINE_COUNT, new JsonPrimitive(totalLineCount)); in toJson() [all …]
|
D | TestAcknowledgmentEntity.java | 270 json.add(KEY, new JsonPrimitive(KeyFactory.keyToString(this.key))); in toJson() 271 json.add(TEST_NAME, new JsonPrimitive(this.test.getName())); in toJson() 272 json.add(USER_OBJ, new JsonPrimitive(this.userObj.getEmail())); in toJson() 273 json.add(CREATED, new JsonPrimitive(this.created)); in toJson() 278 branches.add(new JsonPrimitive(branch)); in toJson() 281 json.add(BRANCHES, new Gson().toJsonTree(branches)); in toJson() 286 devices.add(new JsonPrimitive(device)); in toJson() 289 json.add(DEVICES, new Gson().toJsonTree(devices)); in toJson() 294 testCaseNames.add(new JsonPrimitive(testCaseName)); in toJson() 297 json.add(TEST_CASE_NAMES, new Gson().toJsonTree(testCaseNames)); in toJson() [all …]
|
D | TestPlanRunEntity.java | 222 queue.add( in addCoverageApiTask() 302 json.add(TEST_PLAN_NAME, new JsonPrimitive(this.testPlanName)); in toJson() 303 json.add(TEST_BUILD_ID, new JsonPrimitive(this.testBuildId)); in toJson() 304 json.add(PASS_COUNT, new JsonPrimitive(this.passCount)); in toJson() 305 json.add(FAIL_COUNT, new JsonPrimitive(this.failCount)); in toJson() 306 json.add(START_TIMESTAMP, new JsonPrimitive(this.startTimestamp)); in toJson() 307 json.add(END_TIMESTAMP, new JsonPrimitive(this.endTimestamp)); in toJson()
|
D | TestCaseRunEntity.java | 143 this.testCases.add(new TestCase(this.id, this.testCases.size(), name, result)); in onLoad() 158 this.testCaseNames.add(name); in addTestCase() 159 this.results.add(result); in addTestCase() 182 testCaseNames.add(testCase.name); in toEntity() 183 results.add(testCase.result); in toEntity()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/evaluators/ |
D | MelCepLogF0.java | 52 outValidationErrors.add("Mel-cep distortion exceeded the limit: " + in EvaluateSequenceAccuracy() 59 outValidationErrors.add("Log F0 error exceeded the limit: " + logF0Error); in EvaluateSequenceAccuracy() 66 keys.add("max_mel_cep_distortion"); in AddValidationResult() 67 values.add(mMaxMelCepDistortion); in AddValidationResult() 68 keys.add("max_log_f0_error"); in AddValidationResult() 69 values.add(mMaxLogF0Error); in AddValidationResult()
|
/test/vts/utils/python/web/ |
D | web_utils.py | 102 dev_info = self.report_msg.device_info.add() 149 self.current_test_report_msg = self.report_msg.test_case.add() 177 api_coverage = report.api_coverage.add() 222 coverage = report.coverage.add() 263 getattr(self, _PROFILING_POINTS).add(name) 264 profiling_msg = self.report_msg.profiling.add() 308 getattr(self, _PROFILING_POINTS).add(name) 309 profiling_msg = self.report_msg.profiling.add() 385 systrace_msg = self.current_test_report_msg.systrace.add() 407 log_msg = self.report_msg.log.add() [all …]
|
/test/vts/utils/python/fuzzer/ |
D | GenePool.py | 57 def _IsNewCoverage(self, coverage, add=False): argument 72 if add: 76 if add: 99 if self._IsNewCoverage(coverage, add=True):
|
/test/app_compat/csuite/instrumentation/launch/src/main/java/com/android/compatibilitytest/ |
D | AppCompatibility.java | 85 DROPBOX_TAGS.add("SYSTEM_TOMBSTONE"); 86 DROPBOX_TAGS.add("system_app_anr"); 87 DROPBOX_TAGS.add("system_app_native_crash"); 88 DROPBOX_TAGS.add("system_app_crash"); 89 DROPBOX_TAGS.add("data_app_anr"); 90 DROPBOX_TAGS.add("data_app_native_crash"); 91 DROPBOX_TAGS.add("data_app_crash"); 295 errors.add(String.format("### Type: %s, Details:\n%s", errorType, errorInfo)); in addProcessError()
|