c766db0a54679cd67884d7366cee8b6e8ecd447c |
|
12-Jun-2017 |
Sudheer Shanka <sudheersai@google.com> |
Use correct timestamps of events for logging. Currently when WM detects certain events, it will notify the logger of these events asynchronously and logger uses the timestamp at which it gets notified to log these events. It's possible that the delay between when the event actually occurs and when the logger gets notified could be large. So for better accuracy, WM should also pass on the event timestamp to the logger. Bug: 62375480 Test: Triggered sysui_multi_action event logs and verified that APP_TRANSITION_DELAY_MS is less than APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS. Test: When the system is not busy, the timestamps we used to log earlier and timestamps we log with this change are almost same. Change-Id: I5f62654a6b7f179d821c0082b180246c8a569df1
/frameworks/base/services/core/java/com/android/server/wm/AppWindowContainerListener.java
|
7402ddf9b45efc9616676205534ce7b4fc3a13e6 |
|
29-Mar-2017 |
Wale Ogunwale <ogunwale@google.com> |
Correctly blame ANR on process using another process token Activities can give their window tokens to other process to add windows with. E.g. -1 screen on launcher. We were in correctly blaming the process that gave out its token when an ANR occurs because we were looking at the process associated with the activity. This CL fixes that. Test: manual Change-Id: I08fca00d12ab89dc27eb104115fd375bb4e8ec66 Fixes: 36730136
/frameworks/base/services/core/java/com/android/server/wm/AppWindowContainerListener.java
|
3878ca3333da1bf5cbc83d33e5e8b3ce68c8c5e4 |
|
03-Feb-2017 |
Jorim Jaggi <jjaggi@google.com> |
Fix multi-dimen app transition delay tron event Make sure to log everything. Test: Open app, inspect log. Test: com.android.systemmetrics.functional.AppStartTests Bug: 33086172 Change-Id: I6fdfef625c09267dcf20724e853cf7471abc86c9
/frameworks/base/services/core/java/com/android/server/wm/AppWindowContainerListener.java
|
26c0dfed7a0cd54abafdd0ccbb5b757506d51c76 |
|
14-Dec-2016 |
Wale Ogunwale <ogunwale@google.com> |
Support for WindowContainer controllers and listeners - WindowContainerController class allows a component outside window manager to create a window container and communicate directly with it to make changes. For example, the ActivityRecord class in activity manager uses the AppWindowContainerController class to create and communicate with AppWindowToken window container class which is its counterpart on the window manager side. - WindowContainerListener interface allows a component outside WM to get notified of changes to a window container. For example, the ActivityRecord class in AM implements the AppWindowContainerListener interface to get notified of changes to the AppWindowToken container. Bug: 30060889 Test: Existing tests pass and manual testing. Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerControllerTests Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerTests Change-Id: I2896bfa46a80b227052528c7da8cf4e56beab4bc
/frameworks/base/services/core/java/com/android/server/wm/AppWindowContainerListener.java
|