android_packages_modules_Co.../tests/net/java/android/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lorenzo Colitti 60104f59a0 Add onBlockedStatusChanged(Network, int) to NetworkCallback.
This is similar to onBlockedStatusChanged(Network, boolean) but
it allows the callback holder to know the exact reason why
networking was blocked. It is useful to privileged system
components such as JobScheduler that are able to ignore some
blocked reasons but not others.

Also add a new BLOCKED_REASON_LOCKDOWN_VPN that is used when
networking is blocked because an always-on VPN is in
lockdown mode.

Also move BLOCKED_METERED_REASON_MASK to ConnectivityManager.
This is necessary because ConnectivityService must ensure that
the blocked status callbacks are correctly sent when meteredness
changes (e.g., a UID that is blocked on metered networks will
become unblocked on a network that becomes unmetered). In order
to do this it needs to know which reasons apply only on metered
networks.

Bug: 165835257
Test: unit tests in subsequent CLs in the stack
Change-Id: I647db4f5a01280be220288e73ffa85c15bec9370
2021-03-26 02:37:19 +09:00
..
ipmemorystore Add jarjar rule for IPv6ProvisioningLossQuirk. 2020-10-27 08:04:29 +00:00
nsd Rename Kotlin util files to not include the Kt suffix 2020-08-12 10:02:50 +09:00
util Migrate framework-connectivity internal resources 2021-03-20 22:35:16 +09:00
ConnectivityDiagnosticsManagerTest.java Rename Kotlin util files to not include the Kt suffix 2020-08-12 10:02:50 +09:00
ConnectivityManagerTest.java Add onBlockedStatusChanged(Network, int) to NetworkCallback. 2021-03-26 02:37:19 +09:00
Ikev2VpnProfileTest.java Update frameworks to use unbundled version of BouncyCastle. 2021-01-28 07:51:22 +00:00
IpMemoryStoreTest.java Adjust tests for renaming groupHint to cluster. 2020-05-29 02:28:59 +00:00
IpSecAlgorithmTest.java Support new IpSecAlgorithm AUTH_AES_CMAC 2021-02-25 10:35:10 -08:00
IpSecConfigTest.java Rename Kotlin util files to not include the Kt suffix 2020-08-12 10:02:50 +09:00
IpSecManagerTest.java Migrate frameworks/base/tests/net/ to androidx.test 2019-03-05 09:05:47 -08:00
IpSecTransformTest.java Factorize custom asserts. 2019-06-20 16:24:25 +09:00
KeepalivePacketDataUtilTest.java Use API TcpKeepalivePacketData in ClientModeImpl 2020-12-14 18:43:53 +09:00
MacAddressTest.java Move module utils to the module package. 2020-12-16 11:44:22 +09:00
NetworkIdentityTest.kt Update tests for PANS network usage metrics 2021-02-23 22:16:19 -08:00
NetworkStatsHistoryTest.java Migrate frameworks/base/tests/net/ to androidx.test 2019-03-05 09:05:47 -08:00
NetworkStatsTest.java NetworkStats: apply464xlatAdjustments - remove useBpfStats parameter. 2020-05-28 02:44:10 -07:00
NetworkTemplateTest.kt [FUI09] Expose NetworkStateSnapshot as system API 2021-03-02 23:09:16 +08:00
NetworkUtilsTest.java Split NetworkUtils and NetworkUtilsInternal 2020-12-07 19:41:49 +09:00
QosSocketFilterTest.java Add method to match address \ port with QosFilter 2021-01-22 06:24:41 -08:00
TelephonyNetworkSpecifierTest.java Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) 2020-08-31 21:21:38 -07:00
VpnManagerTest.java Move VPN code from ConnectivityService to VpnManagerService. 2021-02-12 01:12:24 +09:00
VpnTransportInfoTest.java Add a VpnManager.TYPE_VPN_OEM. 2021-03-18 05:54:53 +00:00