android_packages_modules_Co.../Tethering
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Quang Luong d093ea69b0 [Revert^2] Stop tethering request only if fuzzy-matched to existing request
stopTethering with a TetheringRequest should only stop tethering if
there is an existing request (pending or serving) that fuzzy-matches the
input and whose UID matches the caller (unless the caller is Settings,
which is allowed to remove any request).

If there is no existing fuzzy-matched request, return
TETHER_ERROR_UNKNOWN_REQUEST.

Note: This was originally merged as aosp/3527440 but was reverted due to
a dependency CL being reverted. Remerging this on top of the fix for the
dependency CL.

Reverted changes: /q/submissionid:3541662-revert-3527440-JRJJTQBUFC

Bug: 216524590
Test: atest TetheringTest RequestTrackerTest TetheringManagerTest

Change-Id: I99dd2433efbb82f3721aa708ab50d198f6fbcb10
2025-03-17 15:18:29 +09:00
..
apex Move CronetInTetheringApexDefaults to //external/cronet 2025-03-12 10:00:42 -07:00
apishim Simplify tethering active session counting 2024-10-03 16:04:56 +08:00
common/TetheringLib [Revert^2] Reject TetheringRequests that fuzzy-match existing ones 2025-03-17 15:18:29 +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 2025-01-22 15:31:38 -08:00
src [Revert^2] Stop tethering request only if fuzzy-matched to existing request 2025-03-17 15:18:29 +09:00
tests [Revert^2] Stop tethering request only if fuzzy-matched to existing request 2025-03-17 15:18:29 +09:00
Android.bp try-catch when calling createContextAsUser 2025-01-22 11:22:59 +08: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