android_packages_modules_Co.../tests/net/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lorenzo Colitti f61ca94e2c Allow ConnectivityServiceTest to change the calling UID.
Allow ConnectivityServiceTest to change the UID by replacing
static calls to Binder.getCallingUid() with a method that can
be mocked.

Add registerNetworkCallbackAsUid as an initial way to exercise
this, and add some test coverage to the always-on lockdown test
to confirm that things are working as expected.

Bug: 173331190
Test: new unit tests
Change-Id: Ie0b32460e20e5906a0f479191e11a062f21cc608
2020-12-15 21:10:36 +09:00
..
connectivity Add tests for always-on VPN lockdown mode. 2020-12-15 21:08:20 +09:00
net Add hardware tethering traffic in testTethering test 2020-11-12 14:22:31 +08:00
ConnectivityServiceTest.java Allow ConnectivityServiceTest to change the calling UID. 2020-12-15 21:10:36 +09:00
IpSecServiceParameterizedTest.java [Mainline Migration] Migrate NetworkUtils 2020-12-06 22:33:04 -08: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 Add Restricted Mode Firewall Chain 2020-11-30 18:36:02 +01:00
NsdServiceTest.java Migrate frameworks/base/tests/net/ to androidx.test 2019-03-05 09:05:47 -08:00