Age | Commit message (Collapse) | Author |
|
Test: atest libsurfaceflinger_unittest
Test: Verified with a trace that work duration updates after backdoor call.
BUG: 398872242
Flag: EXEMPT Backdoor implementation.
Change-Id: Icea9bebbb3366df09643dbe40fd7c986461262b8
|
|
|
|
|
|
This reverts commit 4f8b4f371947dce3abece1c0d64af0b5c990e0c2.
Reason for revert: Rolling forward with fix for use-after-move in
SurfaceFlinger::setTransactionState
Flag: EXEMPT refactor
Bug: 385156191
Test: presubmit
Change-Id: I66d45b1e125dcb50cbe7a3cfcefa8eaa02705419
|
|
This reverts commit e846316a9f4e4cf35064267362e6d626e94d6a74.
Dumping keystore is not allowed due to an SELinux neverallow rule most
recently added in aosp/3311665.
Bug: 376065666
Test: Check for denial after taking a bug report
Flag: EXEMPT bugfix
Change-Id: I0e6a2ff1578602f7616c12e8fc9253dddaa67779
|
|
Change-Id: I4eb6edbfe6f3c12120608a9978564d4d42d12720
|
|
Flag: EXEMPT bug fix
Ignore-AOSP-First: security fix
Test: atest binderUnitTest
Bug: 399155883
Change-Id: I38b755ca3381cfca3300292873f763823fbf169b
|
|
In this CL, we modify the behaviour of 'transferTouchGesture' to also
allow the caller to request that the entire gesture is transferred to
the destination window.
Suppose the original window receives ACTION_DOWN and calls
transferTouchGesture to the destination window. Before this CL, the
subsequent pointers would always be routed to the original window.
In this CL, the caller of 'transferTouchGesture' can choose to transfer
the 'entire gesture', meaning that subsequent pointers from the same
gesture that land in the original window would automatically be sent to
the destination window.
Bug: 397979572
Test: TEST=inputflinger_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST
Flag: com.android.input.flags.allow_transfer_of_entire_gesture
Change-Id: I760ddb8aa8f329d0b21788e6d6e83c802015ee1d
|
|
|
|
no functionality changes here. just some clang-tidy formatting
Flag: EXEMPT refactor
Test: th
Change-Id: I25cd53c40d4fde1edb29f4b8fee28df6f4b66235
|
|
composer Hal 3 adds screenPartStatus to the DisplayIdentification
parcelable. The struct used in the client side should be updated to
reflect this.
Flag: EXEMPT refactor
Test: th
Change-Id: I8fb7ee099b2c54f3a4708aa19b3169d74e403e4b
|
|
See go/sf-box-shadows-api for more details
Bug: b/367464660
Flag: com.android.window.flags.enable_border_settings
Test: atest SurfaceFlinger_test
Change-Id: I1190edb97693004d9f46058fd0165451470a65b3
|
|
This CL changes behavior so that when an AssociatedDevice changes,
all affected Devices will be re-opened serially, where the
DEVICE_REMOVED notification of one device closing is followed by the
DEVICE_ADDED signal of its new counterpart, before proceeding with the
re-opening of the next affected Device.
This is to temorarily curb the side-effects of delayed AssociatedDevice
changes by reducing the number of cases where we send device removed
notifications immediately after an input device is first connected,
followed by the addition of a new InputDevice. These kind of "hotplug"
events are detrimental to many tests and may have side effects in
production.
This CL relies on some assumptions on how devices will be merged in
InputReader, so it does not solve the problem for all cases. It only
aims to reduce the likelihood of impact temporarily until
AssociatedDevice changes can be processed separately in InputReader,
which is backlogged as b/281822656.
Bug: 397208968
Test: Presubmit
Flag: EXEMPT bug fix
Change-Id: I61818076a720a5474de8cbeb431ddbceec6e1545
|
|
* changes:
Fix nullpointer dereference at VKJson
Update vkjson codegen
|
|
|
|
Change-Id: I070173f3db3350e1cdba66c0f813f30fabf12082
|
|
1a8be4f98b am: d3418085a0
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3526633
Change-Id: I4bc7559197eadb25b81f44cb625c941a11bf78e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
fd85121ac4
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3548185
Change-Id: I76ec7ca9d67100cc698f675f0aba27e509ba602b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
1a8be4f98b
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3526633
Change-Id: Ic0ef9660935110becfab94840512592dec2e4f02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3548185
Change-Id: Id49f3267494ab4063b1e1aa580039ecc9ee3382c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
|
|
Introduces a minimal surfaceflinger_end2end_test target, which will work
by controlling both the "front-end" of surfaceFlinger via the libgui
ISurfaceComposer.aidl interface, as well the "back-end" of
surfaceflinger via the hardware Composer3 IComposer.aidl interface.
There is only a minimal implementation for everything. To start out, the
test registers a simple "fake" composer3 backend service that asserts if
SurfaceFlinger actually uses it to create a client interface, and
otherwise the initial test just tries to connect to the front end
service.
The main purpose of this CL is to introduce all the main framework
classes, and otherwise set up the build target.
For now this fails, with SurfaceFlinger establishing a connection to the
service, but the test process aborts in the stub to create the client
interface. SurfaceFlinger doesn't crash, but is in a bad state. The
AndroidTest.xml file however brings the target back to a normal working
state with tear-down commands meant for this purpose.
Flag: TEST_ONLY
Bug: 372735083
Test: atest surfaceflinger_end2end_tests
Change-Id: I78be88a3eb3df9b6c700f78bdef66f9dc71399c7
|
|
into main
|
|
|
|
Before syfs node change notifications were processed by EventHub, all
device openings and closings happened on the InputReader thread. The
upper layer (InputReader) makes assumptions about EventHub Device states
being synchronized with the notications of device additions and removals
from EventHub to InputReader.
The addition of sysfs node change processing moved some device openings
and closings off of the InputReader thread, which can break the
synchronization assumptions in InputReader.
In this CL, we move sysfs node change processing to the InputReader
thread.
Bug: 397208968
Bug: 358694799
Test: Presubmit
Flag: EXEMPT bug fix
Change-Id: If6d70a12ddf74098c74b8360d31c4967ae6b3d03
|
|
Bug: 397208968
Test: Presubmit
Flag: EXEMPT bug fix
Change-Id: I25f41f41ec1f1e47590eef21b982287caea193a6
|
|
We must unregister all fds from epoll before closing them to avoid the
fds from remaining open and thus leaking. Prevent fd leaks by
closing any opening device from epoll before closing the Device
via its destructor when the sysfs node changes and triggers a device
reopening.
In this CL, we modify the closeDeviceLocked function to also look at
mOpeningDevices when a device is being closed.
Context: https://idea.popcount.org/2017-03-20-epoll-is-fundamentally-broken-22/
Bug: 397208968
Test: Presubmit
Flag: EXEMPT bug fix
Change-Id: I3de8a9413e68a0b7409e5d0bf56b9d76b7164b49
|
|
In tests, the Gestures library occasionally outputs two lift gestures in
a row, which can cause inaccurate metrics reporting. To work around
this, keep track of the previous gesture the metrics collector saw, and
don't report additional swipe gestures if we see multiple lifts in a
row.
Bug: 397219482
Test: $ atest \
CtsInputHostTestCases:android.input.cts.hostside.InputAtomsTest
Flag: TEST_ONLY
Change-Id: Iac2b6ae68dc62e3a106a743b667eddd96a1a7a74
|
|
main am: 4212ea291e am: 93806e1a53
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3524953
Change-Id: Idd2ba75fed12813dd397d8d1da2ef67f40f5d977
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
sp<>::make.
Exception is SurfaceComposerClient, which is widely references in vendor
code.
Test: presubmit
Flag: EXEMPT refactor
Bug: 393217449
Change-Id: Ib1039a1f7bc5676d32a4067361f131fc79efad4d
|
|
main am: 4212ea291e
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3524953
Change-Id: I29e004d9d7be74244a6486430f61e88231304734
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
|
|
|
|
* changes:
Ensure Choreographer is held as sp<> in SurfaceControl.
Harden construction sites of android::StrongPointer in frameworks/native
|
|
libgui_test."" into main
|
|
See r.android.com/3544832 for context.
Bug: 183037386
Change-Id: Ib7ab94de464fcd8190f9a048a48e2e31ec39a8e1
|
|
7827597532 am: 6c65610f9f
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3542879
Change-Id: Ic14f61a8baa4f8b9f3d4c81eb38764957dd35817
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
7827597532
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3542879
Change-Id: I390d6f24d160f747aeaa7cf24e0f1c1515fb29f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
|
|
33da0c2368 am: 3ea3bd3ec2
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3547982
Change-Id: Ic37d6529d7060d0bc4982c7b88e5948d8eb34241
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3547982
Change-Id: Ibb80745e113666be295a9d0b72ccd5a811023ff9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
This reverts commit d6198bed29ffb56054490820e73ee30a718930d1.
Reason for revert: Removed flag defines from Android.bp that caused linker errors. Verified libgui_test behaves identically with and without this revert on cf_x86_64_auto-next-userdebug
Change-Id: Ibbbd201253fa09c18491bffca0b540c2c13df8d3
|
|
This reverts commit ed63243743079eb4531cb4a9e5ed4dccb7965d6d.
Reason for revert: Droidmonitor created revert due to Jank regression b/403375000.
Change-Id: I558338084124764026028b21667b45afb73b9e06
|
|
Change-Id: Ic97986ab39433dee109e66b8922e226e6493eeb4
|
|
Test: ChoreographerTests pass
Flag: EXEMPT refactor
Bug: 393217449
Change-Id: I60d42f383d4b73b60de1a7a1bbeec5170b805ebb
|
|
Test: presubmit
Flag: EXEMPT refactor
Bug: 393217449
Change-Id: I25857739af659a52d2e33fc0e05799959f4024ab
|