> The Rust Binder driver has been tested on the Android emulator as well as a Google Pixel 6 Pro.
That's a pretty old device at this point. I get that most stuff should work on pretty much all hardware, but given what they said about the importance of this, my expectation would be that Google would shower the Linux team in Pixel devices for testing. Maybe I'm misunderstanding where the Pixel 6 comes in?
aw1621107•4mo ago
For what it's worth, here's the relevant section from the patch description:
Correctness and feature parity
------------------------------
Rust binder passes all tests that validate the correctness of Binder in
the Android Open Source Project. We can boot a device, and run a variety
of apps and functionality without issues. We have performed this both on
the Cuttlefish Android emulator device, and on a Pixel 6 Pro.
StopDisinfo910•4mo ago
The goal is to ensure that the Binder code works not to end to end test a specific phone.
If you have shown it to work properly in an emulator and on an actual phone, it's reasonable to assume that the overall implementation is sound and can be merged to the mainline.
It's not like kernel updates were pushed directly to phones. Manufacturers will now be able to do their own test on their specific model to ensure it works fine.
bastawhiz•4mo ago
When I test my JavaScript libraries I don't merge after testing in a version of Chrome from four years ago and then let everyone else test in their own browsers when they update to the latest version. That's wild.
manchmalscott•4mo ago
What is the benefit to the wider Linux ecosystem to upstream what looks to be a very android specific component?
duskwuff•4mo ago
It's already in the kernel. This is a rewrite of an existing component (drivers/android/binder.c).
kimixa•4mo ago
Because a single community is a greater whole? There's other things in the kernel that Android-focused developers work on, and forcing them to a fork raises the barrier to merge their work into the mainline.
bastawhiz•4mo ago
That's a pretty old device at this point. I get that most stuff should work on pretty much all hardware, but given what they said about the importance of this, my expectation would be that Google would shower the Linux team in Pixel devices for testing. Maybe I'm misunderstanding where the Pixel 6 comes in?
aw1621107•4mo ago
StopDisinfo910•4mo ago
If you have shown it to work properly in an emulator and on an actual phone, it's reasonable to assume that the overall implementation is sound and can be merged to the mainline.
It's not like kernel updates were pushed directly to phones. Manufacturers will now be able to do their own test on their specific model to ensure it works fine.
bastawhiz•4mo ago