android_packages_modules_Co.../Tethering/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Quang Anh Luong 2b8a42d666 no-op: Make TetheringRequest @NonNull in enableIpServing
Currently the enableIpServing->tetherInternal call stack may have a
tethering request alongside a redundant tethering type and requested
state. The redundant arguments were necessary since there may be cases
where the active request is null (e.g. back-to-back start/stop, which
removes the active request before the link layer event enables ip
serving).

This change gets rid of the redundant arguments and makes the call stack
take a non-null TetheringRequest. In case the active request is not
found, we will create a placeholder request with just the type and
connectivity scope (i.e. requested state). This should be equivalent to
the old code of sending a null request (since none of the other fields
in TetheringRequest are used), making this a no-op change.

Bug: 216524590
Test: covered by existing tests
Change-Id: I5ac83c74f5bc4aec2fe85daa9477740749d95c63
2025-01-30 14:30:49 +09:00
..
integration Introduce interfaceName field into TetheringRequestParcel 2024-12-05 08:14:10 +09:00
mts Make java_sdk_library dependencies explicit 2024-09-10 00:01:31 +00:00
privileged Rename TapPacketReader to PollPacketReader for broader applicability 2024-10-15 13:42:05 +09:00
unit no-op: Make TetheringRequest @NonNull in enableIpServing 2025-01-30 14:30:49 +09:00
Android.bp [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
jarjar-rules.txt ConnectivityCoverageTests refactoring 2022-04-06 19:35:28 +09:00