android_packages_modules_Co.../tests/common/java/android/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aaron Huang 69086d6cbc Fix backward compatibility issue for removed wildcard match rule
A template with type MATCH_MOBILE could have empty subscriber
IDs but it should not contain one of subscriber IDs is null.

An app might still build a template through the constructor
which is annotated with @UnsupportedAppUsage. NetworkTemplate
will throw an exception when the app trying to construct a
template with type *_WILDCARD. The constructor should be
backward compatible with old version so this change is to add
the backward compatibility to have NetworkTemplate not throw
an exception.

Bug: 267701889
Test: FrameworksNetTests
Change-Id: I23a607dae508e0c53520e2edf187cb611ed36b68
2023-02-21 14:07:15 +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 Fix backward compatibility issue for removed wildcard match rule 2023-02-21 14:07:15 +08:00
util Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
CaptivePortalDataTest.kt Do not verify field count in tests used in CTS 2022-01-18 16:55:32 +09: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 Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
LinkAddressTest.java Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
LinkPropertiesTest.java Moves all compatibility flags to ConnectivityCompatChanges.java 2023-02-09 19:51:37 +09:00
MatchAllNetworkSpecifierTest.kt Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
NattKeepalivePacketDataTest.kt Do not verify field count in tests used in CTS 2022-01-18 16:55:32 +09:00
NetworkAgentConfigTest.kt Rename getVpnRequiresValidation to isVpnValidationRequired 2022-03-02 01:02:45 +00:00
NetworkCapabilitiesTest.java Add logs for changes in capabilities and score 2022-10-14 14:32:38 +09:00
NetworkProviderTest.kt Remove usage of isDevSdkInRange 2022-07-22 11:14:31 +09:00
NetworkSpecifierTest.kt Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
NetworkStackTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
NetworkStateSnapshotTest.kt Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
NetworkTest.java Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
OemNetworkPreferencesTest.java Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
RouteInfoTest.java Mark connectivity module tests as such 2022-01-18 16:55:44 +09: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