輸入區域的平台設定選項。
| 欄位 | 類型 | 說明 | 預設 |
|---|---|---|---|
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 |
如果設定,計時器會使用與電源管理相關的功能。 | |
periodic_rtc_update |
PeriodicRtcUpdate |
RTC 根據世界標準時間時鐘更新的間隔, | |
min_utc_reference_to_backstop_diff_minutes |
uint64 |
如果我們收到的世界標準時間參考時間戳記與備用時間戳記的差距小於這個值,就會拒絕該時間戳記。 | 20 |
min_acceptable_boot_time_for_utc_update_minutes |
uint64 |
如果我們在開機時間小於這個門檻時收到世界標準時間參考時間戳記,就會拒絕。 | 5 |
first_sampling_delay_sec |
int64 |
首次取樣時間來源前要等待的時間,以秒為單位。 | |
back_off_time_between_pull_samples_sec |
int64 |
重新嘗試取樣提取時間來源前應等待的時間,以秒為單位。 | 300 |
always_on_counter |
bool |
如果設定,硬體會有一個計數器,即使硬體系統的其他部分處於低功率狀態,該計數器也會持續開啟並運作。 |