| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
The host build of libhwui requires access to the headers of
nativedisplay and nativewindow.
Bug: 322360037
Test: N/A
Change-Id: I1deefdaa42c8756914451c8642fff83199d25e70
|
| |\ |
|
| | |
| |
| |
| |
| | |
Test: n/a
Change-Id: I59c9c62458fbaf274db031cc56e89b2e3129ac1a
|
| |/
|
|
|
| |
Test: n/a
Change-Id: I6c2426303194df4b94f6181f4b5c71970bc5f7fd
|
| |
|
|
|
|
| |
Fixes: 319284591
Test: make && atest libnativewindow_test
Change-Id: I7d6521ff43bf7a79dc6c6e45610108b82e469dc8
|
| |\
| |
| |
| |
| |
| |
| | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2929910
Change-Id: Iecd2a31cdeec6758381c7138da6ea91fd2029e07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |
| |
| |
| |
| |
| | |
Bug: 307535208
Test: m rust
Change-Id: I0b9d19fec972f1bc6f72e625166e372e48aa08ed
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
d52639e35b am: d16b5baba3
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2906958
Change-Id: I73f28550612712e9967f7a1c3c555f2f6fdd0c32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |
| |
| |
| |
| |
| | |
Bug: 307535208
Test: m rust
Change-Id: I4bb57b773ab7c1884d0341a3bc7dd100c3636bde
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
88127a1114
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2902242
Change-Id: I7af6166c94b5fc4c11712f459813a2b9aec239eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This enum is used in the ABI for the SurfaceControl APIs, but that's
not safe without a defined backing type.
Bug: None
Test: treehugger
Change-Id: Ifa52f69abacc370e91fd9a358f24a011fdbf0322
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
0efc3f4349
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2906959
Change-Id: I5fb62c143b20e8640649bc93516f366302fc0812
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |
| |
| |
| |
| |
| | |
Bug: 316411977
Test: m rust
Change-Id: Idf7363c1d2b04338c436814acc00b6046ef83eb2
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
ca340b1f0a am: ee12a1eec3
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2906637
Change-Id: Ifa4011434475c84975a000bda5d6601d9137bc7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |
| |
| |
| |
| |
| | |
Bug: 303064346
Test: atest aidl_integration_test
Change-Id: I067e05d5f03b678c963ac159574116ef3e33c9ed
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
am: f7d2e064a3
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2895642
Change-Id: I1a11930aa80aef361b0fc10c33dafb9c5c23a7fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In nativewindo, if the NDK symbols aren't present the read/write
parcel calls will fail. STATUS_FAILED_TRANSACTION is a special return
value and shouldn't be used for this case. Return
STATUS_INVALID_OPERATION instead.
This change will allow the caller to handle the error.
Test: m
Bug: none
Change-Id: I98f1319d8a67bd159825da9b7b533e9f709ad288
|
| | |
| |
| |
| |
| |
| |
| | |
Bug: 317293882
Test: build with validation
Change-Id: I63855cdced5361c2cc35b21d966c45c677b12995
Merged-In: I63855cdced5361c2cc35b21d966c45c677b12995
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is mainly to be used by toolkit to send the touch interaction to
SF (in effort to handle touch signal in toolkit instead of SF).
The HighInteractive category is similar to Heuristic layer type
but will be considered in touch boost logic.
Bug: 315071842
Test: atest libsurfaceflinger_unittest
Test: atest CtsSurfaceControlTestsStaging
Change-Id: I97a94fa970e165424757e4537468fbeda4226a72
|
| |\ \ \
| |/ /
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Bug: 317293882
Test: build with validation
Change-Id: I63855cdced5361c2cc35b21d966c45c677b12995
|
| |\ \ \
| |/ /
|/| /
| |/
| |
| |
| |
| |
| | |
main am: 565af6b109 am: f696a98863 am: 911e500a8b
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2880408
Change-Id: I9bb34ac43d823e440ca9257c81c4f3a985245b07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
These NDK APIs may not be available for modules using this AIDL type on
older devices.
Test: m
Bug: none
Change-Id: I0048285e4bd4d708833704845bed2199800bf42c
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
main am: 309e92d184
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2736397
Change-Id: I57b80dcf32b205026c181f50aaf6f68d87f21a6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also fix that some ADataSpace enum values were not prefixed
with ADATASPACE_*
Test: atest AHardwareBufferTest
Bug: 315475131
Change-Id: Ie92f416a209501fa8fdc9b3593ea6d3bb68eaa48
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 306080972
Test: atest libsurfaceflinger_unittest
Test: atest SetFrameRateTest
Change-Id: I65551be0f96fd7d4137e49259436e1a9c74bfe90
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SELF -> PROPAGATE (default)
DO_NOT_PROPAGATE -> SELF
No behavioral changes.
Test: atest libsurfaceflinger_unittest
Bug: 309687765
Change-Id: I055d827a45ecc7f566375425c42e745a41b751f9
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This logic is for the new FrameRateSelectionStrategy::DoNotPropagate.
The default behavior ("Self") is to propagate parent vote to children
that has no votes, but if a layer has "DoNotPropagate", it will not
propagate its vote to children.
Bug: 309687765
Test: atest libsurfaceflinger_unittest
Test: atest CtsSurfaceControlTestsStaging
Change-Id: I284b639f2b1902c5e9d3dcd08ceaf3f76b73451e
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
native_window_aidl.h only enables the AIDL glue for CPP/NDK backends,
so the headers required for AIDL glue should only be included
for CPP/NDK backends.
This CL includes headers required by AIDL glue only when the AIDL
glue is actually being enabled.
Bug: 283283111
Test: Verified that Surface can be used in an AIDL file.
Change-Id: I1945d3cfc247bfa507ca4fef03044e1078e598f0
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ANativeWindow is now parcelable over stable interfaces by being
wrapped in NativeWindow or Surface. The readFromParcel and
writeToParcel functions are implemented for this class, but
AIDL also expects some comparators and a toString function
to be implemented for custom parcelables.
This CL implements the comparison operators, and the toString
function to allow NativeWindow/Surface to be used with AIDL
interfaces and Parcelables. The operations simply
compare/print the ANativeWindow pointer that is being managed
by the object.
Bug: 283283111
Test: Verified that Surface can be used in an AIDL file.
Change-Id: I28ceded9ee1358884a6b1214269bb04a90749fc0
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
main am: 309e92d184 am: e8a6dfcb32 am: 01c83edf60
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2736397
Change-Id: I5256f337aa3c7d65b382dea556df488ca4ab1c60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\ \ \
| | |/ /
| |/| /
| | |/
| | |
| | |
| | |
| | |
| | | |
main am: 309e92d184 am: e8a6dfcb32
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2736397
Change-Id: I7cef3e02c1ab36f33373536184e3c6252136881c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Bug: 295245772
Test: Built a simple binary depending on it.
Change-Id: I64856b6063fd0e0ffe9f3bd1f066a73fbeffdb32
|
| | |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
6c3e2f72a7 am: a0b0fd7b5b am: 31627ebf8f
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2776854
Change-Id: Ia035b64fd2c2f9ee4c523c301d2f73926c2f07e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Changes include:
- Rename AHardwareBuffer to HardwareBuffer
- Expose AHardwareBuffer as a raw pointer type
- Making HardwareBuffer Send
- HardwareBuffer now derives Debug, PartialEq and Eq
- Use NonNull instead of a *mut pointer
- Adding an into_raw function to match from_raw
- Adding a Clone impl that acquires a ref
Bug: 296449936, 296100790
Test: atest libnativewindow_rs-internal_test
Merged-In: Iaf916fabe49190f47abd1a9ed34afdb76fd20e40
Change-Id: I5da6375582e98e8783b31ad8424f1e21c33467e5
|
| | |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cbcbb11376 am: ab68d2c732 am: 42d34fca4f
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2776853
Change-Id: Ic61b7dc3a45152dbf319d6b455b242dced757fa9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This CL adds two new benchmarks, one for getting an AHardwareBuffer's ID
and another for getting its description.
These should (and do) ultimately take the same amount of time.
Test: just adding new tests
Merged-In: I5e09a2736ab829ca465aaa4073b439a605d49b5a
Change-Id: I7ee6dd4e989c85fe18221f51a998ae1c25221800
|
| | |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
95f6fc6b3e am: f735f8c4c8
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2776852
Change-Id: I317914a39d631bf93a741f091dd800c0afa51818
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Test: atest nativewindow_buffer_benchmarks_rs nativewindow_buffer_benchmarks_cc
Merged-In: Ia2898439da46e57cf65e3d64030d98f052a694c6
Change-Id: Ib5aaa97f7130f1964824a2f6c8ca85d72d61ce4f
|
| | |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: b6f2ded45d
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2776851
Change-Id: Ibf4cf45aafd282cf353b0c8970850fc496a4d452
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These will soon be required by a lint.
Bug: 290018030
Test: m rust
Merged-In: Iaa33bab93c458d963d45ec68daf243057b9f1c15
Change-Id: Ia822853e44cc74d0c27622c8d30ca7c404058663
|
| | |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2cfb2da5cd am: 97c0be1b69 am: aaa2cd0c75
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2776850
Change-Id: I869cad539f4ef81faeebae44a962b4fc86bc3e84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For now we only expose AHardwareBuffer, but the exposed bindings will
make it easy to also expose ANativeWindow, ADataspace, and others in the
future.
NOTE: This makes the new presubmit post-submit to appease the SLO
checker
Bug: 291954749
Test: Added new unit tests for both bindings and the rust library.
Merged-In: I8ef24fc9111bb3fb72a4cdd941742d42d72fa776
Change-Id: I1dc87c9012fc1c1b805716cf7252fba2da11aec2
|
| |\ \ \
| | | |
| | | |
| | | | |
into main
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changes include:
- Rename AHardwareBuffer to HardwareBuffer
- Expose AHardwareBuffer as a raw pointer type
- Making HardwareBuffer Send
- HardwareBuffer now derives Debug, PartialEq and Eq
- Use NonNull instead of a *mut pointer
- Adding an into_raw function to match from_raw
- Adding a Clone impl that acquires a ref
Bug: 296449936, 296100790
Test: atest libnativewindow_rs-internal_test
Change-Id: Iaf916fabe49190f47abd1a9ed34afdb76fd20e40
|
| |\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
main am: c99b3a0cef am: 314f2692ec am: 20b18d0f83 am: 7a76712982 am: 866759321e
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2775867
Change-Id: If33fcc489826f5f186ac51986018cb413bb073c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
main am: c99b3a0cef am: 314f2692ec am: 20b18d0f83 am: 7a76712982
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2775867
Change-Id: I62a03540a1c3851f5a7816adee3c9dc3c9629568
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\ \ |
|