Commit Graph

6 Commits

Author SHA1 Message Date
Maciej Żenczykowski
127a1441c3 bump min_sdk_version from 29 (Q) to 30 (R)
Mainline no longer supports Q.
These files were recently moved into p/m/C as part of a refactor.

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I0f06ace921db6c79d63c0048bdb73d167ff606cf
2023-09-19 23:22:58 +00:00
Motomu Utsumi
68cd731381 Add libnetd_utils_headers cc_library_headers
There is a module that specifies libnetdutils/include from include_dirs
which is not recommended.
Using the cc_library_headers makes it easy to move
frameworks/libs/net to packages/modules/Connectivity.

Bug: 296014682
Test: m

Change-Id: Ia52ede9787009102ebf626fcb3b337511b0a809f
2023-08-22 19:16:12 +09:00
Wayne Ma
b48a1205be Move NetlinkListener relevant files to frameworks/libs/net
NetlinkListener is used by Netd, so move it to frameworks/libs/net
and then it can be used by platform code and mainline module.

Bug: 209935649
Test: m; flash; boot
Change-Id: I4cf0e64eee1dda1e452d76af77642416c9729d42
2022-01-20 15:07:46 +08:00
waynema
51800daf8e [NETD-TC#7] Move getIfaceNames() and getIfaceList() to libnetdutils.
getIfaceNames() and getIfaceList() are used by Netd.

Test: m; flash; boot
Change-Id: Id95e2e7e83c07b2f420880feebdf12d4c477c958
2021-12-08 14:33:21 +08:00
Ken Chen
3250a84f93 [NETD-BPF#23] Make libnetdutils apex_available for tethering module
libconn_for_netd.so in tethering module needs utilities in libnetdutils,
e.g. Status class.

Bug: 202086915
Test: m
Change-Id: Idb7f11d146570972f2467b7faa624f41bd859062
2021-12-07 03:22:07 +00:00
Ken Chen
38cf698179 [NETD-BPF#1] Move libnetdutils to framework/libs/net/...
libnetdutils is referenced by netd.c and TrafficController.cpp, which
are going to be mainlined. Therefore, move libnetdutils to a common
place where both mainline module and platform code (Netd) can refer to.

Bug: 202086915
Test: build; flash; cd system/netd; atest
No-Typo-Check: Clean code move with no other changes.
BYPASS_INCLUSIVE_LANGUAGE_REASON=Clean code move with no other changes.

Merged-In: I645bfe35f6543149c9a9f894cd4158d27a481abe
Change-Id: I645bfe35f6543149c9a9f894cd4158d27a481abe
2021-11-20 17:10:41 +08:00