Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 71) sorted by relevance

123

/test/vts/script/
Ddiagnose.py40 now = datetime.datetime.now()
41 print '===== Current date and time =====\n', str(now)
/test/framework/harnesses/host_controller/command_processor/
Dcommand_release.py129 delta_time = datetime.datetime.now().replace(
133 microsecond=0) - datetime.datetime.now()
145 datetime.datetime.now() + delta_time))
249 delta_time = datetime.datetime.now().replace(
253 microsecond=0) - datetime.datetime.now() + datetime.timedelta(
261 datetime.datetime.now() + delta_time))
/test/vti/test_serving/gae/webapp/src/scheduler/
Djob_heartbeat_test.py90 jobs[0].timestamp = (datetime.datetime.now() - datetime.timedelta(
93 datetime.datetime.now() - datetime.timedelta(
99 jobs[1].timestamp = (datetime.datetime.now() - datetime.timedelta(
102 datetime.datetime.now() - datetime.timedelta(
Dschedule_worker.py175 datetime.datetime.now() - datetime.timedelta(hours=72))
205 datetime.datetime.now() - datetime.timedelta(hours=72))
382 new_job.timestamp = datetime.datetime.now()
430 if datetime.datetime.now() - latest_job.timestamp > (
/test/vti/test_serving/gae/webapp/src/tasks/
Dremoving_outdated_devices_test.py57 device.timestamp = datetime.datetime.now() - datetime.timedelta(
63 device.timestamp = datetime.datetime.now() - datetime.timedelta(
70 device.timestamp = datetime.datetime.now()
Dremoving_outdated_devices.py34 model.DeviceModel.timestamp < datetime.datetime.now() -
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DUserEntity.java85 return ofy().save().entity(this).now(); in save()
97 .now(); in getAdminUser()
126 .now(); in getUser()
DRoleEntity.java34 return ofy().load().type(RoleEntity.class).id(role).now(); in getRole()
41 return ofy().save().entity(this).now(); in save()
DTestCoverageStatusEntity.java104 return ofy().load().type(TestCoverageStatusEntity.class).id(testName).now(); in findById()
188 .now(); in getTestRunEntity()
195 return ofy().save().entity(this).now(); in save()
DApiCoverageEntity.java132 return ofy().save().entity(this).now(); in save()
141 .now(); in getByUrlSafeKey()
DProfilingPointRunEntity.java219 profilingPointRunEntityKey = ofy().save().entity(this).now(); in saveMultiRow()
224 return ofy().save().entity(this).now(); in saveMultiRow()
231 return ofy().save().entity(this).now(); in save()
/test/vts-testcase/hal/thermal/V1_0/target_stress/
Dthermal_hidl_stress_test.cpp53 auto now = std::chrono::system_clock::now(); in wait() local
55 status = cv_.wait_until(lock, now + std::chrono::seconds(TIMEOUT_PERIOD)); in wait()
/test/vti/test_serving/gae/webapp/src/utils/
Dmodel_util_test.py90 job.timestamp = datetime.datetime.now() - datetime.timedelta(
103 device.timestamp = datetime.datetime.now()
140 device.timestamp = datetime.datetime.now()
148 job.timestamp = datetime.datetime.now() - datetime.timedelta(
Demail_util.py77 datetime.datetime.now()).strftime("%Y-%m-%d"))
149 datetime.datetime.now()).strftime("%Y-%m-%d"))
232 datetime.datetime.now()).strftime("%Y-%m-%d"))
/test/vti/test_serving/gae/webapp/src/endpoint/
Djob_queue_test.py86 job.timestamp = datetime.datetime.now()
128 self.assertTrue(datetime.datetime.now() - jobs[0].heartbeat_stamp <
148 self.assertTrue(datetime.datetime.now() - jobs[0].heartbeat_stamp <
Dhost_info.py57 device.timestamp = datetime.datetime.now()
99 device.timestamp = datetime.datetime.now()
Dlab_info.py111 device.timestamp = datetime.datetime.now()
121 lab.timestamp = datetime.datetime.now()
/test/vti/dashboard/src/test/java/com/android/vts/util/
DObjectifyTestBase.java62 final Key<E> key = ofy().save().entity(thing).now(); in saveClearLoad()
64 return ofy().load().key(key).now(); in saveClearLoad()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsPerformanceJobServlet.java105 PerformanceSummary now = perfSummaries.get(0); in getPerformanceSummary()
108 for (String profilingPoint : now.getProfilingPointNames()) { in getPerformanceSummary()
109 ProfilingPointSummary summary = now.getProfilingPointSummary(profilingPoint); in getPerformanceSummary()
134 switch (now.getProfilingPointSummary(profilingPoint).getRegressionMode()) { in getPerformanceSummary()
/test/vts/utils/python/reporting/
Dreport_file_utils.py119 now = datetime.datetime.now()
120 date = now.strftime('%Y-%m-%d')
Dreport_file_utils_test.py148 os.path.join(datetime.datetime.now().strftime('%Y-%m-%d'),
154 os.path.join(datetime.datetime.now().strftime('%Y-%m-%d'),
/test/vts-testcase/kernel/api/bpf_native_test/
DBpfTest.cpp178 auto test_start = std::chrono::system_clock::now(); in swapAndCleanStatsMap()
180 std::chrono::system_clock::now() - test_start) in swapAndCleanStatsMap()
210 auto test_end = std::chrono::system_clock::now(); in swapAndCleanStatsMap()
/test/vti/test_serving/gae/webapp/src/testing/
Dunittest_base.py110 device.timestamp = datetime.datetime.now()
219 schedule.timestamp = datetime.datetime.now()
265 build.timestamp = datetime.datetime.now()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsProfilingStatsJobServletTest.java180 LocalDateTime now = LocalDateTime.of(year, month.getValue(), day, hour, minute); in testCanonicalTimeMidday() local
181 ZonedDateTime zdt = ZonedDateTime.of(now, TimeUtil.PT_ZONE); in testCanonicalTimeMidday()
201 LocalDateTime now = LocalDateTime.of(year, month.getValue(), day, hour, minute); in testCanonicalTimeMidnight() local
202 ZonedDateTime zdt = ZonedDateTime.of(now, TimeUtil.PT_ZONE); in testCanonicalTimeMidnight()
/test/vti/dashboard/src/test/java/com/android/vts/entity/
DCodeCoverageFileEntityTest.java53 …eEntity loadCodeCoverageFileEntity = ofy().load().type(CodeCoverageFileEntity.class).first().now(); in saveTest()

123