Home
last modified time | relevance | path

Searched refs:endTime (Results 1 – 25 of 34) 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/suite_harness/common/util/src/com/android/compatibility/common/util/
DTestResultHistory.java130 private final long endTime; field in TestResultHistory.ExecutionRecord
134 public ExecutionRecord(long startTime, long endTime, boolean isAutomated) { in ExecutionRecord() argument
136 this.endTime = endTime; in ExecutionRecord()
145 return endTime; in getEndTime()
162 && endTime == that.endTime in equals()
168 return Objects.hash(startTime, endTime, isAutomated); in hashCode()
/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()
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()
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()
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()
/test/vts-testcase/hal/tv/cec/V1_0/host_cec_client/
Dcec_utils.py134 endTime = startTime
135 while (endTime - startTime <= waitingTime):
144 endTime = int(round(time.time()))
179 endTime = startTime
185 while (endTime - startTime <= waitingTime):
194 endTime = int(round(time.time()))
/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/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNModelLoadingStressTest.java64 float endTime = stopwatch.runtime(TimeUnit.SECONDS) + RUNTIME_SECONDS; in stressTestNNAPI() local
66 while (stopwatch.runtime(TimeUnit.SECONDS) < endTime) { in stressTestNNAPI()
/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/mlts/benchmark/jni/
Drun_tflite.cpp303 long long endTime = currentTimeInUsec(); in benchmark() local
311 static_cast<float>(endTime - startTime) / 1000000.0f; in benchmark()
494 const long long endTime = currentTimeInUsec(); in benchmarkSingleTypeOfCompilation() local
501 const float compilationTime = static_cast<float>(endTime - startTime) / 1000000.0f; in benchmarkSingleTypeOfCompilation()
/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.java198 newRun.endTime = holder.endTime; in init()

12