Home
last modified time | relevance | path

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

12

/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/app_compat/csuite/instrumentation/launch/src/main/java/com/android/compatibilitytest/
DAppCompatibility.java155 long startTime = System.currentTimeMillis(); in testAppStability() local
169 checkDropbox(startTime, packageName); in testAppStability()
227 private void checkDropbox(long startTime, String processName) { in checkDropbox() argument
231 while (null != (entry = dropbox.getNextEntry(null, startTime))) { in checkDropbox()
243 startTime = entry.getTimeMillis(); in checkDropbox()
/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_table.jsp121 var endTime = ${startTime};
134 var startTime = ${endTime};
136 '/show_table?testName=${testName}&startTime=' + startTime +
Dshow_tree.jsp146 var endTime = ${startTime};
159 var startTime = ${endTime};
161 '/show_tree?testName=${testName}&startTime=' + startTime +
Dshow_performance_digest.jsp38 '&startTime=' + time;
50 date.datepicker('setDate', new Date(${startTime} / MICRO_PER_MILLI));
/test/vts-testcase/hal/usb/gadget/V1_1/host/src/com/android/usb/gadget/vts/
DVtsHalUsbGadgetV1_1HostTest.java88 long startTime = System.currentTimeMillis(); in testResetUsbGadget() local
90 while (!mReconnected && System.currentTimeMillis() - startTime < CONN_TIMEOUT) { in testResetUsbGadget()
/test/mlts/benchmark/jni/
Drun_tflite.cpp333 long long startTime = currentTimeInUsec(); in benchmark() local
344 static_cast<float>(endTime - startTime) / 1000000.0f; in benchmark()
528 const long long startTime = currentTimeInUsec(); in benchmarkSingleTypeOfCompilation() local
537 const float compilationTime = static_cast<float>(endTime - startTime) / 1000000.0f; in benchmarkSingleTypeOfCompilation()
/test/mlts/benchmark/native/
Dmulti_process_test.cpp112 std::time_t startTime = std::time(nullptr); in runModel() local
113 while (std::difftime(std::time(nullptr), startTime) < durationSeconds) { in runModel()

12