android_packages_modules_Co.../tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN bba8ec0d43 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:ConnectivityServiceTest
Change-Id: I80c5cae5fcd3d40be55d1a79a93d614e665fbbf4
2021-06-08 19:12:13 +09:00
..
common [NS05] Feed network offer callbacks 2021-06-07 10:57:48 +00:00
cts Add CTS test for NetworkRequest.getCapabilities API 2021-06-03 10:25:57 +08:00
deflake Merge history of packages/Connectivity 2021-05-24 05:45:18 +00:00
integration [NS09] Implement the new ranking code 2021-06-07 11:00:46 +00:00
smoketest Merge history of packages/Connectivity 2021-05-24 05:45:18 +00:00
unit Remove ConnectivityServiceTest signature perms use 2021-06-08 19:12:13 +09:00
TEST_MAPPING Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00