public class SecurityLog
extends Object
java.lang.Object | |
↳ | android.app.admin.SecurityLog |
Nested classes |
|
---|---|
class |
SecurityLog.SecurityEvent A class representing a security event log entry. |
Constants |
|
---|---|
int |
TAG_ADB_SHELL_CMD Indicate that an shell command was issued over ADB via "adb shell command" The log entry contains a string data of the shell command, accessible via |
int |
TAG_ADB_SHELL_INTERACTIVE Indicate that an ADB interactive shell was opened via "adb shell". |
int |
TAG_APP_PROCESS_START Indicate that an app process was started. |
int |
TAG_KEYGUARD_DISMISSED Indicate that keyguard is being dismissed. |
int |
TAG_KEYGUARD_DISMISS_AUTH_ATTEMPT Indicate that there has been an authentication attempt to dismiss the keyguard. |
int |
TAG_KEYGUARD_SECURED Indicate that the device has been locked, either by user or by timeout. |
int |
TAG_SYNC_RECV_FILE Indicate that a file was pulled from the device via the adb daemon, for example via "adb pull". |
int |
TAG_SYNC_SEND_FILE Indicate that a file was pushed to the device via the adb daemon, for example via "adb push". |
Public constructors |
|
---|---|
SecurityLog() |
Inherited methods |
|
---|---|
![]() java.lang.Object
|
int TAG_ADB_SHELL_CMD
Indicate that an shell command was issued over ADB via "adb shell command" The log entry contains a string data of the shell command, accessible via getData()
Constant Value: 210002 (0x00033452)
int TAG_ADB_SHELL_INTERACTIVE
Indicate that an ADB interactive shell was opened via "adb shell". There is no extra payload in the log event.
Constant Value: 210001 (0x00033451)
int TAG_APP_PROCESS_START
Indicate that an app process was started. The log entry contains the following information about the process encapsulated in an Object
array, accessible via getData()
: process name (String), exact start time (long), app Uid (integer), app Pid (integer), seinfo tag (String), SHA-256 hash of the base APK in hexadecimal (String)
Constant Value: 210005 (0x00033455)
int TAG_KEYGUARD_DISMISSED
Indicate that keyguard is being dismissed. There is no extra payload in the log event.
Constant Value: 210006 (0x00033456)
int TAG_KEYGUARD_DISMISS_AUTH_ATTEMPT
Indicate that there has been an authentication attempt to dismiss the keyguard. The log entry contains the following information about the attempt encapsulated in an Object
array, accessible via getData()
: attempt result (integer, 1 for successful, 0 for unsuccessful), strength of auth method (integer, 1 if strong auth method was used, 0 otherwise)
Constant Value: 210007 (0x00033457)
int TAG_KEYGUARD_SECURED
Indicate that the device has been locked, either by user or by timeout. There is no extra payload in the log event.
Constant Value: 210008 (0x00033458)
int TAG_SYNC_RECV_FILE
Indicate that a file was pulled from the device via the adb daemon, for example via "adb pull". The log entry contains a string data of the path of the pulled file, accessible via getData()
Constant Value: 210003 (0x00033453)
int TAG_SYNC_SEND_FILE
Indicate that a file was pushed to the device via the adb daemon, for example via "adb push". The log entry contains a string data of the destination path of the pushed file, accessible via getData()
Constant Value: 210004 (0x00033454)