summaryrefslogtreecommitdiff
path: root/core/java/android/net/IEthernetManager.aidl
Commit message (Collapse)AuthorAgeFilesLines
* Move Ethernet related files to f/b/packages/ConnectivityT.Xiao Ma2021-12-161-39/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ethernet-service is going to be moved into Connectivity mainline module. Move all ethernet related files in f/b/ to f/b/packages/ConnectivityT so that it's easier to migrate these files to Connectivity module finally after clearing the hidden API usages. Below files to be moved: Ethernet framework related files: - EthernetManager.java - EthernetNetworkSpecifier.java - IEthernetManager.aidl - IEthernetServiceListener.aidl - ITetheredInterfaceCallback.aidl Ethernet service related files: - IpConfigStore.java(EthernetConfigStore has dependency on the class) For the ethernet-service related files, keep it as-is temproraliy and fix the hiden API dependencies in f/opt/net/ethernet/. After this work is done, then migrating the whole of ethernet folder to Connectivity module completely. This CL also fixes some minor errors of code style format to pass the code style check. Bug: 210586283 Test: build pass atest FrameworksNetTests atest EthernetServiceTests Change-Id: Ib359d29d5221105f648bc4194c6d6dbe4cc6e3e5
* Make Ethernet interfaces more testable.Lorenzo Colitti2020-03-191-0/+1
| | | | | | | | | | This CL adds a setIncludeTestInterfaces method to EthernetManager that, when called, causes the Ethernet service to recognize and manage test interfaces created by TestNetworkManager. Bug: 150644681 Test: Tested by EthernetTetheringTest in same topic Change-Id: I86eef7a93267f800dbfc8eafd307effa76a344ca
* Support putting one Ethernet interface in server mode.Lorenzo Colitti2020-01-281-0/+3
| | | | | | | | | | | | requestTetheredInterface can be used to put an interface in server mode, which will persist until release() is called on the returned request, or until the requesting process dies. Test: Enabled ethernet tethering with change on top Bug: 130840861 Merged-In: Id96d581acb3fa4e52ca62dd94ec257f56bd3a1ce Change-Id: Id96d581acb3fa4e52ca62dd94ec257f56bd3a1ce (clean cherry-pick from internal branch)
* Enable multiple active Ethernet interfacesPavel Maltsev2018-01-291-3/+4
| | | | | | | | | | | | | | - add Ethernet interface configurations to config.xml; no vendors can specify network capabilities (in particular they can mark network as restricted which make sense for embedded applications + static IP configuration) - extend EthernetManager to support multiple interfaces, use interface name as an identificator - extend IpConfigStore to store IP configuration based on string identifier (e.g. ethernet name) Test: runtest -x frameworks/base/services/tests/servicestests/ -c com.android.server.net.IpConfigStoreTest Change-Id: Ic1e70003f2380ca8edb4469d6b34e27c5e8cf059
* Add an API to check availability of Ethernet interface.Jaewan Kim2014-11-201-0/+4
| | | | | Bug: 18045481 Change-Id: I95358241b431cfe4435ce70c23c9a639b9dc4d58
* Add an EthernetManager.Lorenzo Colitti2014-05-211-0/+30
The implementation will live in frameworks/opt/net/ethernet. Bug: 7606609 Bug: 8687763 Bug: 14993642 Bug: 14981801 Change-Id: Ic771e268b0c78f0fc32f46af6fe0dd7c634a426e