android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lorenzo Colitti 1727d9f1f2 Don't throw in FullScore#policyNameOf.
This code is correct on userdebug builds, but it is dangerous on
user builds because proguard might strip out the POLICY_*
constants and that would lead to crashes.

For now just log a wtf if an invalid policy name is found. A
better solution would be to make MessageUtils robust to this
problem, e.g., by having it store the SparseArray internally and
providing getters that do not throw, instead of the current
behaviour that returns the SparseArray. That is left to a future
CL.

Fix: 227161413
Test: atest FullScoreTest
Change-Id: I68b69ee9dd84773018e62c9a8f43e754ae04c486
2022-03-29 08:38:06 +00:00
..
connectivity Don't throw in FullScore#policyNameOf. 2022-03-29 08:38:06 +00:00
net Rename setUidForeground to noteUidForeground 2022-03-10 18:33:50 +08:00
BpfNetMapsTest.java Merge "Remove ConnectivityManager swapActiveStatsMap API" 2022-03-08 06:31:23 +00:00
ConnectivityServiceTest.java Allow sending of Administrator UIDs for *NETWORK_STACK 2022-03-18 21:52:57 +00:00
IpSecServiceParameterizedTest.java Add makeDependencies method in IpSecService related tests 2021-12-10 12:11:20 +00:00
IpSecServiceRefcountedResourceTest.java Change to use Dependencies in IpSecService Tests 2021-11-27 00:27:33 +08:00
IpSecServiceTest.java Add makeDependencies method in IpSecService related tests 2021-12-10 12:11:20 +00:00
LegacyTypeTrackerTest.kt Build ethernet framework source into framework-connectivity-tiramisu 2022-03-14 14:06:35 +00:00
NetIdManagerTest.kt Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NetworkManagementServiceTest.java Split updateMeteredNetwork{Allow, Deny}List into add and remove 2022-03-09 11:17:27 +08:00
NsdServiceTest.java Add APIs for discover/resolve on specific networks 2022-02-03 16:05:02 +09:00