The APIs are used in the CellBroadcastService, and the
framework-cellbroadcast-shared-srcs library is also linked there.
Bug: 135956699
Test: manual
Change-Id: I5e71ea1ee1a858c0520c241dc7365733441e0f50
Merged-In: I5e71ea1ee1a858c0520c241dc7365733441e0f50
Tethering use NETLINK_NETFILTER to update NAT conntrack entry for
tethering offload. Netlink netfilter socket is protected by SELinux
that only system_server, netd and networkStack(tethering) may use it.
Bug: 144814535
Test: build
Change-Id: I40eedc89d72cf0a1fcdf670b453ef034b2e7b13c
Tethering will be build as unblundled APP. It can't use @hide
API anymore. Expose netId for tethering because it need to set
proxy dns server with netId.
Bug: 144758139
Test: build
Change-Id: Ifefa791940874617bb479f5c23488d14be87f45e
A number of connectivity checks that protect system-only methods
check for CONNECTIVITY_INTERNAL, but CONNECTIVITY_INTERNAL is a
signature|privileged permission. We should audit the permission
checks, and convert checks that protect code that should not be
called outside the system to a signature permission. So replace
all CONNECTIVITY_INTERNAL to other proper permissions.
Bug: 32963470
Test: atest FrameworksNetTests NetworkPolicyManagerServiceTest
Change-Id: I8f2dd1cd0609056494eaf612d39820e273ae093f
Merged-In: I8f2dd1cd0609056494eaf612d39820e273ae093f
Added a new field subscription id to SMS
cell broadcast message.
This is the preliminary step of deprecating
CellBroadcastMessage class.
Bug: 144891074
Test: Manual
Merged-In: I23f61e77f6a9a16ce77f7892ba96fd7485c555a4
Change-Id: I23f61e77f6a9a16ce77f7892ba96fd7485c555a4
(cherry picked from commit 750b8b1972)
Exposing constants that were originally hidden
Test: build
Bug: 140908357
Change-Id: I12b8d338a58c0ffe294137171b8bac7d80a0b776
Merged-In: I12b8d338a58c0ffe294137171b8bac7d80a0b776
Make following APIs as system
SubscriptionInfo;->isGroupDisabled
TelephonyManager;->isModemEnabledForSlot
TelephonyManager;->setOpportunisticNetworkState
Add a new public API
SubscriptionManager;->getActiveAndHiddenSubscriptionInfoList
As they need to be accessed by system application to configure
the opportunistic subscripion info
Bug: 141122805
Test: verified that CBRS app is still working fine
Merged-In: Idf1520911272ba4b7c1f15671d6221d99ba0ab37
Change-Id: Idf1520911272ba4b7c1f15671d6221d99ba0ab37
Apps that do their own DNS queries need to know the NAT64 prefix
to resolve v4 addresses on v6-only networks.
Test: FrameworksNetTests NetworkStackTests
Bug: 144877069
Change-Id: I5a255b7afc2038646b93a0ab893f8ad62d0fb34f