Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22d025b6 authored by Abhishek Pandit-Subedi's avatar Abhishek Pandit-Subedi
Browse files

libs/usb4: Refactor UserId and tests

Add a newtype, UserId, in apis for better type safety. Also re-write
tests to reduce dependency on specific sleep durations (opting for
polling + a long timeout).

Bug: 433329064
Test: atest frameworks/base/libs/usb4/tests/pci_authorizer_test.rs
Flag: com.android.server.usb.flags.enable_usb4
Change-Id: Iabad66adf7c6e18d010fcf20c971a73ed5c2d8e9
parent a8f74139
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment