android_packages_modules_Co.../tests/common/java/android/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi ab1a0671c7 Stop throwing when the invalid capability is passed
When new capability is introduced and added to capaility or
forbiddenCapability by default, module rollback could cause system
server crash since JobScheduler persists network request that contains
new capability that is invalid for old code.
This CL updates capability validation not to throw exception to avoid
system crash in this case.

Bug: 343823469
Bug: 313030307
Test: NetworkCapabilitiesTest
Change-Id: I5708c475f3b4974284531212b77f9788ca9f497e
2024-06-05 11:57:18 +09: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 Allow to query NetworkStats for TYPE_PROXY 2023-11-16 13:43:00 +00: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 Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00: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