android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
paulhu 7b073ebc7a Ensure calling package name and uid are matched
CS#requestRouteToHostAddress enforcing change permission doesn't
check whether the calling package belongs to calling uid. This
can be used to check whether package name exists or not without
permission. Thus, add a check to ensure calling package name and
uid are matched.

Bug: 193801134
Test: atest FrameworksNetTests CtsNetTestCases
Ignore-AOSP-First: Security fix
Merged-In: I980f1c68b5321601aa40da29e283fb4dd717d5de
Change-Id: I980f1c68b5321601aa40da29e283fb4dd717d5de
(cherry picked from commit b2c286816d, ag/15618365)
2021-10-05 02:04:52 +00:00
..
connectivity Adjust some behaviors on PermissionMonitorTest 2021-09-07 09:46:23 +08:00
net Remove ForceAllNetworkTypes from test 2021-09-11 10:45:16 +08:00
ConnectivityServiceTest.java Ensure calling package name and uid are matched 2021-10-05 02:04:52 +00:00
IpSecServiceParameterizedTest.java Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
IpSecServiceRefcountedResourceTest.java Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
IpSecServiceTest.java Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
LegacyTypeTrackerTest.kt Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NetIdManagerTest.kt Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NetworkManagementServiceTest.java Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NsdServiceTest.java Modify Nsd{Service,Manager}Test to conform to its change 2021-09-13 10:18:04 +09:00