android_packages_modules_Co.../tests/net/java
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lorenzo Colitti f61ca94e2c Allow ConnectivityServiceTest to change the calling UID.
Allow ConnectivityServiceTest to change the UID by replacing
static calls to Binder.getCallingUid() with a method that can
be mocked.

Add registerNetworkCallbackAsUid as an initial way to exercise
this, and add some test coverage to the always-on lockdown test
to confirm that things are working as expected.

Bug: 173331190
Test: new unit tests
Change-Id: Ie0b32460e20e5906a0f479191e11a062f21cc608
2020-12-15 21:10:36 +09:00
..
android Use API TcpKeepalivePacketData in ClientModeImpl 2020-12-14 18:43:53 +09:00
com/android Allow ConnectivityServiceTest to change the calling UID. 2020-12-15 21:10:36 +09:00