Age | Commit message (Collapse) | Author |
|
12730639, 12730640, 12730641, 12730642, 12730643, 12730564, 12730542, 12730526, 12730527, 12730543, 12729545, 12729634, 12730565, 12730531, 12730645, 12730545, 12730406] into rvc-d1-release
Change-Id: I5883d945ba90e0adbee71aae302ace584ea4e1b7
|
|
People directly using libbinder_ndk functions who didn't create a debug
dump function function would fail to initialize that pointer, and
potentially crash. Those who didn't create a shell function were
guaranteed to crash. This wasn't noticed because the C++ wrappers which
are the recommended way to use libbinder_ndk always set these functions.
Bug: 161812320
Test: unit tests
Merged-In: I1f6909531bc640097f3f48c4a558fd03f2fa62cb
Change-Id: I1f6909531bc640097f3f48c4a558fd03f2fa62cb
(cherry picked from commit deb5346761308d9cda3a249283a482a1ce08549e)
|
|
Change-Id: I8ecba258055b375c609477c3be4a96414e2e79fe
|
|
* AChoreographer receives refresh rates from DisplayManager
already, so there's no need to default-enable them - AChoreographer only
needs to pump an event with the latest refresh rate to wake up looper. This
also ensures that AChoreographer's callbacks are entirely in-sync with
DisplayManager since there's no raciness.
* Instead of re-requesting a config change from SF, instead inject it in
AChoreographer correctly to save on binder.
Bug: 154874011
Bug: 158680912
Bug: 161406626
Test: while [ true ]; do adb shell service call SurfaceFlinger 1035 i32
1; adb shell service call SurfaceFlinger 1035 i32 0; and repeatedly
rotate the home screen with auto-rotate off.
Change-Id: I66abc2e28e60f06987ce3a54be294c94b77524fc
Merged-In: I66abc2e28e60f06987ce3a54be294c94b77524fc
|
|
Change-Id: Ia5e1b9d82a16a99ac2e6cbb69462fb30b300b21a
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12257974
Change-Id: I630ad28304ca52e8c2d9cc759b2f93b3d204d87b
|
|
|
|
Change-Id: I4ae47c81b3813729b4e2332c4b4e0c0935960e89
|
|
rvc-d1-dev
|
|
Due to the nature of async callback, onBufferDiscarded may
arrive after a discarded slot has been occupied by a new buffer.
Fix that issue by skipping currently dequeued slots.
Test: Stress test script in the bug
Bug: 161787265
Change-Id: Ia8fdd5f28c4b535bc5a7010b6ee0b16e375ec257
|
|
ours am: d07402fc46 am: 431955c576 -s ours am: 9e8311faec
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12182445
Change-Id: I12239c021da8407fdac6ab560b0014939972b508
|
|
ours am: d07402fc46 am: 431955c576 -s ours
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12182445
Change-Id: I0a155313d51bce5faab19e42adacbb91538fe368
|
|
ours am: d07402fc46
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12182445
Change-Id: I90544d91bf5c71e93f98d946e2367c948758bc91
|
|
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12182445
Change-Id: I1b01642c20c96c5bc9cd32d867bb1c338ca13d8f
|
|
setUpdatableDriverPath should only be called by system_server and
developer driver path needs to be protected by a lock.
Bug: 162383705
Bug: 159240322
Test: ./gapit validate_gpu_profiling --os android
Change-Id: I48896325598acab89079dbc658ddf9b92d303244
Merged-In: I48896325598acab89079dbc658ddf9b92d303244
|
|
Change-Id: I23e9657467f3314b5b64dfd8c0ca48e53315d0d8
|
|
Small bug fix - || instead of && causing flickering and incorrect layer
removal
Bug: 150845631, 137284057
Test: build, boot, SurfaceFlinger_test, libsurfaceflinger_unittest,
manual
Change-Id: I6c4e5239254300c70b802aa935fb638412a445ee
|
|
This function on BBinder allows the minimum scheduling priority for
incoming binder transactions to be set by the binder driver. This
functionality was originally developed for libhwbinder and ported here.
The main difference from libhwbider is that invalid priority sets cause
an abort, whereas for libhwbinder, an error is returned. Unfortunately,
that error is frequently ignored, and since this reflects static
configuration, abort is considered a benefit.
Note, since these functions aren't available in the R GSI, they have
been marked as weak here, and are available optionally.
(cherry picked from commit bf1915b6d85d3c222200ef5d5fd7745ed299b17b)
Bug: 149933095
Test: binderLibTest
Change-Id: Ie93aebb09f4142cd66d841ca8b3ca39d1e0bb75e
Merged-In: Ie93aebb09f4142cd66d841ca8b3ca39d1e0bb75e
|
|
Change-Id: Ib6ec4819cb91e430e790a0a1fa683dd622e3051e
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12174650
Change-Id: I619eabbcbba87981e5acf99b16ebcf8b736c940e
|
|
Fix an issue with hardware buffer passed from the SurfaceTexture
being destroyed before an SkImage is created. This CL is matched
by a change in frameworks/base I4d121f087fc842ce317745e7b7e2656f80a52b7d.
Test: Ran TextureView CTS tests and a few apps that use TextureView.
Test: Fix verified by partner Mediatek
Bug: 160930384
Bug: 152781833
Bug: 153045874
Bug: 156047948
Bug: 160514803
Bug: 155545635
Bug: 155171712
Change-Id: I2e025e683052168546f2e271a20a857b1e556b64
(cherry picked from commit 0702f1d077bab79c76a4889d7859abbaabf06b81)
|
|
Change-Id: I8f1e50734090cb5b36aa47b54292e8bc74d47f4a
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12128091
Change-Id: I22f2bafd363f0b9610d043b8b063a8bcdd61c28d
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12128088
Change-Id: I7292f6d44828d954a6a6140448fe1b3accd83d2d
|
|
* changes:
Make libbinder buildable for native_bridge
Make libarect buildable for native_bridge
|
|
Change-Id: Idc461f908f20147c7fca9ce752a2fa753fa90aef
|
|
Bug: http://b/153609531
Test: m libbinder.native_bridge
Change-Id: I3955d9b54aaea7a6b5b9bde81a336908a849cde6
Merged-In: I3955d9b54aaea7a6b5b9bde81a336908a849cde6
|
|
We are currently limited to having 10 buffers max inside a
TouchVideoDevice. That means that if too many frames are generated, we
will start dropping them. The dropped frames will never make it to the
InputClassifier HAL.
Now that touch is at 180 Hz, this becomes even more of a problem. If the
system is running slow, it is easy to overrun the buffer.
Increase the buffer size to avoid dropping frames.
Bug: 160016140
Test: none
Change-Id: I3662236a518e908cec94c31bf7604eb830c3308a
Merged-In: I3662236a518e908cec94c31bf7604eb830c3308a
(cherry picked from commit 487938ec81c70076852b13d8ee49bf37bfa8290a)
|
|
Also make headers available for RenderScript.
Bug: http://b/153609531
Test: m libarect.native_bridge
Change-Id: Iee387d19d167d8b90f4bf3fae7869ea370025b9a
Merged-In: Iee387d19d167d8b90f4bf3fae7869ea370025b9a
|
|
Change-Id: Ia998dd89402bebe48bf11cd13b098e9aba507237
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12091816
Change-Id: I7efa988c3c6d7f01d9d50918553ac83d2e7bc8b3
|
|
|
|
rvc-dev am: 747819d612
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12089386
Change-Id: I74f3a9d8fc9a355b0544d4ce041120cf5dfa44e9
|
|
rvc-dev
|
|
Change-Id: I6f357788ee450514520e468447651ed8e0f19061
|
|
into rvc-d1-dev
|
|
This change is limiting layers that are ExplicitExactOrMultiple from
using a refresh rate outside of the primary range. When these layers
are visible and there is an interaction with the device, we usually
change the refresh rate due to other layers that are animating. Letting
layers that are ExplicitExactOrMultiple to pick a refresh rate from the
extended appRequestRange results in refresh rate changes which are not
desired.
Bug: 159940172
Test: YouTube when the device the primary range is restricted
Change-Id: I6aa60c359d690a92342963cb14bdeece4e6d5c5f
|
|
In cases where halVersion is less than or equal to 1 or the sensor is
virtual the sensor service does not first check that the sensor is
accessible. This was causing failures for tests where a virtual sensor
was used because the flush command was not returning error. Now
INVALID_OPERATION is returned when flush is called on an idle sensor.
Test: set IGNORE_HARDWARE_FUSION to true and cts-tradefed && run cts -m
CtsSensorTestCases -t
android.hardware.cts.SensorTest#testBatchAndFlushUidIdle which fails
before this change, but passes now
Bug: 160282248
Change-Id: I6860bcdb9be341b5e2025caf7606d071779c9b39
|
|
In the condition of reused client composition, SurfaceFlinger still
needed to call 'validate' and 'presentDisplay' and resulted in longer
execution time. Before we can enable skip validation in this case, we
need to provide the early offset to fit HWC behavior.
Bug: 160552879
Test: Check the Vsync offset in PIP
Change-Id: I6d11c6b1409997f550cf2441bba67de08ffb25a8
|
|
Change-Id: I9699b40ab581f64cc13896bc98f945a23b76045d
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12014614
Change-Id: Ib53447f0ed40505b743b7a107bbb1f54b0c63370
|
|
|
|
When an vsync timestamp is recorded that is anonmolous to the currently
recorded timestamp ringbuffer, update the timebase for synthetic
calculations.
Test: 2 new unit tests
Test: visual spot checking interactions on pixel4 device
Test: uibench a/b anti-regression
Test: dogfood with patch based one recent rvc build.
Fixes: 159882858
Change-Id: Ie201cd593a54586d9b1f488c6d2ca44178d75cf1
|
|
Change-Id: I3b2c6481bb01d0c8521b632414794d7902e41860
|
|
Change-Id: Ia2ea98f4851fd9e5b42c9307ab9f093fc16f0b5b
|
|
927b3b1208 -s ours am: bf6f3dec9f -s ours am: 1e4cccab8d -s ours am: f4beceb1e8 -s ours
am skip reason: Change-Id I04daedcb9a890083cc710bab30b295e14b9872ae with SHA-1 b123f47bbd is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/11972490
Change-Id: I05a53d85e016016627883c7a15b526ac3392d313
|
|
927b3b1208 -s ours am: bf6f3dec9f -s ours am: 1e4cccab8d -s ours
am skip reason: Change-Id I04daedcb9a890083cc710bab30b295e14b9872ae with SHA-1 b123f47bbd is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/11972490
Change-Id: I6dedd9fe0db79fdbb6b0438e826bb79f268c4f51
|
|
927b3b1208 -s ours am: bf6f3dec9f -s ours
am skip reason: Change-Id I04daedcb9a890083cc710bab30b295e14b9872ae with SHA-1 b123f47bbd is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/11972490
Change-Id: I54d812d033e70db7c894d86478dbe9590d3c68bf
|
|
927b3b1208 -s ours
am skip reason: Change-Id I04daedcb9a890083cc710bab30b295e14b9872ae with SHA-1 b123f47bbd is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/11972490
Change-Id: I53cac8a7d2fc4efacab81cdee53cee592c59312c
|
|
rvc-dev am: 18c692ccd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12011138
Change-Id: I65430cb16784e0d12299fbf8bf6d22dffb6687e8
|