- Jun 04, 2024
-
-
Pawan Wagh authored
Extra field size has been added to getEntryInfo. Adding parameter to call. Test: mma libandroidfw Bug: 334109171 Change-Id: I38f0884c69c7b3b2871f264e41971a86c61bda65
-
- May 22, 2024
-
-
Josep del Rio authored
In the review of ag/26174212, an unnecessary string conversion was identified; this CL corrects that, plus two other instances in the same function. Bug: 314732730 Test: Presubmit (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:60e4fdfa0897b94c003ba3df3b39a16e10c886d1 ) Merged-In: Id2b620088e12266f041be864271493ffe7e1a3b1 Change-Id: Id2b620088e12266f041be864271493ffe7e1a3b1 Signed-off-by:
Edward Liaw <edliaw@google.com>
-
Josep del Rio authored
Sony gamepads need a uniq attribute of a certain size in order to obtain the MAC address, which makes our CTS test fail. This CL adds the ability to define this attribute in our test definitions. Bug: 314732730 Test: Compiles properly, will be tested together with the test (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:93a4c0fbdc14d99cbd382fd50be83b7058ca6b56 ) Merged-In: I83203e8eb876b27d0e6e60adfbf6de3f4a6e9872 Change-Id: I83203e8eb876b27d0e6e60adfbf6de3f4a6e9872 Signed-off-by:
Edward Liaw <edliaw@google.com>
-
- May 14, 2024
-
-
Daniel Peykov authored
* This brings the childNafCheck method in line with the version in androidx.test.uiautomator. Bug: 315023780 Test: manual Change-Id: Ie5ba2340bedabc31f346c6e717353c7a5db0e90e
-
- May 13, 2024
-
-
derek.li authored
Use the size of limitSurfaceSize to set the window Bug: 339763174 Test: 1. set the property: [ro.surface_flinger.max_graphics_height]: [1080] [ro.surface_flinger.max_graphics_width]: [1920] 2. Repeatedly Turn on/off while connecting to 4K TV and check the boot animation Change-Id: I378aab715d75b8ddb47068cb0e81503d83339021
-
- May 09, 2024
-
-
Dominic Lemire authored
Bug: 29055299 Test: manual Change-Id: I4f821acb298f8d74d17afd0db7ba4eb7729620d2
-
- Apr 05, 2024
-
-
Ronald Braunstein authored
See parent cl: aosp/3028633 Test: atest -p cmds/locksettings:postsubmit Test: atest -p services/core/java/com/android/server/locksettings:postsubmit Test: atest -p services/devicepolicy:postsubmit Change-Id: I6d0d0320e0bf8927f9b8b27b471ae58ace56124a
-
- Apr 04, 2024
-
-
Owner Cleanup Bot authored
This suggested change is automatically generated based on group memberships and affiliations. If this change is unnecessary or in error, vote CR -1 and the bot will abandon it. Vote CR +1/2 to approve this change. See the owner's recent activity for context: https://android-review.googlesource.com/q/kwekua@google.com To report an issue, file a bug in the Infra>Codereview component. Change-Id: Iafe15ba5276e97d8ffc036d4b5bc71967df25329
-
- Feb 28, 2024
-
-
Paul Lawrence authored
With the changes to sys.powerctl this variable is no longer set on a power event - the power action is simply carried out. (This is to avoid possible DoS of these power functions.) However, this means that this property can no longer be read to see if a power event is happening. Since there is no longer a way of telling if a remote exception is real or not, best not to print out an error. Note that this bug occurs on some devices, not all. I was able to reproduce it reliably on a Pixel 7a, but not on a Pixel 7 or Cuttlefish. Bug: 318323013 Test: adb shell svc power reboot Change-Id: Icbc1ec1b7882140d4d742b056ea2adaafae67ee9
-
- Dec 05, 2023
-
-
Jeremy Meyer authored
This adds an api that allows creation of nine patch frros. We process them the same as aapt2 does so that when they are used at runtime they work correctly. API-Coverage-Bug: 314168567 Test: manual and automatic Bug: 296324826 Change-Id: I40da020189e9ec914fbea0c17f181209347d83de
-
- Nov 22, 2023
-
-
Harry Cutts authored
Bug: 302297266 Test: atest UinputTests Test: play a recording with version ID set, check `getevent -li` output while it's running Change-Id: Idd3b6166a3912c26720dddbf4ad72b5a07a604a5
-
Harry Cutts authored
Bug: 302297266 Test: run with various broken recordings, check error messages are helpful and have correct line numbers Change-Id: Iad0e788815c9d146babe67568a6ceef27b68007f
-
Harry Cutts authored
Bug: 302297266 Test: atest UinputTests Change-Id: I7b4c6fa87f6ba50147f3ddeb9b8e4ceaa238ffc1
-
- Nov 21, 2023
-
-
Harry Cutts authored
evemu [0] is a system used by the wider Linux community to record sequences of evdev events and descriptions of the device that created them. Together with the evemu-record implementation added to frameworks/native, implementing support for evemu recordings in uinput gives us a system for event recording and replay that's compatible with other Linux systems. Since the format looks quite different from the existing JSON-style one, we can automatically detect which type of data is being passed in, instead of having to change the command-line interface. As part of the implementation, the Event.Bus enum is replaced with plain integers. This allows the tool to support new bus IDs that are added to Linux's input.h without code changes, at least for evemu files. [0]: https://gitlab.freedesktop.org/libevdev/evemu Bug: 302297266 Test: replay recordings made using Android and FreeDesktop evemu-record implementations Change-Id: Ie2f969da24db9aa04037335d5b697cdc0db0b3ca
-
Pascal Muetschard authored
Although the binary looks for a vendor provided shared library, it is an otherwise vendor agnostic tool. Moving it off the vendor partition also has the added benefit of it not requiring root to be run. Bug: b/273907878 Test: manual Change-Id: I81726ffb7d96acef69b7b77c864be254be9a74c5
-
- Nov 16, 2023
-
-
Harry Cutts authored
Parsing strings into enum values should be done by the parser, not the builder, and this means that the evemu parser will be able to pass properly typed values to setCommand rather than "magic" strings. Bug: 302297266 Test: m uinput Change-Id: Icac5764a66025412c87c326280d1895f3da78cac
-
Harry Cutts authored
Previously the tool just carried on, with event injections being silently dropped, which isn't very obvious behaviour. Bug: 302297266 Test: cause device creation to fail somehow, check the tool exits Change-Id: I94e931729339bff0f6fc7ab5b591f062043a1d7a
-
Harry Cutts authored
This came in useful when debugging the evemu support, and seems like something we should be checking anyway. Bug: 302297266 Test: pass some invalid arguments (e.g. large numbers that aren't valid event codes) to the ioctls, check errors are logged Change-Id: Id3e32dad96c9db8819009b815ee2574ef63e96f7
-
- Nov 15, 2023
-
-
John Reck authored
Test: make && adb shell screencap Change-Id: I0141a9ea9b51a06bafdeac6c7848986906b8eacc
-
- Nov 14, 2023
-
-
Harry Cutts authored
Rename setDuration and associated identifiers to make the units clearer, fix a typo in setInputport, and add some JavaDoc to clarify the structure of configuration arrays. Bug: 302297266 Test: m uinput Change-Id: I9b9ae8970389da3cdfe06738883ef02ebf07ff77
-
Harry Cutts authored
This makes the Command and UinputControlCode enums and the code to look up their values a little tidier. Bug: 302297266 Test: atest CtsInputHostTestCases Change-Id: Iad98088b93dc1e1b72df1efbeb9010f78c6962e9
-
Harry Cutts authored
We'll shortly be adding a parser for a different file format (evemu), and having the different parsers in separate files will make the code nicer to navigate. In addition to moving it to a separate file, this CL renames Reader to JsonStyleParser to avoid confusion with Java's Reader classes, and replaces some switch statements with the new-style switch syntax to improve readability. Bug: 302297266 Test: atest CtsInputHostTestCases Change-Id: Id6c7536a2caea3b61fac615dce071129bf4dc1e4
-
- Nov 13, 2023
-
-
YoungJoon Yang authored
Introduce ro.bootanim.set_orientation_logical_<display_id> allows to change the default orientation of logical display. Bug: 272527451 Test: Manual test with all 4 values Change-Id: I39a0d5df97d5185090b6a793e52ecaa5f3bc0baa
-
- Nov 08, 2023
-
-
Dominik Laskowski authored
The underlying type of DisplayId is uint64_t, but screencap parsed the IDs as signed 64-bit, invoking undefined behavior for out-of-range IDs. In practice, out-of-range IDs were clamped, so SF failed to find them. Fixes: 302580952 Test: screencap works for virtual display on Felix Change-Id: I09a863d0c68dbb857b6f756b51159e5e3d853f5d
-
Pascal Muetschard authored
Test: tested locally Change-Id: I4971e1b422bf4b278e8c3153e2134956c8d35700
-
- Oct 24, 2023
-
-
Roshan Pius authored
This reverts commit 8140652e. Reason for revert: Added a fix for the failing code. Change-Id: I729672340d52a745dd43121e1dbedf9d6d5ec34a
-
- Oct 23, 2023
-
-
Roshan Pius authored
This reverts commit 12058cb9. Reason for revert: Fails telephony tests Bug: 303286040 Test: N/A Change-Id: I07c79f6d07ac8f7394698b8144e9310be2f3f1fe
-
Roshan Pius authored
Follow up CL for aosp/2798514 to add owners file. Bug: 303286040 Test: Compiles Change-Id: I18d8f617beb385c684c635ec2ec57d296be5e6f3
-
- Oct 20, 2023
-
-
Roshan Pius authored
Bug: 303286040 Test: adb shell svc nfc enable Change-Id: I678d01c7c86defb7eb071d66cb2aede4983ab506
-
- Oct 16, 2023
-
-
niuwenchao authored
jagged animation after resolution change, change Texture Filtering from GL_NEAREST to GL_LINEAR. Change-Id: I0788db4f4edb109eff3b86ce43be79eb206fe00b Signed-off-by:
niuwenchao <niuwenchao@xiaomi.com>
-
- Sep 28, 2023
-
-
Harry Cutts authored
Bug: 245989146 Change-Id: I84dfce5d216a5065611bf63f61e803a93e76b58f Test: check gittiles rendering
-
- Sep 22, 2023
-
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-