输入区域的平台配置选项。
| 字段 | 类型 | 说明 | 默认 |
|---|---|---|---|
utc_start_at_startup_when_invalid_rtc |
bool |
如果设置了此属性,那么当我们尝试读取 RTC,但已知 RTC 读取无效时,UTC 时钟将会启动。 | |
utc_max_allowed_delta_past_sec |
uint64 |
建议的 UTC 参考时间与实际 UTC 参考时间之间的最大绝对差值(以秒为单位),其中建议的 UTC 参考时间相对于实际 UTC 参考时间而言处于“过去”。 此值始终表示为非负值。 | |
utc_max_allowed_delta_future_sec |
uint64 |
建议的 UTC 参考时间与实际 UTC 参考时间之间的最大绝对差值(以秒为单位),其中建议的 UTC 参考时间相对于实际 UTC 参考时间而言处于“未来”。 此值始终表示为非负值。 | |
use_persistent_storage |
bool |
如果设置了此属性,则组件应配置永久性存储空间并将其路由到 Timekeeper。 | |
use_connectivity |
bool |
如果设置,Timekeeper 将使用连接信息来衡量是否对外部时间源进行采样。 | |
time_source_endpoint_url |
string |
如果设置了此属性,则系统只会读取设备的实时时钟,而不会写入。 | https://clients3.google.com/generate_204 |
serve_test_protocols |
bool |
如果设置了此选项,Timekeeper 将提供来自库 `fuchsia.time.test` 的仅限测试协议。 | |
serve_fuchsia_time_external_adjust |
bool |
如果设置,Timekeeper 应提供允许外部时间调整的 FIDL 协议 `fuchsia.time.external/Adjust`。 这是一个对安全敏感的协议,预计很少有组件会启用它。 | |
serve_fuchsia_time_alarms |
bool |
如果设置了此选项,Timekeeper 将提供 `fuchsia.time.alarms`,并会连接到相应的硬件设备来执行此操作。 | |
rtc_allow_setting_past_utc |
RtcInitializationPolicy |
关于如何处理相对于当前启动时钟而言属于过去的 RTC 读数的政策。 | |
power_topology_integration_enabled |
bool |
如果设置,timekeeper 将使用与电源管理相关的功能。 | |
periodic_rtc_update |
PeriodicRtcUpdate |
RTC 根据 UTC 时钟进行更新的时间间隔, | |
min_utc_reference_to_backstop_diff_minutes |
uint64 |
如果我们收到的 UTC 参考时间戳与此截止时间相差不到此时间量,我们会拒绝该时间戳。 | 20 |
min_acceptable_boot_time_for_utc_update_minutes |
uint64 |
如果我们在启动时间小于此阈值时收到 UTC 参考时间戳,则会拒绝该时间戳。 | 5 |
first_sampling_delay_sec |
int64 |
首次对时间源进行采样之前要等待的时间,以秒为单位。 | |
back_off_time_between_pull_samples_sec |
int64 |
重试对拉取时间源进行采样之前要等待的时间,以秒为单位。 | 300 |
always_on_counter |
bool |
如果设置,则硬件具有一个始终开启且即使硬件系统的其余部分处于低功耗状态也会运行的计数器。 |