Commit graph android_packages_modules_Co.../tests/unit/java/android/net/EthernetConfigurationTest.java
Message SHA1
Add methods to get metered override and persistence config in string
This patch adds methods to get metered override and persistence config
in human readable string in EthernetConfiguration.
This allows more informative logging.

Bug: 397536853
Test: atest ConnectivityCoverageTests
Flag: EXEMPT mainline
Change-Id: Ia5a2f4b9f624bfc1c96b197533426925dacfa554

Chuwei He   commited 2025-07-02 19:41:42 -07:00
afc612e02e
Add metered overrride config to EthernetConfiguration
This patch metered override config to EthernetConfiguration.
This config indicates the static configuration of metered override.

Bug: 397536853
Test: atest ConnectivityCoverageTests
Flag: EXEMPT mainline

Change-Id: I37303bbb5a6803254e149bb374703e6a2e66c062

Chuwei He   commited 2025-07-02 18:12:33 -07:00
1939c90a98
Add persisted logic to EthernetConfiguration
This patch added persisted logic to EthernetConfiguration, which allows
ethernet configuration to be set to be persistent across boot or not.

Bug: 397536853
Test: atest ConnectivityCoverageTests
Flag: EXEMPT mainline
Change-Id: I6e96dec0f802cf1a58e61bffb6c1dac34a0a91a5

Chuwei He   commited 2025-06-25 23:25:37 -07:00
7e60f9a82f
Add EthernetConfiguration class
This patch adds EthernetConfiguration class which represents a
static configuration and network capabilities of a configured ethernet
network interface.
EthernetConfiguration is used ONLY internally to store and track
ethernet configurations, and serves different functionality as
EthernetNetworkUpdateRequest.

Bug: 397536853
Test: atest ConnectivityCoverageTests
Flag: EXEMPT mainline
Change-Id: Ib175347096db25b9f2180a2e526746f1f3cf6ceb

Chuwei He   commited 2025-04-24 13:26:06 +09:00
e0e89ef66f