Add more powerful CTS for allowedUids

This tests that the network providers are subject to appropriate
limitations as to what they can set as allowedUids – both in the
positive (can do) case, and the negative (can't do) case.

Test: this
Change-Id: I115e2a4bc02ddcd03ecf2f35130fcb0378da22bd
This commit is contained in:
Chalard Jean
2022-11-24 17:13:44 +09:00
parent cc2e72735d
commit 5301778ad8
12 changed files with 460 additions and 46 deletions

View File

@@ -17386,6 +17386,7 @@ public class ConnectivityServiceTest {
mCm.requestNetwork(new NetworkRequest.Builder()
.clearCapabilities()
.addTransportType(TRANSPORT_TEST)
.addTransportType(TRANSPORT_CELLULAR)
.build(),
cb);