android_packages_modules_Co.../Tethering
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
..
apex Conditionally include VCN in Tethering module 2024-12-09 12:04:12 -08:00
apishim Simplify tethering active session counting 2024-10-03 16:04:56 +08:00
common/TetheringLib Add methods to distinguish TetheringRequest types 2025-01-21 17:48:38 +09:00
jni remove dead register_com_android_networkstack_tethering_BpfUtils 2023-11-07 17:23:11 -08:00
res Import translations. DO NOT MERGE ANYWHERE 2024-08-06 15:20:29 -07:00
src no-op: Make TetheringRequest @NonNull in enableIpServing 2025-01-30 14:30:49 +09:00
tests no-op: Make TetheringRequest @NonNull in enableIpServing 2025-01-30 14:30:49 +09:00
Android.bp Remove WRITE_SETTINGS permission from Tethering APIs 2024-12-18 13:53:04 +09:00
AndroidManifest.xml Use MANAGE_USERS permission to check for admin user 2024-10-28 17:31:22 +08:00
AndroidManifestBase.xml Add usesCleartextTraffic to Tethering 2020-08-19 08:56:10 +00:00
jarjar-rules.txt Fix jarjar rules for tethering apk 2022-05-31 15:20:52 +08:00
lint-baseline.xml Baseline NewApi issues 2024-01-25 02:41:58 +00:00
OWNERS Revert "Add owners block for migration" 2021-05-31 10:34:04 +00:00
proguard.flags Proguard JNI methods 2025-01-02 08:29:25 -08:00