junyulai
62d35f7e59
[FUI04] Refactor VpnInfo
...
As a preparation of exposing system API. This patch does some
harmless refactoring, which includes:
1. Change raw arrays into lists according to API guidelines.
2. Write test.
3. Rename class to UnderlyingNetworkInfo.
4. Rename vpnIface to iface.
5. Make underlyingIfaces @NonNull in order to adapt new
unparceling code.
6. implement equals and hashCode for testing.
Test: atest android.net.UnderlyingNetworkInfoTest
Bug: 174123988
Change-Id: I405c21e57c4af8a12a9dd0a1749b9e6690f87045
2021-01-29 17:44:32 +08:00
..
apf
Rename Kotlin util files to not include the Kt suffix
2020-08-12 10:02:50 +09:00
metrics
Factorize custom asserts.
2019-06-20 16:24:25 +09:00
netstats
Fix NetworkStatsApiTest failed on Q device
2020-04-07 15:07:16 +08:00
util
Add CTS for SocketUtils.makePacketSocketAddress(int, int, byte[])
2020-03-11 15:20:26 +08:00
CaptivePortalDataTest.kt
Fix CaptivePortalDataTest#testParcelUnparcel on R
2021-01-19 02:33:09 +00:00
CaptivePortalTest.java
Ignore testReevaluateNetwork until Q
2020-03-06 18:21:45 +09:00
DependenciesTest.java
Add trivial dependencies tests for the network stack
2020-04-07 14:42:00 +09:00
DhcpInfoTest.java
Rename Kotlin util files to not include the Kt suffix
2020-08-12 10:02:50 +09:00
IpPrefixTest.java
Rename Kotlin util files to not include the Kt suffix
2020-08-12 10:02:50 +09:00
KeepalivePacketDataTest.kt
Add KeepalivePacketDataTest
2020-03-17 14:24:50 +08:00
LinkAddressTest.java
[Mainline Migration] Migrate NetworkUtils
2020-12-06 22:33:04 -08:00
LinkPropertiesTest.java
Address comments on aosp/1448415
2020-10-21 13:54:02 +09:00
MatchAllNetworkSpecifierTest.kt
Ignore verifying canBeSatisfiedBy() on Android Q
2020-11-23 23:40:23 +08:00
NattKeepalivePacketDataTest.kt
Add NattKeepalivePacketDataTest
2020-03-17 15:48:02 +08:00
NetworkAgentConfigTest.kt
Update extra info before registering
2020-06-03 13:01:01 +08:00
NetworkCapabilitiesTest.java
NetworkCapabilities: Embed location senstive TransportInfo
2021-01-13 02:25:49 +00:00
NetworkProviderTest.kt
Fix testDeclareNetworkRequestUnfulfillable on R
2020-12-09 11:35:58 +09:00
NetworkSpecifierTest.kt
Add test for NetworkSpecifier
2020-04-23 18:03:16 +08:00
NetworkTest.java
Factorize custom asserts.
2019-06-20 16:24:25 +09:00
OemNetworkPreferencesTest.java
Run OemNetworkPreferencesTest with DevSdkIgnoreRunner
2020-11-30 01:42:24 +00:00
RouteInfoTest.java
Rename Kotlin util files to not include the Kt suffix
2020-08-12 10:02:50 +09:00
StaticIpConfigurationTest.java
Factorize custom asserts.
2019-06-20 16:24:25 +09:00
TcpKeepalivePacketDataTest.kt
Add TcpKeepalivePacketData to SystemApi
2020-12-14 18:43:44 +09:00
UnderlyingNetworkInfoTest.kt
[FUI04] Refactor VpnInfo
2021-01-29 17:44:32 +08:00