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
Lorenzo Colitti dd577efdde Simplify and correct isNetworkPotentialSatisfier.
This makes the code clearer, and also fixes a bug: currently, a
TRACK_DEFAULT request in a multilayer request can cause a network
to remain needed. This is incorrect: only requests should be able
to keep a network up.

This prevents satellite networking from disconnecting when the
default network reappears (see changes in unit test).

This CL removes the code before the loop that special-cases
non-multilayer listens because it is not very useful. Any
non-multilayer listen will either:
- Immediately return false, if it's the active request, or:
- Cause the code to continue (because it's not the active
  request), and because mRequests only has one element, will
  hit the "return false" statement after the loop.

Flag: EXEMPT bug fix
Test: covered by existing tests
Change-Id: I7295ce469335af924aa20b7976cc4a9136ef5d61
2025-04-22 22:02:40 +09:00
bpf Fix memory leak in NetBpfLoad 2025-04-17 08:38:01 -07:00
clatd clatd: fix endianness of multicast drop 2025-03-21 12:55:32 -07:00
common Clean up flags to not only flag APIs 2025-04-02 16:23:17 +09:00
framework Update enforceMeteredApnPolicy to follow the compat flag 2025-04-21 12:19:45 +09:00
framework-t Avoid excessive allocation churn in network stats. 2025-04-15 10:46:35 -07:00
nearby Replace .toList() with .collect() am: 725078a6bd am: 6586d080f6 2025-02-03 17:40:50 -08:00
networksecurity Remove unused DataStore class 2025-04-10 12:30:05 +00:00
remoteauth Merge "packages/modules/Connectivity: remove usages of Mockito.verifyZeroInteractions" into main 2025-03-11 04:57:42 -07:00
service Simplify and correct isNetworkPotentialSatisfier. 2025-04-22 22:02:40 +09:00
service-b Conditionally include VCN in Tethering module 2024-12-09 12:04:12 -08:00
service-t Merge "Ignore IPv6 temporary addresses in mDNS advertising." into main 2025-04-21 00:48:54 -07:00
staticlibs Merge "Move getTestableNetworks to a common location" into main 2025-04-21 00:36:58 -07:00
tests Simplify and correct isNetworkPotentialSatisfier. 2025-04-22 22:02:40 +09:00
Tethering Create the TetheringFeatureFlags class 2025-04-16 20:18:04 -07:00
thread Add unit test for ThreadNetworkControllerService#SetEnabled 2025-04-15 09:44:12 +00:00
tools Remove dependencies on the 1-variant fallback 2024-10-22 16:31:00 -07:00
.clang-format Add .clang-format 2025-03-23 19:59:10 -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 Add rustfmt to p/m/C 2025-03-28 10:06:13 -07:00
rustfmt.toml Add rustfmt to p/m/C 2025-03-28 10:06:13 -07:00
TEST_MAPPING Add connectivity tests for presubmit on tv 2025-04-03 09:13:40 -07:00