android_packages_modules_Co.../tests/unit/java/android/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 76a774c21a Add golden sample test for storing transport types kill switch support
This test uses a golden sample to verify that the file reading
results are as expected when the storing transport types feature
is either enabled or disabled. This is to ensure compatibility
when the feature is remotely disabled.

The golden sample is taken from a test device after manually
performing a file download.

Flag: EXEMPT test only
Test: atest ConnectivityCoverageTests:android.net.connectivity.android.net.NetworkStatsCollectionTest \
      --update-device
Test: Manually:
      1. adb shell device_config put tethering store_transport_types 1
      2. Download files
      3. adb shell dumpsys netstats --poll
      4. adb pull /data/misc/apexdata/com.android.tethering/netstats .
      5. Check-in the active netstats_uid* file.

Bug: 419123367
Change-Id: I266d07703f3ad47239d9c6721cdcd417ae4f179f
2025-06-12 13:31:38 +08:00
..
ipmemorystore Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
netstats Remove deprecated SC_V2 constant 2025-05-15 09:03:59 +09:00
nsd Add API for FLAG_SKIP_PROBING 2024-12-24 16:00:53 +09:00
util add TRANSPORT_SATELLITE to NetworkCapabilities 2024-02-07 16:07:39 +00:00
ConnectivityManagerTest.java Add CTS test for ConnectivityManager#tether exception after V 2025-02-07 12:42:12 +09:00
EthernetConfigurationTest.java Add EthernetConfiguration class 2025-04-24 13:26:06 +09:00
EthernetNetworkUpdateRequestTest.java Remove deprecated SC_V2 constant 2025-05-15 09:03:59 +09:00
EthernetPortInfoTest.java Add EthernetPortInfo class 2025-05-16 13:14:48 +09:00
IpMemoryStoreTest.java Add unit test to verify retrieving and storing the network events. 2024-09-03 15:56:59 +00: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 packages/modules/Connectivity: remove usages of deprecated Mockito matchers 2025-03-10 02:16:21 +01: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
MulticastRoutingConfigTest.kt Add equals, hashCode to MulticastRoutingConfig 2023-11-10 13:06:22 +08:00
NetworkCallbackFlagsTest.kt Only send callbacks when overridden 2024-06-26 12:39:47 +09:00
NetworkIdentitySetTest.kt Add kill switch for storing transport types 2025-06-10 17:57:11 +08:00
NetworkIdentityTest.kt Add NetworkCapabilities transport types into NetworkIdentity. 2025-05-24 00:30:41 +08:00
NetworkStackBpfNetMapsTest.kt Add firewall chains for HAPPY_BOX and user/admin PENALTY_BOX 2024-04-23 15:04:28 +09:00
NetworkStatsAccessTest.java Remove deprecated SC_V2 constant 2025-05-15 09:03:59 +09:00
NetworkStatsCollectionTest.java Add golden sample test for storing transport types kill switch support 2025-06-12 13:31:38 +08:00
NetworkStatsHistoryTest.java Disable flaky NetworkStatsHistoryTest#testFuzzing in presubmit 2023-10-16 17:21:06 +08:00
NetworkStatsRecorderTest.java Add kill switch for storing transport types 2025-06-10 17:57:11 +08:00
NetworkStatsTest.java Add a performance test for filteredClone. 2025-05-15 21:06:04 -07:00
NetworkTemplateTest.kt Add NetworkTemplate get/set transport type methods 2025-06-09 14:09:46 +08:00
NetworkUtilsTest.java NetworkUtilsTest.testSetSockOptBytes 2024-01-29 13:30:53 +08:00
QosSocketFilterTest.java Extend QosFilter address matching function 2025-05-08 22:37:32 -07: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
TrafficStatsTest.kt Unit test for TrafficStats Rate Limit Cache 2024-12-06 08:13:08 +00:00