Junyu Lai
fef111ce47
Add SkipNativeNetworkCreation flag in NetworkAgentConfig
...
This flag allows ConnectivityService to skip native network creation,
deferring this responsibility to Tethering. This is necessary because:
- ConnectivityService requires the NetworkAgent to be in the CONNECTED
state to configure routing and invokes NetworkCallback#onAvailable
once ready.
- Tethering requires lower-layer interactions to be completed before
notifying applications.
This approach ensures proper synchronization between ConnectivityService
and Tethering during network setup.
Long-term, all netd operations should be handled by ConnectivityService
when it supports early native network creation in the CONNECTING state.
As a mid-term solution, this flag enables Tethering to manage native
network creation within the IpServer.
Test: atest ConnectivityCoverageTests:android.net.connectivity.android.net.NetworkAgentConfigTest
Bug: 349487600
Change-Id: I84da9c74dc4d40c7cd36c6657f17a158affed689
2024-12-11 15:22:36 +08:00
..
apf
trivialize apf property accessor dead code
2022-11-04 11:43:22 +00:00
metrics
Move bit utilities to BitUtils.
2022-10-12 16:39:37 +09:00
netstats
Support NetworkStats#addEntries API
2024-08-09 14:19:38 +08:00
nsd
[mdns] add hidden API for public key
2024-04-24 07:02:42 +00:00
util
Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check
2023-11-06 09:35:28 +00:00
CaptivePortalDataTest.kt
Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check
2023-11-06 09:35:28 +00:00
CaptivePortalTest.java
Move net unit tests to packages/Connectivity
2021-05-13 08:30:33 +00:00
ConnectivityDiagnosticsManagerTest.java
Do not verify field count in tests used in CTS
2022-01-18 16:55:32 +09:00
ConnectivitySettingsManagerTest.kt
Fix testing with/without connectivity module
2022-02-16 15:22:30 +09:00
DependenciesTest.java
Move net unit tests to packages/Connectivity
2021-05-13 08:30:33 +00:00
DhcpInfoTest.java
Do not verify field count in tests used in CTS
2022-01-18 16:55:32 +09:00
EthernetNetworkManagementExceptionTest.java
Rename of InternalNetworkManagementException
2022-05-03 13:22:21 -07:00
InvalidPacketExceptionTest.kt
Add basic tests for InvalidPacketException
2021-06-23 09:16:59 +00:00
IpPrefixTest.java
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
KeepalivePacketDataTest.kt
Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check
2023-11-06 09:35:28 +00:00
LinkAddressTest.java
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
LinkPropertiesTest.java
Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check
2023-11-06 09:35:28 +00:00
MatchAllNetworkSpecifierTest.kt
Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check
2023-11-06 09:35:28 +00:00
NattKeepalivePacketDataTest.kt
Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check
2023-11-06 09:35:28 +00:00
NetworkAgentConfigTest.kt
Add SkipNativeNetworkCreation flag in NetworkAgentConfig
2024-12-11 15:22:36 +08:00
NetworkCapabilitiesTest.java
Stop throwing when the invalid capability is passed
2024-06-05 11:57:18 +09:00
NetworkProviderTest.kt
Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check
2023-11-06 09:35:28 +00:00
NetworkSpecifierTest.kt
Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check
2023-11-06 09:35:28 +00:00
NetworkStackTest.java
Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check
2023-11-06 09:35:28 +00:00
NetworkStateSnapshotTest.kt
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
NetworkTest.java
Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check
2023-11-06 09:35:28 +00:00
OemNetworkPreferencesTest.java
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
RouteInfoTest.java
Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check
2023-11-06 09:35:28 +00:00
TcpKeepalivePacketDataTest.kt
Do not verify field count in tests used in CTS
2022-01-18 16:55:32 +09:00
UidRangeTest.java
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
UnderlyingNetworkInfoTest.kt
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
VpnTransportInfoTest.java
Rename getBypassable to isBypassable
2022-12-15 04:22:43 +00:00