android_packages_modules_Co.../staticlibs/tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 9f6a566d89 Refactor: Add RestoreEthernetRule for ethernet tests
This is a no-op, test only refactoring.
Move ethernet state management logic from EthernetManagerTest into a
dedicated JUnit test rule, RestoreEthernetRule. This new rule is
responsible for saving the initial ethernet state, allowing tests to
enable or disable it, and restoring the original state upon test
completion.  This refactoring simplifies EthernetManagerTest and
promotes code reuse.

Flag: EXEMPT EXEMPT test only refacotring
Test: atest NetworkStaticLibTests:com.android.testutils.RestoreEthernetRuleTest \
      CtsNetTestCases:android.net.cts.EthernetManagerTest --update-device
Bug: 410731080
Change-Id: If3dd869d6af4e0c659386621fb5d92012aa574d1
2025-07-10 15:25:15 +08:00
..
host/python Format multidevice tests with pyformat 2025-06-04 14:27:06 +00:00
jni Rename net_utils_device_common_timerfdjni to serviceconnectivityjni 2025-01-16 14:28:13 -08:00
src/com/android Refactor: Add RestoreEthernetRule for ethernet tests 2025-07-10 15:25:15 +08:00
Android.bp Refactor: Add RestoreEthernetRule for ethernet tests 2025-07-10 15:25:15 +08:00
AndroidManifest.xml Split NetworkStackUtils to frameworks/libs/net 2020-12-25 16:23:25 +09:00
jarjar-rules.txt Move jarjar rules from NetworkStaticTestsLib to NetworkStaticTests 2020-10-26 09:52:13 +00:00