android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
lucaslin 24e83ac4e1 Clean up VpnTest
- Reset any permissions to PERMISSION_DENIED in tearDown().
- Check there is only one category will be sent when VpnManager
  event is sent.
- Remove SDK check since VpnTest is non-connectivity-module-test
  now, which will not be run on mainline-prod target when running
  TH.
- Have two new methods for verifying ALWAYS_ON_STATE_CHANGED
  event and DEACTIVATED_BY_USER event, the new methods make the
  code clearer and more easy to read.
- Check if the target package of receiving VpnManager event is
  expected or not.
- Import recent ConstantsShim instead of a specific API version.

Bug: 236409954
Test: atest FrameworksNetTests:VpnTest
Change-Id: Ibe5d549f86d11d32e2f0ae63eab1d80ee8800e0d
2022-09-05 18:32:04 +08:00
..
connectivity Clean up VpnTest 2022-09-05 18:32:04 +08:00
ethernet Convert EthTrackTest from when() to doReturn() 2022-09-01 18:02:12 +09:00
net [ST01] Attributes data usage of test network by specifier 2022-08-29 13:55:08 +08:00
BpfNetMapsTest.java Use IBpfMap type instead of BpfMap type 2022-08-24 23:31:19 +09:00
ConnectivityServiceTest.java Clean up VpnTest 2022-09-05 18:32:04 +08:00
IpSecServiceParameterizedTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
IpSecServiceRefcountedResourceTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
IpSecServiceTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
LegacyTypeTrackerTest.kt Build ethernet framework source into framework-connectivity-tiramisu 2022-03-14 14:06:35 +00:00
NetIdManagerTest.kt Address comments on aosp/1781202 2022-08-17 07:11:55 +00:00
NetworkManagementServiceTest.java Split updateMeteredNetwork{Allow, Deny}List into add and remove 2022-03-09 11:17:27 +08:00
NsdServiceTest.java Add null check for clientInfo 2022-08-16 07:21:55 +00:00
VpnManagerServiceTest.java Verify lock down related flows 2022-08-05 02:00:16 +00:00
VpnTestBase.java Test VPN app exclusion 2022-06-29 06:15:41 +00:00