android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN 18a979fa41 Remove ConnectivityServiceTest signature perms use
To allow unit tests to run without platform certificates, remove
signature permission usage in ConnectivityServiceTest.

This mocks permission checks done in ConnectivityService for which the
test assumed that the permission was held, and mocks calls to
BatteryStatsManager. Calls to ActivityManagerService (through
PendingIntent) are done with shell permissions as the test uses real
PendingIntent mechanics.

Bug: 187935317
Test: atest FrameworksNetTests
Change-Id: If309d653ac2e9bbcf1b94bcee6336367289df359
2021-06-16 16:32:03 +09:00
..
connectivity Merge "Revert "Use mockito-extended in FrameworksNetTests"" 2021-06-11 01:26:44 +00:00
net Remove ConnectivityServiceTest signature perms use 2021-06-16 16:32:03 +09:00
ConnectivityServiceTest.java Remove ConnectivityServiceTest signature perms use 2021-06-16 16:32:03 +09: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-08 03:08:54 +08:00