/test/vts/testcases/host/kernel_proc_file_api_test/ |
D | proc_utils.py | 20 import time 90 start = time.time() 94 if time.time() - start >= timeout: 97 time.sleep(1) 122 start = time.time() 123 while (time.time() - start) <= timeout: 126 time.sleep(1) 140 time.sleep(1)
|
/test/vts/utils/python/controllers/ |
D | android.py | 26 import time 68 timeout_time = time.time() + self._SOCKET_CONNECT_TIMEOUT 72 (addr, port), max(1, timeout_time - time.time())) 82 if time.time() + 1 >= timeout_time: 85 time.sleep(1)
|
D | android_device.py | 30 import time 859 start = time.time() 868 if time.time() - start >= timeout: 871 time.sleep(1) 1008 start = time.time() 1015 if time.time() - start >= timeout_secs: 1018 time.sleep(1) 1063 start = time.time() 1065 if time.time() - start >= timeout_secs: 1070 time.sleep(1)
|
/test/vti/dashboard/src/test/java/com/android/vts/job/ |
D | VtsProfilingStatsJobServletTest.java | 46 import java.time.Instant; 47 import java.time.LocalDateTime; 48 import java.time.Month; 49 import java.time.ZonedDateTime; 83 long time = TimeUnit.MILLISECONDS.toMicros(d.getTime()); in createProfilingRun() local 84 long canonicalTime = VtsProfilingStatsJobServlet.getCanonicalTime(time); in createProfilingRun() 95 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time); in createProfilingRun() 182 long time = TimeUnit.SECONDS.toMicros(zdt.toEpochSecond()); in testCanonicalTimeMidday() local 183 long canonicalTime = VtsProfilingStatsJobServlet.getCanonicalTime(time); in testCanonicalTimeMidday() 203 long time = TimeUnit.SECONDS.toMicros(zdt.toEpochSecond()); in testCanonicalTimeMidnight() local [all …]
|
/test/vti/test_serving/configs/infra/test/androidtestcenter-test/scripts/ |
D | home_bot_config.py | 26 import time 109 if self._properties is None or time.time() > self._stale_state_ts: 120 if self._properties is None or time.time() > self._stale_state_ts: 164 self._stale_state_ts = time.time() + self._STALE_STATE_DELTA 262 return {'Authorization': 'Bearer %s' % tok}, time.time() + 5*60
|
/test/vti/test_serving/configs/infra/prod/androidtestcenter/scripts/ |
D | home_bot_config.py | 26 import time 109 if self._properties is None or time.time() > self._stale_state_ts: 120 if self._properties is None or time.time() > self._stale_state_ts: 164 self._stale_state_ts = time.time() + self._STALE_STATE_DELTA 262 return {'Authorization': 'Bearer %s' % tok}, time.time() + 5*60
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowPlanRunServlet.java | 59 String time = request.getParameter("time"); in getBreadcrumbLinks() local 60 links.add(new Page(PageType.PLAN_RUN, "?plan=" + planName + "&time=" + time)); in getBreadcrumbLinks() 67 Long time = null; // time in microseconds in doGetHandler() local 76 time = Long.parseLong(timeString); in doGetHandler() 77 time = time > 0 ? time : null; in doGetHandler() 79 time = null; in doGetHandler() 94 Key planRunKey = KeyFactory.createKey(planKey, TestPlanRunEntity.KIND, time); in doGetHandler()
|
D | ShowCoverageServlet.java | 89 long time = -1; in doGetHandler() local 91 time = Long.parseLong(timeString); in doGetHandler() 101 .create(testKey, TestRunEntity.class, time); in doGetHandler()
|
/test/vts/utils/python/instrumentation/ |
D | test_framework_instrumentation_event.py | 17 import time 123 timestamp_begin_cpu = time.clock() 124 timestamp_begin_wall = time.time() 161 timestamp_end_cpu = time.clock() 162 timestamp_end_wall = time.time()
|
D | test_framework_instrumentation.py | 20 import time 120 counts[(name, category)] = [time.time()] 122 counts[name, category].append(time.time())
|
/test/vti/dashboard/src/test/java/com/android/vts/util/ |
D | TimeUtilTest.java | 28 long time = 1504286976352052l; in testFormatDateTime() local 30 String timeString = TimeUtil.getDateTimeZoneString(time); in testFormatDateTime() 37 long time = 1504248634455491l; in testFormatDate() local 39 String timeString = TimeUtil.getDateString(time); in testFormatDate()
|
/test/vti/dashboard/src/main/webapp/js/ |
D | time.js | 26 var time = moment(timestamp / 1000); 31 return time.format(format); 41 var time = moment(timestamp / 1000); 46 return time.format(format);
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
D | TimeUtil.java | 18 import java.time.Instant; 19 import java.time.ZoneId; 20 import java.time.ZonedDateTime; 21 import java.time.format.DateTimeFormatter;
|
D | PerformanceSummary.java | 58 public boolean contains(long time) { in contains() argument 59 return time >= startTime && time <= endTime; in contains()
|
/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/ |
D | ProcUidConcurrentTimeTests.py | 59 row_lengths_match = all(len(time[1]) == int(cpus) for time in times) 105 row_lengths_match = all(len(time[1]) == int(cpus) for time in times)
|
D | ProcUidTimeInStateTest.py | 57 return all(len(time[1]) == len(freqs) for time in times)
|
/test/vts/runners/host/ |
D | utils.py | 29 import time 130 return int(round(time.time() * 1000)) 139 return time.strftime("%m-%d-%Y %H:%M:%S ") 170 tzoffset = int(time.timezone / 3600) 390 time.sleep(terminate_timeout) 462 time.sleep(check_health_delay) 638 time.sleep(5)
|
/test/vts/utils/python/web/ |
D | feature_utils.py | 17 import time 22 return int(time.time() * 1000000)
|
/test/vti/dashboard/src/main/java/com/android/vts/job/ |
D | VtsProfilingStatsJobServlet.java | 41 import java.time.Instant; 42 import java.time.ZonedDateTime; 76 public static long getCanonicalTime(long time) { in getCanonicalTime() argument 77 long timeMillis = TimeUnit.MICROSECONDS.toMillis(time); in getCanonicalTime() 115 long time) { in updateSummaries() argument 149 profilingPoint.getKey(), branch, device, option, time)); in updateSummaries() local 186 profilingPoint.getKey(), branch, device, option, time); in updateSummaries()
|
/test/vts/utils/python/common/ |
D | timeout_utils_test.py | 19 import time 46 time.sleep(2) 56 time.sleep(2)
|
/test/vts-testcase/kernel/checkpoint/ |
D | vts_kernel_checkpoint_test.py | 19 import time 87 time.sleep(1) 94 time.sleep(1) 104 time.sleep(1)
|
D | VtsKernelCheckpointTest.py | 23 import time 83 time.sleep(1) 90 time.sleep(1) 100 time.sleep(1)
|
/test/vts-testcase/nbu/src/ |
D | ble_test.py | 3 import time 153 time.sleep(SCAN_TIMEOUT) 222 time.sleep(CONNECTION_TIMEOUT) 265 time.sleep(CANCEL_CONNECTION_WAIT_TIME) 271 time.sleep(CANCEL_CONNECTION_WAIT_TIME) 274 time.sleep(CONNECTION_TIMEOUT) 325 time.sleep(CONNECTION_TIMEOUT)
|
/test/vts/utils/python/systrace/ |
D | systrace_utils.py | 114 time = feature_utils.GetTimestamp() 118 test=test_name, process=process, time=time)
|
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/ |
D | show_performance_digest.jsp | 33 var time = $('#date').datepicker('getDate').getTime() - 1; 34 time = time * MICRO_PER_MILLI + ONE_DAY; // end of day 38 '&startTime=' + time;
|