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
Loading
Please register or sign in to comment