Home
last modified time | relevance | path

Searched refs:endTime (Results 1 – 25 of 29) sorted by relevance

12

/test/vti/dashboard/src/main/java/com/android/vts/util/
DPerformanceSummary.java31 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()
DFilterUtil.java306 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 …]
DTestResults.java67 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()
DPerformanceUtil.java147 long endTime, in updatePerformanceSummary() argument
178 endTime); in updatePerformanceSummary()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowTableServlet.java97 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()
DShowTreeServlet.java111 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()
DShowPlanReleaseServlet.java159 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()
DShowGraphServlet.java133 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()
DShowPlanRunServlet.java99 long endTime = 0; in doGetHandler() local
115 endTime = testPlanRun.getEndTimestamp(); in doGetHandler()
155 request.setAttribute("endTime", new Gson().toJson(endTime)); in doGetHandler()
DShowProfilingOverviewServlet.java72 long endTime = TimeUnit.MILLISECONDS.toMicros(System.currentTimeMillis()); in doGetHandler() local
73 long startTime = endTime - TimeUnit.DAYS.toMicros(30); in doGetHandler()
115 endTime); in doGetHandler()
DShowCoverageOverviewServlet.java356 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/
Dplan_runs.js33 var endTime = entry.testPlanRun.endTimestamp;
44 moment().renderTime(endTime, true) + ' (' +
45 moment().renderDuration(endTime - startTime) + ')');
Dtest_results.js232 var endTime = metadata.testRun.endTimestamp;
262 moment().renderTime(endTime, true) + ' (' +
263 moment().renderDuration(endTime - startTime) + ')');
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_plan_release.jsp68 var endTime = ${startTime};
70 '/show_plan_release?plan=${plan}&endTime=' + endTime +
81 var startTime = ${endTime};
Dshow_graph.jsp44 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) +
Dshow_tree.jsp146 var endTime = ${startTime};
148 '/show_tree?testName=${testName}&endTime=' + endTime +
159 var startTime = ${endTime};
243 <c:set var='timeArgs' value='endTime=${endTime}'/>
Dshow_table.jsp121 var endTime = ${startTime};
123 '/show_table?testName=${testName}&endTime=' + endTime +
134 var startTime = ${endTime};
274 <c:set var='timeArgs' value='endTime=${endTime}'/>
Dshow_plan_run.jsp141 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/
DProcessHelperTest.java54 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/
DTestSuiteResultEntity.java159 @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/
DVtsAlertJobServlet.java142 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/
DPreviousResultLoader.java172 newRun.endTime = holder.endTime; in init()
/test/mlts/benchmark/jni/
Drun_tflite.cpp272 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/
DVtsMultiDeviceTestResultParser.java417 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/
DResultHandler.java324 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()

12