android_packages_modules_Co.../framework/api
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN ea33ac97f6 Add Ethernet, TestNetworkSpecifier API
Rename StringNetworkSpecifier to EthernetNetworkSpecifier (its only
production user), and make it module-lib API.
The original StringNetworkSpecifier file is actually kept to satisfy
some invalid dependencies; it will be removed separately.

This allows specifying an Ethernet interface with a non-deprecated API:
until this change the only way to do so would be to use
NetworkRequest#setSpecifier(String), which is deprecated.

Similarly, add the TestNetworkSpecifier API for TestNetworkManager, to
replace previous usage of StringNetworkSpecifier. TestNetworkManager is
module API, so TestNetworkSpecifier should be module API too. This
allows tests to request the test interface specifically, without using
the deprecated NetworkRequest#setSpecifier(String).

Bug: 179329291
Test: m
Merged-In: Iee569f5c8bbdc4bc979610e1191308281f3d4620

Change-Id: Iee569f5c8bbdc4bc979610e1191308281f3d4620
2021-03-11 23:02:02 +08:00
..
current.txt APIs for 5G slicing 2021-03-03 14:16:21 +09:00
lint-baseline.txt Split out the connectivity API surface 2021-02-26 19:23:25 +09:00
module-lib-current.txt Add Ethernet, TestNetworkSpecifier API 2021-03-11 23:02:02 +08:00
module-lib-removed.txt Split out the connectivity API surface 2021-02-26 19:23:25 +09:00
removed.txt Split out the connectivity API surface 2021-02-26 19:23:25 +09:00
system-current.txt Move OemNetworkPreferences to Connectivity 2021-03-08 09:26:41 +09:00
system-lint-baseline.txt Split out the connectivity API surface 2021-02-26 19:23:25 +09:00
system-removed.txt Split out the connectivity API surface 2021-02-26 19:23:25 +09:00