android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Hu dca7230c1d 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>
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1733212
Merged-In: Ib8ea2185d8056bddb2ca5a8006f83afb3cffc9f4

Change-Id: Ib8ea2185d8056bddb2ca5a8006f83afb3cffc9f4
2021-06-29 16:07:54 +08:00
..
connectivity Use appId instead of uid 2021-06-29 16:07:54 +08:00
net Remove ConnectivityServiceTest signature perms use 2021-06-23 08:39:38 +00:00
ConnectivityServiceTest.java Provide a way to override the avoid bad wifi configuration 2021-06-23 08:42:47 +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 Modify NsdServiceTest to conform to its new mechanism 2021-06-14 06:53:51 +00:00