语言

SecurityLog.TagOsStartup 字段

定义

注意

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

指示 Android OS 已启动。

[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 OS 已启动。 日志条目包含有关封装在数组中的Object启动时间软件完整性检查的以下信息,可通过 SecurityEvent#getData():<li [0] 验证的启动状态 (String) <li>> [1] dm-verity 模式 (String) 进行访问。

已验证的启动状态可以是以下情况之一: <li>green 表示存在从启动加载程序扩展到已验证分区(包括启动加载程序、启动分区和所有已验证分区)的完整信任链。 <li>yellow 表示已使用嵌入式证书验证启动分区,并且签名有效。 <li>orange 指示可以自由修改设备。 设备完整性留给用户以验证带外。

dm-verity 模式可以是下列模式之一: <li>enforcing 指示检测到损坏时将重启设备。 <li>eio 表示将返回 I/O 错误,以便尝试读取损坏的数据块。 <li>disabled 指示已禁用完整性检查。 有关详细信息,请参阅已验证的启动文档。

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

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于