Loading core/java/android/app/admin/SecurityLog.java +10 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,16 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.util.Collection; /** * Definitions for working with security logs. * * <p>Device owner apps can control the logging with * {@link DevicePolicyManager#setSecurityLoggingEnabled}. When security logs are enabled, device * owner apps receive periodic callbacks from {@link DeviceAdminReceiver#onSecurityLogsAvailable}, * at which time new batch of logs can be collected via * {@link DevicePolicyManager#retrieveSecurityLogs}. {@link SecurityEvent} describes the type and * format of security logs being collected. */ public class SecurityLog { private static final String PROPERTY_LOGGING_ENABLED = "persist.logd.security"; Loading Loading
core/java/android/app/admin/SecurityLog.java +10 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,16 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.util.Collection; /** * Definitions for working with security logs. * * <p>Device owner apps can control the logging with * {@link DevicePolicyManager#setSecurityLoggingEnabled}. When security logs are enabled, device * owner apps receive periodic callbacks from {@link DeviceAdminReceiver#onSecurityLogsAvailable}, * at which time new batch of logs can be collected via * {@link DevicePolicyManager#retrieveSecurityLogs}. {@link SecurityEvent} describes the type and * format of security logs being collected. */ public class SecurityLog { private static final String PROPERTY_LOGGING_ENABLED = "persist.logd.security"; Loading