android_packages_modules_Co.../tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi 9a9c11e33e Remove getVpnLockdownUidRanges test api
getVpnLockdownUidRanges acquire lock and access internal state of a
Handler-based class (PermissionMonitor), which is bad practice in
general.

getVpnLockdownUidRanges returns keySet of mVpnLockdownUidRanges.
PermissionMonitor call updateUidLockdownRule and update the bpf map
based on mVpnLockdownUidRanges.
PermissionMonitorTest verifies the args of updateUidLockdownRule call.

So, It's not necessary to verify the mVpnLockdownUidRanges which
is internal states of PermissionMonitor.

Test: atest PermissionMonitorTest
Bug: 262199762
Change-Id: I85b39ab2aff44dcbe809b39560d6bb87fbb0c084
2023-01-30 17:41:39 +09:00
..
java Remove getVpnLockdownUidRanges test api 2023-01-30 17:41:39 +09:00
jni remove unneeded inclusions of libbpf_android 2022-02-09 22:10:22 -08:00
res/raw Refactor NetworkStatsFactoryTest 2022-07-29 15:46:18 +08:00
Android.bp Move mDNS code to service-connectivity-t 2023-01-13 16:42:48 +08:00
AndroidManifest.xml Wait for launcher is shown after calling pressHome 2022-11-21 10:47:58 +00:00
AndroidTest.xml [SettingsProvider] fix connectivity test 2022-04-20 09:29:40 -07:00
jarjar-rules.txt Add jarjar rule for com.android.testutils.TestBpfMap 2022-02-03 22:53:07 +01:00
vpn-jarjar-rules.txt Remove unused service and test dependencies 2021-11-19 21:14:39 +09:00