Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6057c731 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Update fields for SecurityLog WiFi events." into tm-dev am: 43d732fe

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16993172

Change-Id: I8d0b4caa8a784b85b2ee104890045978e66b8a7c
parents 0e875dce 43d732fe
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -517,14 +517,15 @@ public class SecurityLog {
    public static final int TAG_PASSWORD_CHANGED = SecurityLogTags.SECURITY_PASSWORD_CHANGED;

    /**
     * Indicates that the device attempts to connect to a WiFi network.
     * The log entry contains the following information about the
     * Indicates that an event occurred as the device attempted to connect to
     * a WiFi network. The log entry contains the following information about the
     * event, encapsulated in an {@link Object} array and accessible via
     * {@link SecurityEvent#getData()}:
     * <li> [0] The SSID of the network ({@code String})
     * <li> [1] The BSSID of the network ({@code String})
     * <li> [2] Whether the connection is successful ({@code Integer}, 1 if successful, 0 otherwise)
     * <li> [3] Optional human-readable failure reason, empty string if none ({@code String})
     * <li> [0] Last 2 octets of the network BSSID ({@code String}, in the form "xx:xx:xx:xx:AA:BB")
     * <li> [1] Type of event that occurred ({@code String}). Event types are CONNECTED,
     *      DISCONNECTED, ASSOCIATING, ASSOCIATED, EAP_METHOD_SELECTED, EAP_FAILURE,
     *      SSID_TEMP_DISABLED, and OPEN_SSL_FAILURE.
     * <li> [2] Optional human-readable failure reason, empty string if none ({@code String})
     */
    public static final int TAG_WIFI_CONNECTION = SecurityLogTags.SECURITY_WIFI_CONNECTION;

@@ -533,9 +534,8 @@ public class SecurityLog {
     * The log entry contains the following information about the
     * event, encapsulated in an {@link Object} array and accessible via
     * {@link SecurityEvent#getData()}:
     * <li> [0] The SSID of the connected network ({@code String})
     * <li> [1] The BSSID of the connected network ({@code String})
     * <li> [2] Optional human-readable disconnection reason, empty string if none ({@code String})
     * <li> [0] Last 2 octets of the network BSSID ({@code String}, in the form "xx:xx:xx:xx:AA:BB")
     * <li> [1] Optional human-readable disconnection reason, empty string if none ({@code String})
     */
    public static final int TAG_WIFI_DISCONNECTION = SecurityLogTags.SECURITY_WIFI_DISCONNECTION;

+2 −2
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ option java_package android.app.admin
210034 security_camera_policy_set               (package|3),(admin_user|1),(target_user|1),(disabled|1)
210035 security_password_complexity_required    (package|3),(admin_user|1),(target_user|1),(complexity|1)
210036 security_password_changed                (password_complexity|1),(target_user|1)
210037 security_wifi_connection                 (ssid|3),(bssid|3),(success|1),(reason|3)
210038 security_wifi_disconnection              (ssid|3),(bssid|3),(reason|3)
210037 security_wifi_connection                 (bssid|3),(event_type|3),(reason|3)
210038 security_wifi_disconnection              (bssid|3),(reason|3)
210039 security_bluetooth_connection            (addr|3),(success|1),(reason|3)
210040 security_bluetooth_disconnection         (addr|3),(reason|3)
 No newline at end of file