diff options
author | 2025-02-26 07:06:17 -0800 | |
---|---|---|
committer | 2025-02-27 02:43:36 -0800 | |
commit | 90f899e19b4f712443cff49bbc539350ad2f5ae4 (patch) | |
tree | fb7300311d65d83808309ef1c2ae4829c2b1a340 /libs/androidfw/AssetManager2.cpp | |
parent | a25530f99ec8dc27f396807127599ec336a18bba (diff) |
Improve ANR debug store logging with more app lifecycle events
New debug store events:
* BindApp = bind application
* SchRcv = schedule receiver
* SchRcvReg = schedule registered receiver
* BcRcvReg = broadcast receive (registered receiver)
Also changed the semantics of some existing debug store events:
* GoAsync / Finish now include the pending result id (so readers can see which finish is for which goAsync)
* Finish no longer includes the receiver name (redundant)
* HandleReceiver is renamed to BcRcv for consistency with BcRcvReg
Also:
* Added some debug logging for the debug store
The rationale for adding these events is to make broadcast_of_intent and
bind_application ANRs more debuggable.
Change-Id: I28166f10a51db728cbdd177704263486d12c7ef8
Test: atest FrameworksCoreTests:com.android.internal.os.DebugStoreTest
Test: Manual testing
Flag: debug_store_enabled
Diffstat (limited to 'libs/androidfw/AssetManager2.cpp')
0 files changed, 0 insertions, 0 deletions