android_packages_modules_Co.../Tethering
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Quang Anh Luong 394c889699 no-op: Pipe TetheringRequest through enableTetheringInternal
Add a TetheringRequest argument to enableTetheringInternal and
sendTetherResult so we can pass the request to Wifi in a later CL.
Also pass through for TETHERING_VIRTUAL to use the request and
interface directly.

Note that removing getOrCreatePendingTetheringRequest in
setVirtualTethering is also a no-op:
- If setVirtualTethering is called from startTethering, the request
  that is now passed in as a parameter is the exact same one that
  was just inserted into the pending list, and which the old code
  would have obtained from getOrCreatePendingTetheringRequest.
- If setVirtualTethering is called due to an IP conflict, both the
  old and the new code use a placeholder request with no interface.
  This codepath was already broken before this CL (and likely has
  never worked).

Bug: 216524590
Test: covered by existing tests
Change-Id: I3cb9b5ed44e83bb6bbf4ed77c37cbf35e306f08b
2025-02-13 19:09:01 +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 no-op: Refactor bluetooth tethering listener 2025-02-13 18:50:27 +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: Pipe TetheringRequest through enableTetheringInternal 2025-02-13 19:09:01 +09:00
tests Pre-emptively fail pending pan requests upon opposite request 2025-02-13 10:24:42 +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
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
proguard.flags Proguard JNI methods 2025-01-02 08:29:25 -08:00