diff --git a/tests/cts/net/src/android/net/cts/NetworkAgentTest.kt b/tests/cts/net/src/android/net/cts/NetworkAgentTest.kt index c7d65555e3..fe2f813882 100644 --- a/tests/cts/net/src/android/net/cts/NetworkAgentTest.kt +++ b/tests/cts/net/src/android/net/cts/NetworkAgentTest.kt @@ -774,11 +774,13 @@ class NetworkAgentTest { // Cell and WiFi are allowed to set UIDs, but not Bluetooth or agents with multiple // transports. - doTestAllowedUids(defaultSubId, TRANSPORT_CELLULAR, uid, expectUidsPresent = true) + // TODO(b/315136340): Allow ownerUid to see allowedUids and enable below test case + // doTestAllowedUids(defaultSubId, TRANSPORT_CELLULAR, uid, expectUidsPresent = true) if (SdkLevel.isAtLeastV()) { // Cannot be tested before V because WifiInfo.Builder#setSubscriptionId doesn't // exist - doTestAllowedUids(defaultSubId, TRANSPORT_WIFI, uid, expectUidsPresent = true) + // TODO(b/315136340): Allow ownerUid to see allowedUids and enable below test case + // doTestAllowedUids(defaultSubId, TRANSPORT_WIFI, uid, expectUidsPresent = true) } doTestAllowedUids(defaultSubId, TRANSPORT_BLUETOOTH, uid, expectUidsPresent = false) doTestAllowedUids(defaultSubId, intArrayOf(TRANSPORT_CELLULAR, TRANSPORT_WIFI), uid,