android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sangcheol Lee 1e5d742596 Use appId instead of uid
Multiple user's ares of mApps are not initialized in startMonitoring(),
so mApps.get(uid) of multi-user's app returns null in onPackageAdded().
As the result, permission of system uid is updated to "Network" and
any system application cannot use dedicated apn like IMS.
Using appId avoids this problem.

Bug: 168932048
Test: atest FrameworksNetTests

Signed-off-by: Sangcheol Lee <goodsc.lee@samsung.com>
Change-Id: Ib8ea2185d8056bddb2ca5a8006f83afb3cffc9f4
2021-06-17 13:35:58 +09:00
..
connectivity Use appId instead of uid 2021-06-17 13:35:58 +09:00
net Use mockito-extended in FrameworksNetTests 2021-06-08 19:12:09 +09:00
ConnectivityServiceTest.java Merge "Remove ConnectivityServiceTest signature perms use" 2021-06-09 08:39:33 +00:00
IpSecServiceParameterizedTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
IpSecServiceRefcountedResourceTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
IpSecServiceTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
LegacyTypeTrackerTest.kt Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
NetIdManagerTest.kt Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
NetworkManagementServiceTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
NsdServiceTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00