Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 373b7f62 authored by Matthew Maurer's avatar Matthew Maurer
Browse files

DoH: Factor out BootTime

* Move `BootTime` into the `boot_time` module
* Change `elapsed()` to match `Instant` API
* Add timeout + sleep functions, relative to `CLOCK_BOOTTIME`
* Change everywhere in DoH to use `boot_time` instead of `time`
* Add tests for boot_time module

BYPASS_INCLUSIVE_LANGUAGE_REASON="man is referring to the unix manual command, not a person"
Bug: 202081046
Bug: 200694560

Change-Id: I719965ff75abb0223ba20829ca0a3a4be1d07f40
parent 6b17842f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment