android_packages_modules_Co.../tests/unit/java/android/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai e003152e2c [BR02] Implement isUidNetworkingBlocked
This is needed for data stall detection mechanism in NetworkStack
to get the information about whether the network is blocked for
a given uid and conditions. Because the API will be called
frequently from NetworkStack to resolve all status for all uids
on the device, the API cannot call into the service which
creates IPC. Instead, the API need to directly access bpf maps
in the user process to retrieve the status. In this case the
user process is the network stack, the access control is provided
by linux file permission and selinux.

Test: atest FrameworksNetTests:android.net.connectivity.android.net.BpfNetMapsReaderTest
Test: atest FrameworksNetTests:android.net.connectivity.android.net.ConnectivityManagerTest
NO_IFTTT=Refactor only change for firewall chains definitions
Bug: 297836825

Change-Id: Iaf983b71ec98cbfe5152dcfade8a3120f938f135
2023-10-31 16:33:41 +08:00
..
ipmemorystore Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
netstats Don't clobber existing history entries. 2022-05-24 11:37:42 +08:00
nsd Merge "Move NsdServiceInfoTest to common tests" 2023-07-03 06:24:43 +00:00
util Move ConnectivityResources to service-connectivity 2023-04-28 19:18:39 +09:00
BpfNetMapsReaderTest.kt [BR02] Implement isUidNetworkingBlocked 2023-10-31 16:33:41 +08:00
ConnectivityManagerTest.java Increased the timeout from 5 to 30 seconds 2022-12-06 06:51:03 +00:00
EthernetNetworkUpdateRequestTest.java Add test for nullable IpConfiguration 2022-03-16 20:29:10 +01:00
Ikev2VpnProfileTest.java Add unit tests for new VpnProfile fields 2023-02-15 15:01:28 +00:00
IpMemoryStoreTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
IpSecAlgorithmTest.java ipsec - use ro.vendor.api_level instead of ro.product.first_api_level 2022-11-09 00:47:13 +00:00
IpSecConfigTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
IpSecManagerTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
IpSecTransformTest.java Expose APIs to migrate IpSecTransform 2023-01-10 19:09:05 +00:00
KeepalivePacketDataUtilTest.java Remove toString test. 2023-06-01 21:34:50 +00:00
MacAddressTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
NetworkIdentitySetTest.kt Fix NullPointerException happens in dumpCheckin 2022-04-19 17:49:30 +08:00
NetworkIdentityTest.kt Revert consider TEMPORARILY_NOT_METERED as unmetered in data usage 2022-12-02 16:04:55 +08:00
NetworkStatsAccessTest.java Check MAINLINE_NETWORK_STACK as well to make GTS can access proper stats 2023-04-11 14:56:15 +08:00
NetworkStatsCollectionTest.java Cleanup constructor of NetworkStats#Entry 2022-08-02 22:49:16 +08:00
NetworkStatsHistoryTest.java Disable flaky NetworkStatsHistoryTest#testFuzzing in presubmit 2023-10-16 17:21:06 +08:00
NetworkStatsRecorderTest.java Add wipeOnError flag to NetworkStatsRecorder 2022-06-22 17:37:51 +08:00
NetworkStatsTest.java Address review followup comments for NetworkStats 2023-09-04 18:01:14 +08:00
NetworkTemplateTest.kt Add some tests back which were removed for fixing kotlin nullable errors 2023-08-24 11:25:21 +09:00
NetworkUtilsTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
QosSocketFilterTest.java Support QosCallback with UDP socket. UnitTest 2022-05-05 08:45:00 +00:00
QosSocketInfoTest.java Support QosCallback with UDP socket. UnitTest 2022-05-05 08:45:00 +00:00
TelephonyNetworkSpecifierTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
VpnManagerTest.java Disable the remaining VPN CTS tests on watches. 2023-10-02 06:29:46 +00:00