Age | Commit message (Collapse) | Author |
|
|
|
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>
|
|
|
|
Copy over the SDK doc suggested from API review
Test: n/a
Flag: EXEMPT NDK
Bug: n/a
Change-Id: I68b3a241fe337d2b6c34936251cbf8c1eeb0aee4
|
|
This commit fixes the following compiler error with gcc 14.2.0.
native/include/android/configuration.h:531:1: error: 'int32_t' does not name a type
531 | int32_t AConfiguration_getMcc(AConfiguration* config);
| ^~~~~~~
native/include/android/configuration.h:536:52: error: 'int32_t' has not been declared
536 | void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
| ^~~~~~~
Change-Id: I11fd658d799801fb6267ab48d4a890cab2086121
|
|
Bug: 346604998
Flag: EXEMPT doc only
Test: n/a
Change-Id: Icfc2869a5cf602dd4dc37b2f296591c26d62114f
|
|
Bug: 385190204
Merged-In: I0fb567cbcca67a2fc6c088f652c8af570b8d7e53
Change-Id: Iaae8cd491ff963cf422f4b19c54be33e1244a9a1
|
|
Fixes an issue by passing valid MotionEvent buttons through
NotifyMotionArgs() in FuzzedInputStream.h.
Added IfThisThenThat Lint to remind the actionButton to sync
Test: m frameworks/native/services/inputflinger/tests/fuzzers
Bug: 392345690
Flag: EXEMPT bugfix in fuzzer
Change-Id: I7c2108a255114b24e6544aa930696079e4f06b77
|
|
Check the following things:
* BUTTON_PRESS and _RELEASE actions have a single, valid action button
* No redundant BUTTON_PRESS or _RELEASE actions (i.e. for buttons that
are already pressed or released)
* Button state remains consistent throughout the stream, i.e.:
* Buttons are only added to the state by BUTTON_PRESS (though DOWN
events can have "pending" buttons on them)
* Buttons are only removed from the state by BUTTON_RELEASE
* When a DOWN event has pending buttons in its state, it is
immediately followed by a BUTTON_PRESS for each one
We could also verify that press and release events for primary,
secondary, and tertiary buttons are accompanied by down and up events.
However, I couldn't find any documentation that states which buttons
should result in down or up events, so I haven't implemented this for
now.
This is the second attempt to land this change, due to the original
causing test failures. Change I5c259c13d433d3010d2cf9c6fe01e08ba5990ef7
fixes the failures. v2 also adds a separate flag for button state
verification, as it is actually used in production to check events
injected by assistive technologies, whether or not the flag that I
previously thought was guarding it is enabled.
Test: connect a mouse and a touchpad, enable the verifier, play around
with the buttons, and check that any issues found by the verifier
appear to be legitimate. (I found b/391298464 , and checked that
the verifier caught a button problem with a partial fix to
b/372571823 .)
Test: atest --host libinput_rust_tests
Test: atest --host frameworks/native/libs/input/tests/InputVerifier_test.cpp
Test: atest --host \
frameworks/native/services/inputflinger/tests/InputDispatcher_test.cpp
Bug: 392870542
Flag: com.android.input.flags.enable_button_state_verification
Change-Id: I46f489b26df8785563e41e58135b6b5de4ff62a2
|
|
This reverts commit fb477b1399b4501acdb2516b6a0a00765dd8aba3.
Reason for revert: Droidmonitor created revert due to b/392150793. Will be verifying through ABTD before submission.
Change-Id: Ie2c9d9e4271addf5b198e34875ee02082b0132ba
|
|
Check the following things:
* BUTTON_PRESS and _RELEASE actions have a single, valid action button
* No redundant BUTTON_PRESS or _RELEASE actions (i.e. for buttons that
are already pressed or released)
* Button state remains consistent throughout the stream, i.e.:
* Buttons are only added to the state by BUTTON_PRESS (though DOWN
events can have "pending" buttons on them)
* Buttons are only removed from the state by BUTTON_RELEASE
* When a DOWN event has pending buttons in its state, it is
immediately followed by a BUTTON_PRESS for each one
We could also verify that press and release events for primary,
secondary, and tertiary buttons are accompanied by down and up events.
However, I couldn't find any documentation that states which buttons
should result in down or up events, so I haven't implemented this for
now.
Test: connect a mouse and a touchpad, enable the verifier, play around
with the buttons, and check that any issues found by the verifier
appear to be legitimate. (I found b/391298464, and checked that
the verifier caught a button problem with a partial fix to
b/372571823.)
Test: atest --host libinput_rust_tests
Test: atest --host frameworks/native/libs/input/tests/InputVerifier_test.cpp
Test: atest --host \
frameworks/native/services/inputflinger/tests/InputDispatcher_test.cpp
Bug: 372571823
Flag: com.android.input.flags.enable_inbound_event_verification
Change-Id: I59b886bfb632f0f26ee58c40f82f447f5ea59b41
|
|
|
|
Change-Id: I9ca51a93af79360cd57aabba08d83f968618308c
Fixes: 346593383
Test: n/a
Flag: EXEMPT docs
|
|
Updated the doc of interval methods as they won't fail now
Bug: 346604998
Flag: EXEMPT ndk
Test: atest NativeSystemHealthUnitTest SystemHealthManagerUnitTest
NativeSystemHealthTest HeadroomTest
Change-Id: Ia8a3d921f831ee0c07b16926500581fc2a8d5b00
|
|
|
|
|
|
* Add comment on how to use the APIs and the binder call warning
* Change to use size_t for size
* Allow destroy against nullptr
* Add ASystemHealth_getMaxCpuHeadroomTidsSize
Bug: 384944829
Bug: 346604998
Flag: EXEMPT ndk
Test: atest NativeSystemHealthTest
Change-Id: Ia7229e9197a1cd5f1306d2cf672d155ec3899505
|
|
This patch updates the performance_hint NDK in response to API guidance,
and updates the tests accordingly.
Additionally, this patch updates the documentation and ergonomics of a
few related methods to better accomodate these changes, and to downgrade
going over the graphics pipeline limit from a breakage to a very severe
warning.
Flag: EXEMPT NDK
Test: atest
cts/tests/tests/os/src/android/os/cts/PerformanceHintManagerTest.java
Test: atest PerformanceHintNativeTestCases
Test: atest HintManagerServiceTest
Bug: 380299912
Bug: 381269529
Bug: 384511707
Bug: 384738612
Change-Id: Ie885112368bec7cfa9dc527de2bf1fef3475594d
|
|
Bug: 346604998
Bug: 384737787
Flag: EXEMPT ndk
Test: atest NativeSystemHealthTest
Change-Id: Idc1fdd1c4789a71b11dd879b09b5725b6b7ba380
|
|
Update the "APerformanceHint_borrowSessionFromJava" documentation
to specify the lifetime of the returned pointer (it lives until the
Java wrapper dies)
Test: n/a
Bug: 380300424
Flag: EXEMPT NDK
Change-Id: I90c74893cdc6febf49cfde5eaa6a88d796660779
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3391721
Change-Id: I4709a3492a0ea6764eb2ce8ceded787aaf4a6047
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/+/3391721
Change-Id: I8a9610666b341157cd4e0006e9d16f8b22b820ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
Caught post-submit in https://r.android.com/3353154.
Bug: None
Test: None
Change-Id: I7578ecafea463aa4c7d06a7527c44aba9e558d79
|
|
|
|
e9d9f4059d
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3368406
Change-Id: I233d2a585cf239dcd28580842e6a6a1cdb8b085c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
This will generate <code> tag properly instead of <pre>
Bug: 367803904
Test: n/a
Flag: EXEMPT ndk
Change-Id: I59d53925cf15b33364190557951a4c03d18f4071
Merged-In: If5456fdc009b1154101cdae95d8d2943b030fbad
|
|
Currently there is ambiguity between single-frame expensive ops
(eg: shader compilation) and longer-duration expensive ops (eg:
SF client compositon). This load hint aims to resolve this by
explicitly annotating one-time expensive workloads so they can
be given unique boost and hysteresis expectations.
For example, a load_spike aware tracker might want to ignore
the timing that comes from a LOAD_SPIKE-marked frame, as it is
known to not be representative of the overall workload.
Flag: EXEMPT NDK
Test: atest PerformanceHintNativeTestCases
Test: atest PerformanceHintManagerTest
Bug: 367803904
Change-Id: I22458f0d8f0819499f3463aa36e8bb7eb7af15be
|
|
Bug: 346604998
Flag: EXEMPT ndk
Test: build
Change-Id: I859685babd1552b45ad48e1fe64d21ed84b55faf
|
|
8cd5802ab9
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3390159
Change-Id: I98cad2de0a66e2d6880a842dd95c906ce0c178aa
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/+/3390159
Change-Id: I6d9b77e23f4476461f8d4be1067b2a85b64b86ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 346604998
Change-Id: I5cb1331bc4217835666670c4fa5eef3060e65ca5
Test: N/A
|
|
|
|
Bug: 346604998
Flag: EXEMPT ndk
Test: TBD in next change
Change-Id: I4a5b04cc40907effff8d68140b89517ffbf3c7f9
|
|
into main
|
|
Update the thermal headroom thresholds polling API doc
on removal of cache update for Android 16.
Bug: 360486877
Flag: EXEMPT NDK
Test: atest NativeThermalTest NativeThermalUnitTest
Change-Id: If5456fdc009b1154101cdae95d8d2943b030fbad
|
|
|
|
Revert submission 30112724-asurfacetransaction-setframerateparams
Reason for revert: removing API to be landed in another release.
Reverted changes: /q/submissionid:30112724-asurfacetransaction-setframerateparams
Change-Id: I47b48906c6ac1f77b731637dcb5d30e70b0dc28c
|
|
Bug: 381293544
Change-Id: Ied40d74f9f96e647aa56500b7ed04c573be24b98
Test: build
Flag: EXEMPT NDK
|
|
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3347007
Change-Id: I6e201c3e25de27dc06960cebb3147395b2b20e7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
Add new APIs to allow sessions to bind to ANativeWindows and
ASurfaceControls for the ADPF timeline API, and expose a new
way for sessions to run automatically in certain circumstances.
Flag: EXEMPT NDK_API
Bug: 360908317
Bug: 367803904
Test: atest HintManagerServiceTest
Test: atest PerformanceHintManagerTest
Test: atest PerformanceHintNativeTestCases
Change-Id: I0a60743ba6815d400210dc04b9116a675880d443
|
|
Bug: 358422255
Change-Id: I33ffd8c9a843740653f7b838b426ba412aa292a1
Test: builds
Flag: EXEMPT NDK
|
|
ADisplayLutsEntry_getSamplingKey.
- to fix https://screenshot.googleplex.com/4BTVD4TjjDfuwcs
Bug: n/a
Change-Id: I9fdc07acef94be75f251a0246cea5116ac01f892
Test: builds
Flag: EXEMPT NDK
|
|
|
|
am: 931a771b60
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3353154
Change-Id: I6025b33f0a8e00f3b7e2d7e3f8af7dbabcf28fe6
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/+/3353154
Change-Id: Id4266f0da8877bfb7265592c0fdf27a249df5783
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|