/test/vti/dashboard/src/main/java/com/android/vts/util/ |
D | PerformanceSummary.java | 31 public final long endTime; field in PerformanceSummary 35 public PerformanceSummary(long startTime, long endTime, String label) { in PerformanceSummary() argument 38 this.endTime = endTime; in PerformanceSummary() 43 public PerformanceSummary(long startTime, long endTime) { in PerformanceSummary() argument 46 endTime, in PerformanceSummary() 48 + Long.toString(TimeUnit.MICROSECONDS.toMillis(endTime)) in PerformanceSummary() 59 return time >= startTime && time <= endTime; in contains()
|
D | FilterUtil.java | 306 Key grandparentKey, String parentKind, Long startTime, Long endTime) { in getProfilingTimeFilter() argument 307 if (startTime == null && endTime == null) { in getProfilingTimeFilter() 308 endTime = TimeUnit.MILLISECONDS.toMicros(System.currentTimeMillis()); in getProfilingTimeFilter() 325 if (endTime != null) { in getProfilingTimeFilter() 326 Key maxRunKey = KeyFactory.createKey(grandparentKey, parentKind, endTime); in getProfilingTimeFilter() 353 Key grandparentKey, String parentKind, Long startTime, Long endTime) { in getDeviceTimeFilter() argument 354 if (startTime == null && endTime == null) { in getDeviceTimeFilter() 355 endTime = TimeUnit.MILLISECONDS.toMicros(System.currentTimeMillis()); in getDeviceTimeFilter() 370 if (endTime != null) { in getDeviceTimeFilter() 371 Key maxRunKey = KeyFactory.createKey(grandparentKey, parentKind, endTime); in getDeviceTimeFilter() [all …]
|
D | TestResults.java | 67 public long endTime = Long.MIN_VALUE; // newest timestamp displayed in the results table field in TestResults 118 if (testRunEntity.getStartTimestamp() > endTime) { in addTestRun() 119 endTime = testRunEntity.getStartTimestamp(); in addTestRun() 172 testKey, TestRunEntity.KIND, this.startTime, this.endTime); in processProfilingPoints() 193 testKey, TestRunEntity.KIND, this.startTime, this.endTime); in processDeviceInfos()
|
D | PerformanceUtil.java | 147 long endTime, in updatePerformanceSummary() argument 178 endTime); in updatePerformanceSummary()
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowTableServlet.java | 97 Long endTime = null; // time in microseconds in doGetHandler() local 122 endTime = Long.parseLong(time); in doGetHandler() 123 endTime = endTime > 0 ? endTime : null; in doGetHandler() 125 endTime = null; in doGetHandler() 149 if (startTime != null && endTime == null) { in doGetHandler() 157 testKey, TestRunEntity.KIND, startTime, endTime, typeFilter); in doGetHandler() 207 request.setAttribute("endTime", new Gson().toJson(testResults.endTime)); in doGetHandler() 213 testKey, TestRunEntity.KIND, testResults.endTime))); in doGetHandler()
|
D | ShowTreeServlet.java | 111 Long endTime = null; // time in microseconds in doGetHandler() local 136 endTime = Long.parseLong(time); in doGetHandler() 137 endTime = endTime > 0 ? endTime : null; in doGetHandler() 139 endTime = null; in doGetHandler() 161 if (startTime != null && endTime == null) { in doGetHandler() 169 testKey, TestRunEntity.KIND, startTime, endTime, typeFilter); in doGetHandler() 281 endTime = firstRun.testRun.getStartTimestamp(); in doGetHandler() 307 request.setAttribute("endTime", new Gson().toJson(endTime)); in doGetHandler() 310 new Gson().toJson(DatastoreHelper.hasNewer(testKey, TestRunEntity.KIND, endTime))); in doGetHandler()
|
D | ShowPlanReleaseServlet.java | 159 Long endTime = null; // time in microseconds in getTestPlanDispatcher() local 172 endTime = Long.parseLong(time); in getTestPlanDispatcher() 173 endTime = endTime > 0 ? endTime : null; in getTestPlanDispatcher() 175 endTime = null; in getTestPlanDispatcher() 179 if (startTime != null && endTime == null) { in getTestPlanDispatcher() 200 testPlanKey, TestPlanRunEntity.KIND, startTime, endTime, typeFilter); in getTestPlanDispatcher() 272 endTime = firstRun.testPlanRun.getStartTimestamp(); in getTestPlanDispatcher() 291 testPlanKey, TestPlanRunEntity.KIND, endTime))); in getTestPlanDispatcher() 304 request.setAttribute("endTime", new Gson().toJson(endTime)); in getTestPlanDispatcher()
|
D | ShowGraphServlet.java | 133 Long endTime = null; in doGetHandler() local 137 endTime = Long.parseLong(time); in doGetHandler() 141 if (endTime == null) { in doGetHandler() 142 endTime = TimeUnit.MILLISECONDS.toMicros(System.currentTimeMillis()); in doGetHandler() 144 Long startTime = endTime - TimeUnit.DAYS.toMicros(1); in doGetHandler() 155 FilterUtil.getTimeFilter(parentKey, TestRunEntity.KIND, startTime, endTime); in doGetHandler() 179 FilterUtil.getDeviceTimeFilter(parentKey, TestRunEntity.KIND, startTime, endTime); in doGetHandler() 242 request.setAttribute("endTime", new Gson().toJson(endTime)); in doGetHandler()
|
D | ShowPlanRunServlet.java | 99 long endTime = 0; in doGetHandler() local 115 endTime = testPlanRun.getEndTimestamp(); in doGetHandler() 155 request.setAttribute("endTime", new Gson().toJson(endTime)); in doGetHandler()
|
D | ShowProfilingOverviewServlet.java | 72 long endTime = TimeUnit.MILLISECONDS.toMicros(System.currentTimeMillis()); in doGetHandler() local 73 long startTime = endTime - TimeUnit.DAYS.toMicros(30); in doGetHandler() 115 endTime); in doGetHandler()
|
D | ShowCoverageOverviewServlet.java | 356 Long endTime = Calendar.getInstance().getTime().getTime() * 1000; in getCoverageDataTable() local 373 PathElement.of(TestRunEntity.KIND, endTime)) in getCoverageDataTable() 374 .newKey(endTime); in getCoverageDataTable()
|
/test/vti/dashboard/src/main/webapp/js/ |
D | plan_runs.js | 33 var endTime = entry.testPlanRun.endTimestamp; 44 moment().renderTime(endTime, true) + ' (' + 45 moment().renderDuration(endTime - startTime) + ')');
|
D | test_results.js | 232 var endTime = metadata.testRun.endTimestamp; 262 moment().renderTime(endTime, true) + ' (' + 263 moment().renderDuration(endTime - startTime) + ')');
|
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/ |
D | show_plan_release.jsp | 68 var endTime = ${startTime}; 70 '/show_plan_release?plan=${plan}&endTime=' + endTime + 81 var startTime = ${endTime};
|
D | show_graph.jsp | 44 date.datepicker('setDate', new Date(${endTime} / MICRO_PER_MILLI)); 223 var endTime = $('#date').datepicker('getDate').getTime(); 224 endTime = endTime + (ONE_DAY / MICRO_PER_MILLI) - 1; 229 '&endTime=' + (endTime * MICRO_PER_MILLI) +
|
D | show_tree.jsp | 146 var endTime = ${startTime}; 148 '/show_tree?testName=${testName}&endTime=' + endTime + 159 var startTime = ${endTime}; 243 <c:set var='timeArgs' value='endTime=${endTime}'/>
|
D | show_table.jsp | 121 var endTime = ${startTime}; 123 '/show_table?testName=${testName}&endTime=' + endTime + 134 var startTime = ${endTime}; 274 <c:set var='timeArgs' value='endTime=${endTime}'/>
|
D | show_plan_run.jsp | 141 var endTime = ${endTime}; 149 details.append('<b>End Time: </b>' + moment().renderTime(endTime, true) + '<br>'); 150 … details.append('<b>Duration: </b>' + moment().renderDuration(endTime - startTime) + '<br>');
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/ |
D | ProcessHelperTest.java | 54 long endTime = System.currentTimeMillis() + executionTimeMsecs; in createMockProcess() local 60 return System.currentTimeMillis() <= endTime && !destroyed; in createMockProcess()
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | TestSuiteResultEntity.java | 159 @Getter @Setter Long endTime; field in TestSuiteResultEntity 231 Long endTime, in TestSuiteResultEntity() argument 252 this.endTime = endTime; in TestSuiteResultEntity()
|
/test/vti/dashboard/src/main/java/com/android/vts/job/ |
D | VtsAlertJobServlet.java | 142 private static List<TestRunEntity> getTestRuns(Key testKey, long startTime, long endTime) { in getTestRuns() argument 145 long delta = endTime - startTime; in getTestRuns() 149 testKey, TestRunEntity.KIND, endTime - delta + 1, endTime, testTypeFilter); in getTestRuns()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/ |
D | PreviousResultLoader.java | 172 newRun.endTime = holder.endTime; in init()
|
/test/mlts/benchmark/jni/ |
D | run_tflite.cpp | 272 long long endTime = currentTimeInUsec(); in benchmark() local 280 static_cast<float>(endTime - startTime) / 1000000.0f; in benchmark()
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/ |
D | VtsMultiDeviceTestResultParser.java | 417 long endTime = (long) results.getJSONObject(index).get(END_TIME); in processJsonFile() local 452 listener.testEnded(TestDescription, endTime, Collections.emptyMap()); in processJsonFile()
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | ResultHandler.java | 324 long startTime, long endTime, String referenceUrl, String logUrl, in writeResults() argument 339 serializer.attribute(NS, END_TIME_ATTR, String.valueOf(endTime)); in writeResults() 341 serializer.attribute(NS, END_DISPLAY_TIME_ATTR, toReadableDateString(endTime)); in writeResults()
|