Home
last modified time | relevance | path

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

12

/system/bt/gd/cert/
Dperformance_test_logger.py17 from datetime import datetime
26 self.base_timepoint = datetime.now()
35 self.single_points[label].append(datetime.now())
40 self.start_interval_points[label].append(datetime.now())
45 self.end_interval_points[label].append(datetime.now())
Devent_stream.py19 from datetime import datetime, timedelta
189 end_time = datetime.now() + timeout
190 while len(event_list) <= at_most_times and datetime.now() < end_time:
206 remaining = end_time - datetime.now()
218 end_time = datetime.now() + timeout
219 while len(event_list) < at_least_times and datetime.now() < end_time:
242 end_time = datetime.now() + timeout
243 while len(pending_matches) > 0 and datetime.now() < end_time:
272 end_time = datetime.now() + timeout
273 while event is None and datetime.now() < end_time:
Dbehavior.py18 from datetime import datetime, timedelta
92 end_time = datetime.now() + timeout
94 while datetime.now() < end_time and invoked_times < times:
Dcert_self_test.py17 from datetime import datetime, timedelta
Dpy_le_security.py26 from datetime import timedelta
Dtruth.py17 from datetime import timedelta
Dgd_device.py18 from datetime import datetime
540 … device_time = datetime.strptime(self.adb.shell("date +'%s'" % datetime_format), datetime_format)
546 host_time = datetime.now(tz=device_time.tzinfo)
Dcert_self_test_lib.py17 from datetime import datetime, timedelta
76 self.then_ = datetime.now()
Dpy_le_iso.py28 from datetime import timedelta
/system/ca-certificates/google/
Dextract_from_pem.py17 import datetime
85 datetime.date.today().isoformat())
/system/bt/gd/l2cap/classic/cert/
Dl2cap_performance_test.py16 from datetime import datetime, timedelta
65 start_time = datetime.now()
68 while datetime.now() < end_time:
/system/bt/tools/scripts/
Dbtsnoop_live.py68 from datetime import datetime
96 date_time = datetime.now()
/system/extras/boottime_tools/bootanalyze/
Dbugreport_anayze.py21 import datetime
33 from datetime import datetime, date
55 EPOCH = datetime.utcfromtimestamp(0)
187 dt = datetime(2017, mm, dd, hh, min, secs, usecs)
Dbootanalyze.py24 import datetime
36 from datetime import datetime, date
107 boot_chart_file_name_prefix = "bootchart-" + datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
108 systrace_file_name_prefix = "systrace-" + datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
245 now = datetime.now()
627 now = datetime.now()
800 ndate = datetime.datetime.strptime(str(offset_year) + '-' +
/system/tools/mkbootimg/
Drepack_bootimg.py24 import datetime
246 datetime.datetime.now().strftime('%Y-%m-%d_%H:%M:%S'))
/system/bt/test/
Dgen_coverage.py18 import datetime
107 str(datetime.datetime.now().strftime('%Y-%m-%d %H:%M')) +
/system/extras/simpleperf/scripts/inferno/
Dinferno.py34 import datetime
202 datetime.datetime.now().strftime("%Y-%m-%d (%A) %H:%M:%S"),
/system/bt/gd/neighbor/cert/
Dpy_neighbor.py17 from datetime import timedelta
Dneighbor_test.py17 from datetime import timedelta
/system/bt/gd/hal/cert/
Dsimple_hal_test.py17 from datetime import timedelta
/system/bt/gd/security/cert/
Dcert_security.py27 from datetime import datetime
/system/extras/simpleperf/scripts/
Dreport_html.py23 import datetime
818 t = datetime.datetime.fromtimestamp(int(timestamp))
820 t = datetime.datetime.now()
/system/chre/chpp/api_parser/
Dchre_api_to_chpp.py23 from datetime import datetime
80 out.append("// Date: {} UTC\n".format(datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
/system/bt/gd/iso/cert/
Dle_iso_test.py29 from datetime import timedelta
/system/bt/gd/hci/cert/
Ddirect_hci_test.py17 from datetime import timedelta

12