android_packages_modules_Co.../Tethering/tests/unit
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
..
common/android/net Add TetheredClient tests 2020-04-23 01:10:19 +00:00
src [Revert^2] Stop tethering request only if fuzzy-matched to existing request 2025-03-17 15:18:29 +09:00
Android.bp Merge "Use non-extended mockito for net-tests-utils" into main 2025-03-11 19:00:20 -07:00
AndroidManifest.xml TetheringServiceTest: test caller permission 2020-05-25 12:07:06 +08:00