diff options
| author | Hungming Chen <nuccachen@google.com> | 2021-07-10 19:01:18 +0800 |
|---|---|---|
| committer | Hungming Chen <nuccachen@google.com> | 2021-07-11 15:05:39 +0800 |
| commit | 71b85591eab8cb4d2893aca5a54730b001bb478a (patch) | |
| tree | 73eb23ef6602e41b1fa55312203083d3d2d681ce /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | 378bdbc2ef1bb0e457a1086391fd249b1a0e8697 (diff) | |
[CTT-2] Clean up unused {function, exception} and improve readability
- Remove ipv4MappedAddressBytesToIpv4Address because it can be covered
by parseIPv4Address.
- Remove IllegalArgumentException from parseIPv4Address because it has
never happened
- Reverse the order of upstream and downstream timeout refreshing in
refreshAllConntrackTimeouts for readability because both source and
destination of the downstream are opposite direction to the
upstream.
Bug: 190783768
Bug: 192804833
Test: atest TetheringCoverageTests
Change-Id: I6a1e44777a4357dd3847c2e2bb1fc6c3cf01617c
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
