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

Commit befc8efb authored by Rajeev Kumar's avatar Rajeev Kumar Committed by Android (Google) Code Review
Browse files

Merge "Create a pushed atom that gets logged when the ActivityManagerService...

Merge "Create a pushed atom that gets logged when the ActivityManagerService detects that an app died."
parents ede3344e 51b54606
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -104,6 +104,7 @@ message Atom {
        KeyguardStateChanged keyguard_state_changed = 62;
        KeyguardStateChanged keyguard_state_changed = 62;
        KeyguardBouncerStateChanged keyguard_bouncer_state_changed = 63;
        KeyguardBouncerStateChanged keyguard_bouncer_state_changed = 63;
        KeyguardBouncerPasswordEntered keyguard_bouncer_password_entered = 64;
        KeyguardBouncerPasswordEntered keyguard_bouncer_password_entered = 64;
        AppDied app_died=65;
        // TODO: Reorder the numbering so that the most frequent occur events occur in the first 15.
        // TODO: Reorder the numbering so that the most frequent occur events occur in the first 15.
    }
    }


@@ -1235,6 +1236,17 @@ message LmkKillOccurred {
    optional int64 swap_in_bytes = 8;
    optional int64 swap_in_bytes = 8;
}
}


/*
 * Logs when the ActivityManagerService detects that an app died.
 *
 * Logged from:
 *   frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java
 */
message AppDied {
    // timestamp(elapsedRealtime) of record creation
    optional uint64 timestamp_millis = 1;
}

//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
// Pulled atoms below this line //
// Pulled atoms below this line //
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////