android_packages_modules_Co.../Tethering/src
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
..
android/net Remove redundant requestedState from IpServer#enable 2025-01-30 14:30:51 +09:00
com/android/networkstack/tethering no-op: Pipe TetheringRequest through enableTetheringInternal 2025-02-13 19:09:01 +09:00