No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr daca9ca74f Move EthernetNetworkFactory to using the NetworkProvider API
This CL makes EthernetNetworkFactory inherit from NetworkProvider rather
than NetworkFactory. The name of the class is purposefully unchanged to
make the code review easier (it will be changed to
EthernetNetworkProvider in a follow up).

As part of the conversion, NetworkInterfaceState now registers a
NetworkOffer when the link comes up and unregisters it when the link
goes down. It updates the existing offer when capabilities change (by
calling registerNetworkOffer with an already registered
NetworkOfferCallback).

This change should fix existing refCount issues. When a NetworkOffer is
first registered, it receives callbacks for all existing requests. This
is the main problem with the NetworkFactory implementation where only
one NetworkOffer is registered when the factory is first created; so
when interfaces come up, they do not receive callbacks for existing
requests.

Test: atest EthernetNetworkTest
Bug: 197548738
Change-Id: I5e8e4673d2ed04bc1a0c8d232a8772edfff65b5d
2022-05-23 15:07:36 -07:00
bpf_progs dscp_policy - use a more efficient v6_equal() 2022-05-18 09:05:32 +00:00
framework Merge changes Ide01c994,Ia9f12a7b 2022-05-18 18:34:32 +00:00
framework-t Revert "Autogenerate connectivity jarjar rules" 2022-05-18 18:30:27 +00:00
nearby Rename "service-nearby" to "service-nearby-pre-jarjar" 2022-03-10 04:32:19 +00:00
netd drop support for pre-4.14 kernels 2022-05-16 11:04:22 -07:00
service Merge "Changing automotive ethernet allowed UIDs check" 2022-05-19 13:29:16 +00:00
service-t Move EthernetNetworkFactory to using the NetworkProvider API 2022-05-23 15:07:36 -07:00
tests Move EthernetNetworkFactory to using the NetworkProvider API 2022-05-23 15:07:36 -07:00
Tethering Fix testUpdateConnectedClientsForLocalOnlyHotspot 2022-05-19 21:14:21 +08:00
.gitignore Add a .gitignore in packages/modules/Connectivity. 2020-11-27 18:09:21 +09:00
OWNERS Add additional IPsec owners 2021-12-08 06:57:51 +00:00
OWNERS_core_networking add prohr to OWNERS_core_networking 2022-01-11 18:54:31 +00:00
OWNERS_core_networking_xts Add an OWNERS_core_networking_xts for CTS/GTS/... and use it. 2022-01-18 01:42:39 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Add CtsNetTestCasesLatestSdk to presubmit 2022-05-16 15:51:46 +08:00