No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Quang Luong 8b29d287f5 [Revert^2] Reject TetheringRequests that fuzzy-match existing ones
Legacy behavior will return success results to multiple startTethering
calls of the same type, even though the link layer can only support one
of those requests at a time (other than tethered AP + LOHS).

For B+, clean up this behavior by only allowing the amount of requests
that the link layer can concurrently support. To do this, we'll
introduce the concept of "fuzzy-matching" such that if a new request
fuzzy-matches an existing request (either pending or serving), this
indicates that the link layer cannot support the new request
concurrently, and we'll fail the new request with
TETHER_ERROR_DUPLICATE_REQUEST.

To keep track of serving requests, we'll store the request and it's
IpServer in RequestTracker when we call IpServer.enable(), and we'll
remove it (indexed by IpServer) when
1) Calling IpServer.onStop()
2) Calling IpServer.unwanted()
3) We detect an IpServer transition to AvailableState with error code

Note: This was originally merged as aosp/3529632 but was reverted due to
a crash when reading aconfig flags at boot. That issue has been fixed
here.

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

Bug: 216524590
Test: atest TetheringTest RequestTrackerTest TetheringManagerTest

Change-Id: I87a1ed31927cda27d3b7fdd7c823b8f828f8d777
2025-03-17 15:18:29 +09:00
bpf Merge "Add libbpf version to bpf loader initial log" into main 2025-03-06 02:32:19 -08:00
clatd Drop egress multicast on clat interface 2025-02-27 12:45:26 -08:00
common Set restrict local network aconfig flag for 26q2 dates 2025-02-12 12:04:04 -05:00
framework Return the registry in registerNetworkAgent. 2025-03-14 13:23:50 +09:00
framework-t Correct OffloadServiceInfo Javadoc 2025-01-09 12:48:09 +09:00
nearby Replace .toList() with .collect() 2025-02-03 14:18:40 -08:00
networksecurity Add CompatibilityVersion v2 to CT downloader 2025-03-14 14:46:59 +00:00
remoteauth Remove apex_available from libremoteauth_jni_rust_defaults 2025-02-10 16:25:24 +00:00
service Merge changes I4bc29b10,I94a56b2b,I9ca025b1 into main 2025-03-16 15:57:51 -07:00
service-b Conditionally include VCN in Tethering module 2024-12-09 12:04:12 -08:00
service-t Merge "Enable the cached service removal feature by default" into main 2025-03-16 21:24:34 -07:00
staticlibs Merge changes I0b3ac7b4,I90385146 into main 2025-03-16 09:27:17 -07:00
tests [Revert^2] Reject TetheringRequests that fuzzy-match existing ones 2025-03-17 15:18:29 +09:00
Tethering [Revert^2] Reject TetheringRequests that fuzzy-match existing ones 2025-03-17 15:18:29 +09:00
thread Merge "[Thread] leverage the TestableNetworkAgent to simplify the setup of test network" into main 2025-03-16 22:21:11 -07:00
tools Remove dependencies on the 1-variant fallback 2024-10-22 16:31:00 -07:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking Add jimictw@ to core networking OWNERS. 2025-01-24 01:06:33 -08:00
OWNERS_core_networking_xts Add yuyanghuang@ to OWNERS_core_networking_xts for APF firmware tests 2025-03-14 13:16:04 +09:00
PREUPLOAD.cfg Disable ktfmt and rely solely on ktlint for Kotlin linting 2024-12-13 12:29:19 +09:00
TEST_MAPPING Use CtsTetheringTest in TEST_MAPPING 2025-02-05 12:50:33 +09:00