Home
last modified time | relevance | path

Searched refs:startTime (Results 1 – 25 of 34) sorted by relevance

12

/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DMetricsStore.java48 String startTime = buildInfo.getBuildAttributes().get(START_TIME_TAG); in storeResult() local
49 mMap.put(generateTestKey(startTime, abi, classMethodName), reportLog); in storeResult()
57 String startTime = buildInfo.getBuildAttributes().get(START_TIME_TAG); in removeResult() local
58 return mMap.remove(generateTestKey(startTime, abi, classMethodName)); in removeResult()
64 private static String generateTestKey(String startTime, String abi, String classMethodName) { in generateTestKey() argument
65 return String.format("%s#%s#%s", startTime, abi, classMethodName); in generateTestKey()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DPerformanceSummary.java30 public final long startTime; field in PerformanceSummary
35 public PerformanceSummary(long startTime, long endTime, String label) { in PerformanceSummary() argument
37 this.startTime = startTime; in PerformanceSummary()
43 public PerformanceSummary(long startTime, long endTime) { in PerformanceSummary() argument
45 startTime, 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()
313 if (startTime != null) { in getProfilingTimeFilter()
314 Key minRunKey = KeyFactory.createKey(grandparentKey, parentKind, startTime); in getProfilingTimeFilter()
353 Key grandparentKey, String parentKind, Long startTime, Long endTime) { in getDeviceTimeFilter() argument
354 if (startTime == null && endTime == null) { in getDeviceTimeFilter()
360 if (startTime != null) { in getDeviceTimeFilter()
361 Key minRunKey = KeyFactory.createKey(grandparentKey, parentKind, startTime); in getDeviceTimeFilter()
397 Key testKey, String kind, Long startTime, Long endTime, Filter testRunFilter) { in getTimeFilter() argument
398 if (startTime == null && endTime == null) { in getTimeFilter()
[all …]
DTestResults.java66 public long startTime = Long.MAX_VALUE; // oldest timestamp displayed in the results table field in TestResults
115 if (testRunEntity.getStartTimestamp() < startTime) { in addTestRun()
116 startTime = 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.java146 long startTime, in updatePerformanceSummary() argument
173 startTime); in updatePerformanceSummary()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowPerformanceDigestServlet.java168 Long startTime = null; in doGetHandler() local
172 startTime = Long.parseLong(time); in doGetHandler()
177 if (startTime == null) { in doGetHandler()
178 startTime = TimeUnit.MILLISECONDS.toMicros(System.currentTimeMillis()); in doGetHandler()
184 new PerformanceSummary(startTime - TimeUnit.DAYS.toMicros(1), startTime); in doGetHandler()
188 long oneDayAgo = startTime - TimeUnit.DAYS.toMicros(1); in doGetHandler()
195 long oneWeekAgo = startTime - oneWeek; in doGetHandler()
204 testName, oneWeekAgo - oneWeek, startTime, selectedDevice, summaries); in doGetHandler()
255 request.setAttribute("startTime", Long.toString(startTime)); in doGetHandler()
DShowTableServlet.java96 Long startTime = null; // time in microseconds in doGetHandler() local
113 startTime = Long.parseLong(time); in doGetHandler()
114 startTime = startTime > 0 ? startTime : null; in doGetHandler()
116 startTime = null; in doGetHandler()
149 if (startTime != null && endTime == null) { in doGetHandler()
157 testKey, TestRunEntity.KIND, startTime, endTime, typeFilter); in doGetHandler()
206 request.setAttribute("startTime", new Gson().toJson(testResults.startTime)); in doGetHandler()
219 testKey, TestRunEntity.KIND, testResults.startTime))); in doGetHandler()
DShowTreeServlet.java110 Long startTime = null; // time in microseconds in doGetHandler() local
127 startTime = Long.parseLong(time); in doGetHandler()
128 startTime = startTime > 0 ? startTime : null; in doGetHandler()
130 startTime = null; in doGetHandler()
161 if (startTime != null && endTime == null) { in doGetHandler()
169 testKey, TestRunEntity.KIND, startTime, endTime, typeFilter); in doGetHandler()
289 startTime = lastRun.testRun.getStartTimestamp(); in doGetHandler()
306 request.setAttribute("startTime", new Gson().toJson(startTime)); in doGetHandler()
314 .toJson(DatastoreHelper.hasOlder(testKey, TestRunEntity.KIND, startTime))); in doGetHandler()
DShowPlanReleaseServlet.java158 Long startTime = null; // time in microseconds in getTestPlanDispatcher() local
163 startTime = Long.parseLong(time); in getTestPlanDispatcher()
164 startTime = startTime > 0 ? startTime : null; in getTestPlanDispatcher()
166 startTime = null; in getTestPlanDispatcher()
179 if (startTime != null && endTime == null) { in getTestPlanDispatcher()
200 testPlanKey, TestPlanRunEntity.KIND, startTime, endTime, typeFilter); in getTestPlanDispatcher()
275 startTime = lastRun.testPlanRun.getStartTimestamp(); in getTestPlanDispatcher()
297 testPlanKey, TestPlanRunEntity.KIND, startTime))); in getTestPlanDispatcher()
303 request.setAttribute("startTime", new Gson().toJson(startTime)); in getTestPlanDispatcher()
DShowPlanRunServlet.java98 long startTime = 0; in doGetHandler() local
114 startTime = testPlanRun.getStartTimestamp(); in doGetHandler()
154 request.setAttribute("startTime", new Gson().toJson(startTime)); in doGetHandler()
DShowCoverageServlet.java66 String startTime = request.getParameter("startTime"); in getBreadcrumbLinks() local
67 links.add(new Page(PageType.COVERAGE, "?testName=" + testName + "&startTime=" + startTime)); in getBreadcrumbLinks()
DShowGraphServlet.java144 Long startTime = endTime - TimeUnit.DAYS.toMicros(1); in doGetHandler() local
155 FilterUtil.getTimeFilter(parentKey, TestRunEntity.KIND, startTime, endTime); in doGetHandler()
179 FilterUtil.getDeviceTimeFilter(parentKey, TestRunEntity.KIND, startTime, endTime); in doGetHandler()
DShowProfilingOverviewServlet.java73 long startTime = endTime - TimeUnit.DAYS.toMicros(30); in doGetHandler() local
110 startTime); in doGetHandler()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DProfilingPointSummaryEntity.java115 private Long startTime; field in ProfilingPointSummaryEntity
155 long startTime) { in ProfilingPointSummaryEntity() argument
162 this.startTime = startTime; in ProfilingPointSummaryEntity()
163 this.key = createKey(parentKey, this.branch, this.buildFlavor, this.series, this.startTime); in ProfilingPointSummaryEntity()
176 Key parentKey, String branch, String buildFlavor, String series, long startTime) { in ProfilingPointSummaryEntity() argument
185 startTime); in ProfilingPointSummaryEntity()
199 Key parentKey, String branch, String buildFlavor, String series, long startTime) { in createKey() argument
207 sb.append(startTime); in createKey()
253 profilingSummary.setIndexedProperty(START_TIME, this.startTime); in toEntity()
355 long startTime = (long) e.getProperty(START_TIME); in fromEntity() local
[all …]
DTestSuiteResultEntity.java156 @Id @Getter @Setter Long startTime; field in TestSuiteResultEntity
230 Long startTime, in TestSuiteResultEntity() argument
251 this.startTime = startTime; in TestSuiteResultEntity()
/test/vti/dashboard/src/main/webapp/js/
Dplan_runs.js32 var startTime = entry.testPlanRun.startTimestamp;
43 moment().renderTime(startTime, false) + ' - ' +
45 moment().renderDuration(endTime - startTime) + ')');
Dtest_results.js231 var startTime = metadata.testRun.startTimestamp;
234 div.attr('time', startTime);
261 (moment().renderTime(startTime, false) + ' - ' +
263 moment().renderDuration(endTime - startTime) + ')');
275 var url = ('/show_coverage?testName=' + test + '&startTime=' + startTime);
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_plan_release.jsp68 var endTime = ${startTime};
81 var startTime = ${endTime};
83 '/show_plan_release?plan=${plan}&startTime=' + startTime +
Dshow_plan_run.jsp140 var startTime = ${startTime};
148 details.append('<b>Start Time: </b>' + moment().renderTime(startTime, true) + '<br>');
150 … details.append('<b>Duration: </b>' + moment().renderDuration(endTime - startTime) + '<br>');
Dshow_tree.jsp146 var endTime = ${startTime};
159 var startTime = ${endTime};
161 '/show_tree?testName=${testName}&startTime=' + startTime +
Dshow_table.jsp121 var endTime = ${startTime};
134 var startTime = ${endTime};
136 '/show_table?testName=${testName}&startTime=' + startTime +
Dshow_performance_digest.jsp38 '&startTime=' + time;
50 date.datepicker('setDate', new Date(${startTime} / MICRO_PER_MILLI));
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DJarHostTest.java46 long startTime = System.currentTimeMillis(); in run() local
57 listener.testRunEnded(System.currentTimeMillis() - startTime, metrics); in run()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DPreviousResultLoader.java171 newRun.startTime = holder.startTime; in init()
/test/mlts/benchmark/jni/
Drun_tflite.cpp269 long long startTime = currentTimeInUsec(); in benchmark() local
280 static_cast<float>(endTime - startTime) / 1000000.0f; in benchmark()

12