- Jan 29, 2021
-
-
Siarhei Vishniakou authored
The application receives input events and produces graphic buffers in response. We are interested in measuring the total time that the input event takes to process, from the moment it's received on the device, to the moment that the image is displayed on the screen. To do this, we need to understand which input event produced a specific buffer. In this CL, we are sending the input event id from FrameInfo to SurfaceFlinger. This event id will later be used to identify a specific frame, and provide the frame timing information to inputflinger. Inputflinger will be able to use this information to reconstruct the complete event timeline, and record metrics on the duration of each input / graphics processing stage. This will allow us to optimize end-to-end touch latency. In the current CL, we are using 'NewestInputEvent' as the inputEventId. That's not quite correct. Today, this field contains the timestamp of the input event. Therefore, we will simply pass the truncated timestamp instead of proper input event id. We will fix this in a separate CL by providing input event id to FrameInfo. Design doc: https://docs.google.com/document/d/1G3bLaZYSmbe6AKcL-6ZChvrw_B_LXEz29Z6Ed9QoYXY/edit# Bug: 169866723 Test: printed input event id at the site of SurfaceFrame creation in FrameTimeline.cpp Change-Id: Ia90337bb2f000e9c93a4db04d9dd6ea9ea153520
-
Kweku Adams authored
-
Dave Mankoff authored
-
Nataniel Borges authored
-
TreeHugger Robot authored
-
Ady Abraham authored
-
Anna Zappone authored
-
Mark Renouf authored
-
TreeHugger Robot authored
-
Cassie Wang authored
-
Nate Myren authored
-
Nate Myren authored
-
Winson Chung authored
-
Lee Shombert authored
-
Eva Chen authored
-
Ming-Shin Lu authored
-
Kweku Adams authored
In preparation for dedicated Contexts for expedited jobs, introduce the concept of work types. For now, this is just a refactor, so we only have TOP and BG types. The refactoring also helps make it clearer how many contexts are reserved for each type, though the numbers aren't changed as part of the refactor. Bug: 141645789 Bug: 171305774 Bug: 178119369 Test: atest CtsJobSchedulerTestCases Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest Test: atest FrameworksServicesTests:PrioritySchedulingTest Test: atest FrameworksServicesTests:WorkCountTrackerTest Test: atest FrameworksServicesTests:WorkTypeConfigTest Change-Id: Ib6682cb16ef3944e1439d865400f8d48bf1d6890
-
Jeff DeCew authored
-
Alex Buynytskyy authored
- don't allow read restrictions for system uids, - calling into incfs per-uid function. Bug: 162345970 Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest Change-Id: If52ab97e67f867f5905f8919e886262dab7aa859 Merged-In: If52ab97e67f867f5905f8919e886262dab7aa859
-
Michael Groover authored
-
Mark Renouf authored
A bug is preventing the preview drawable from appearing when added empty. As a temporary workaround, add it to the UI once a predetermined area is captured. Bug: 178797544 Test: manual Change-Id: I36672f1be495d8996223a19a00223bbe7e777d06
-
Yuncheol Heo authored
-
Robert Horvath authored
-
Anna Zappone authored
Avoid over-querying data by returning a single ConversationChannel when requested by shortcut ID. Test: DataManagerTest Bug: 178792356 Change-Id: I181682b70022d1ce0b055ce1e7c97f5b84c6f1f0 (cherry picked from commit d546f620)
-
Nataniel Borges authored
EnterLegacySplitScreenTest#testNonResizeableNotDocked fails with visibleWindowsShownMoreThanOneConsecutiveEntry(Splash Screen) RotateTwoLaunchedAppTest#testRotateAndEnterSplitScreenMode fails with "java.lang.AssertionError: Unable to find app icon in Overview" Bug: 173875043 Test: atest WMShellFlickerTests Change-Id: Iaa0a159e5240bd2c129ada844661caac3c64142f
-
TreeHugger Robot authored
-
Shawn Lin authored
-
Ming-Shin Lu authored
Add WindowState#{freezeInsetsState, clearFrozenInsetsState} to freeze the insets state of the window to keep the insets state when the window is in app exiting transition, to ensure the exiting window won't receive unexpected insets changes from the next window. And, in order to easy maintain the logic of dispatching all windows's insets changed event in InsetsStateController, instead of adding complicated rule in InsetsStateController to judge if the window can disatch insets change, we can replace with WindowState#isReadyToDispatchInsetsState() to wrap the dispatch judgement. Bug: 166736352 Test: atest CtsWindowManagerDeviceTestCases WmTests Test: atest WindowStateTests#testSetFreezeInsetsState Test: atest WindowContainerTests#testFreezeInsetsStateWhenAppTransition Change-Id: I56418733c1abbd73e88a8918a5d55ecc15344c5e
-
Nataniel Borges authored
-
Linus Tufvesson authored
-
Eva Chen authored
Bug: 178150888 Test: LocationManagerCoarseTest#testGnssProvidedClock Change-Id: Iac289f2ff9f9b389715166f60be0d00c8a8fac9d
-
Jerry Chang authored
-
Nataniel Borges authored
This assertion is ~30% flaky at the moment Bug: 162923992 Test: atest FlickerTests Change-Id: I4abe2869a83ee6de910bd78f41ea0bbe802908f1 (cherry picked from commit 8982df5d)
-
TreeHugger Robot authored
-
Joshua Mccloskey authored
-
Wesley.CW Wang authored
- Correct the parm to "enable true to enable battery saver" Bug: 178764868 Test: m Change-Id: Id598bc1f2692c5060afad6cc6c3781e38329c140
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
Oscar Shu authored
-