Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/bin/
Dgen_calendar_entries.py30 import datetime
80 def _calculate_release_start(major: str, minor: str) -> datetime.date:
85 quarter = datetime.date.fromisoformat(f'20{major}-0{[1, 4, 7, 10][int(minor)]}-01')
114 date = date + datetime.timedelta(days=7)
116 date = date + datetime.timedelta(days=7)
122 def _calculate_next_release_date(next_is_zero: bool) -> datetime.date:
128 date = datetime.date.today()
142 return date + datetime.timedelta(days=delta)
158 date = date + datetime.timedelta(days=14)
160 date = date + datetime.timedelta(days=14)
[all …]
Dgen_calendar_entries_test.py29 import datetime
84 def _patch_date(date: datetime.date) -> typing.Iterator[None]:
94 date = datetime.date(2021, 1, 6)
113 date = datetime.date(2021, 1, 5)
132 date = datetime.date(2021, 1, 8)
273 mdate.today = mock.Mock(return_value=datetime.date(2021, 1, 6))
Dgen_release_notes.py25 import datetime
348 today = datetime.date.today()
/hardware/google/gfxstream/scripts/
Dglsl-shader-to-spv-c-array.py7 from datetime import datetime
/hardware/google/gfxstream/guest/mesa/src/util/perf/
Dgpuvis_trace_utils.h646 char datetime[ 128 ]; in gpuvis_trigger_capture_and_keep_tracing() local
653 strftime( datetime, sizeof( datetime ), "%Y-%m-%d_%H-%M-%S", tmp ); in gpuvis_trigger_capture_and_keep_tracing()
654 datetime[ sizeof( datetime ) - 1 ] = 0; in gpuvis_trigger_capture_and_keep_tracing()
670 exename, datetime ); in gpuvis_trigger_capture_and_keep_tracing()
676 snprintf( filename, size, "%s_%s.dat", exename, datetime ); in gpuvis_trigger_capture_and_keep_tracing()
/hardware/google/gfxstream/scripts/print_gfx_logs/
Dprint_gfx_logs.py34 from datetime import datetime
206 datetime.fromtimestamp(stream.timestamp / 1000000.0),
Dcommand_printer.py17 from datetime import datetime
199 "Recorded at: {}\n".format(datetime.fromtimestamp(self.timestamp / 1000000.0)),
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dgenspec.py16 from datetime import date, timedelta
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintTest.cpp2185 auto get_unique_id = [this](const std::string& app_id, uint64_t datetime, in TEST_P()
2202 .Authorization(TAG_CREATION_DATETIME, datetime) in TEST_P()