Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 11219dd0 authored by markchien's avatar markchien
Browse files

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
Merged-In: Ic38852839ead951972daa24f27ac95376787a72c
parent 48bd1067
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment