android_packages_modules_Co.../tests
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
..
common Remove *_WILDCARD constants from NetworkTemplate 2022-12-28 18:49:37 +08:00
cts Merge "Make mutable implicit PendingIntent explicit for security reasons" 2023-01-26 12:18:11 +00:00
deflake DO NOT MERGE: Disable FrameworksNetTests 2021-10-04 18:59:14 +08:00
integration Add a device config for actively preferring bad wifi 2022-10-03 11:53:58 +09:00
mts bpf_existence_test - add U support 2022-12-18 12:58:36 +00:00
native wire bpf_base_test into netd_updatable_unit_test 2022-12-20 00:41:05 +00:00
smoketest Workaround prebuilt name conflict for service-connectivity 2022-05-26 09:37:05 +00:00
unit Remove getVpnLockdownUidRanges test api 2023-01-30 17:41:39 +09:00