語言

SecurityLog.TagOsStartup 欄位

定義

警告

This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.

表示 Android 作業系統已經啟動。

[Android.Runtime.Register("TAG_OS_STARTUP", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.", true)]
public const Android.App.Admin.SecurityLogTags TagOsStartup = 210009;
[<Android.Runtime.Register("TAG_OS_STARTUP", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.", true)>]
val mutable TagOsStartup : Android.App.Admin.SecurityLogTags

欄位值

Value = 210009
屬性

備註

表示 Android 作業系統已經啟動。 日誌條目包含以下關於啟動時間軟體完整性檢查的資訊,封裝在 Object 陣列中,可透過 SecurityEvent#getData()以下方式存取: <li> [0] 驗證開機狀態 (String) <li [> 1] dm-verity mode (String)。

已驗證的開機狀態可以是以下其中一種: <li>green 表示從開機載入程式延伸至已驗證分割區(包括開機載入程式、開機分割區及所有已驗證分割區)的完整信任鏈。 <LI>yellow 表示開機分割區已透過內嵌憑證驗證,且簽章有效。 <李>orange 指出該裝置可自由修改。 裝置完整性則由使用者自行驗證頻帶外。

DM-Verity 模式可為以下其中一種: <LI>enforcing 表示當偵測到損壞時,裝置將重新啟動。 <li>eio 表示嘗試讀取損壞資料區塊時會回傳 I/O 錯誤。 <LI>disabled 表示完整性檢查被禁用。 詳情請參閱 Verified Boot 文件。

Java 文件 android.app.admin.SecurityLog.TAG_OS_STARTUP。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於