SecurityLog.TagOsStartup Field

Definition

Caution

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

Indicates that the Android OS has started.

[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

Field Value

Value = 210009
Attributes

Remarks

Indicates that the Android OS has started. The log entry contains the following information about the startup time software integrity check encapsulated in an Object array, accessible via SecurityEvent#getData(): <li> [0] Verified Boot state (String) <li> [1] dm-verity mode (String).

Verified Boot state can be one of the following: <li> green indicates that there is a full chain of trust extending from the bootloader to verified partitions including the bootloader, boot partition, and all verified partitions. <li> yellow indicates that the boot partition has been verified using the embedded certificate and the signature is valid. <li> orange indicates that the device may be freely modified. Device integrity is left to the user to verify out-of-band.

dm-verity mode can be one of the following: <li> enforcing indicates that the device will be restarted when corruption is detected. <li> eio indicates that an I/O error will be returned for an attempt to read corrupted data blocks. <li> disabled indicates that integrity check is disabled. For details see Verified Boot documentation.

Java documentation for android.app.admin.SecurityLog.TAG_OS_STARTUP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to