summaryrefslogtreecommitdiff
path: root/src/android/net/util/NetworkStackUtils.java
diff options
context:
space:
mode:
authormarkchien <markchien@google.com>2020-05-19 18:58:36 +0800
committerMark Chien <markchien@google.com>2020-05-25 06:00:43 +0000
commitfa4549b74ab185fa223a859c55972a1b78c18a97 (patch)
treed2d2980722ec00c0b8e46cb3aad77d73fbd45b18 /src/android/net/util/NetworkStackUtils.java
parent1f20cb6617d30e0f6a788a29ba1827881c09b3b8 (diff)
Avoid rely on NETWORK_STACK permission for InetDiagSocketTest
ConnectivityManager#getConnectionOwnerUid required NETWORK_STACK permission. Move related tests from InetDiagSocketTest(unit test) to InetDiagSocketIntegrationTest. The test is an integration test and not a unit test, as its purpose is to exercise the getConnectionOwnerUid platform API. Since network stack unit test is shared with TetheringCoverageTests, this is part of work to avoid rely on platform cert for TetheringCoverageTests. Bug: 156866746 Test: TetheringCoverageTest, NetworkStackNextTests, NetworkStackCoverageTests Change-Id: Ic38852839ead951972daa24f27ac95376787a72c
Diffstat (limited to 'src/android/net/util/NetworkStackUtils.java')
0 files changed, 0 insertions, 0 deletions