android_packages_modules_Co.../tests/net/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lorenzo Colitti 3581b34f69 Simplify MockVpn.
This CL removes four methods in MockVpn by slightly changing the
test code to leverage the actual methods implemented by the
(production) Vpn superclass.

This works because setting mInterface results in
isRunningLocked() returning true, which makes a number of methods
behave as if the VPN is connected (which is what the test
expects).

The more realistic behaviour exposes a minor bug in the treatment
of underlying networks. Add a TODO to fix it.

Bug: 173331190
Test: test-only change
Change-Id: I49421183538ba61ca790af71e309ece36b653bf9
2020-11-19 14:53:53 +09:00
..
connectivity Merge "Replace Context @hide APIs" 2020-11-05 08:05:09 +00:00
net Add hardware tethering traffic in testTethering test 2020-11-12 14:22:31 +08:00
ConnectivityServiceTest.java Simplify MockVpn. 2020-11-19 14:53:53 +09:00
IpSecServiceParameterizedTest.java Add tests for Tunnel, Transport mode application with released SPIs 2020-05-08 00:01:59 -07:00
IpSecServiceRefcountedResourceTest.java Automatically set IPsec tunnel interface as up 2020-03-25 06:14:13 +00:00
IpSecServiceTest.java Automatically set IPsec tunnel interface as up 2020-03-25 06:14:13 +00:00
LegacyTypeTrackerTest.kt Suppress deprecation warnings in LegacyTypeTrackerTest. 2020-05-20 20:53:16 +09:00
NetIdManagerTest.kt Move utils from network stack to libs. 2020-07-29 21:15:48 +09:00
NetworkManagementServiceTest.java Cleanup NetworkManagementService for Netd commnads binder migrartion 2019-03-20 20:02:24 +08:00
NsdServiceTest.java Migrate frameworks/base/tests/net/ to androidx.test 2019-03-05 09:05:47 -08:00