androidx.security.state


This library makes it easy for developers to obtain detailed security patch state and security updates information for updatable components (system, system modules, kernel, ...) on a device.

Classes

SecurityPatchState

Provides methods to access and manage security state information for various components within a system.

SecurityPatchState.DateBasedSecurityPatchLevel

Implementation of SecurityPatchLevel for a date-based patch level.

SecurityPatchState.GenericStringSecurityPatchLevel

Implementation of SecurityPatchLevel for a simple string patch level.

SecurityPatchState.SecurityPatchLevel

Abstract base class representing a security patch level.

SecurityPatchState.VersionedSecurityPatchLevel

Implementation of SecurityPatchLevel for a versioned patch level.

SecurityStateManager

This class is a wrapper around AOSP {@link android.os.SecurityStateManager} service API added in SDK 35.

UpdateInfo

Represents information about an available update for a component.

UpdateInfo.Builder

Builder class for creating an instance of UpdateInfo.

UpdateInfoProvider

A content provider for managing and serving update information for system components.

Enums

SecurityPatchState.Severity

Severity of reported security issues.