diff options
| author | paulhu <paulhu@google.com> | 2022-04-06 10:15:54 +0800 |
|---|---|---|
| committer | paulhu <paulhu@google.com> | 2022-04-08 10:45:50 +0800 |
| commit | fd4deb3e9ee68824e1b3be3d6709d27d84b36e5b (patch) | |
| tree | fe7ea276d95ff29965241d5f0745ee572460905b /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | 09475308b7cc0730282d94c677146aa8e75bca0c (diff) | |
Move network permission cts tests to module
CtsNetTestCasesUpdateStatsPermission and
CtsNetTestCasesInternetPermission are used to verify
PermissionMonitor relevant permissions.
CtsNetTestCasesInternetPermission: One app does not have INTERNET
permission so it should not be able to create network socket.
CtsNetTestCasesUpdateStatsPermission: The other one specify the
UPDATE_DEVICE_STATS in the AndroidManifest file but it is not a
privileged app so it should not have UPDATE_DEVICE_STATS
permission granted.
Bug: 228253498
Test: atest CtsNetTestCasesUpdateStatsPermission \
CtsNetTestCasesInternetPermission
Original-Change: https://android-review.googlesource.com/926255
Merged-In: I380307fe0a5bc6aac6d9f836f03f0d043b99ccf5
Change-Id: I380307fe0a5bc6aac6d9f836f03f0d043b99ccf5
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
