summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/KeepalivePacketDataUtilTest.java
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2021-06-04 15:57:37 +0900
committerRemi NGUYEN VAN <reminv@google.com>2021-06-08 19:12:13 +0900
commitbba8ec0d43ff4c9219f259bdfe1cc4f05faa609b (patch)
treeeb2c9d71f1071acfba3e7dd74d6fdca172d083fd /tests/unit/java/android/net/KeepalivePacketDataUtilTest.java
parent98b76cc2ec58396c804a4e4f658c915b3c80c138 (diff)
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
Diffstat (limited to 'tests/unit/java/android/net/KeepalivePacketDataUtilTest.java')
0 files changed, 0 insertions, 0 deletions