This CL updates VCN instances to exit Safe Mode when they receive a
new VcnConfig. When a VCN exits Safe Mode, they will re-register a
request listener to receive all cached requests and start the
needed VcnGatewayConnections.
Bug: 179429339
Test: atest FrameworksVcnTests
Change-Id: Id1c2dc287e1ec56f37821cf0ae77f066f22d22bb
This CL updates VcnManagementService to notify VcnStatusCallbacks when a
VCN is started or stopped. VcnStatusCallbacks will also be notified for
config changes that cause a VCN to exit Safe Mode.
Bug: 180659281
Test: atest FrameworksVcnTests
Change-Id: I4168c868185880621333855dfcb51e46cb662741
Modify lost RAM calculation to account unmapped ION buffers as part of
kernel memory and mapped ION buffers as PSS. Because mapped ION buffers
might be accounted in memtrack HAL's reported Graphics memory, we
need to replace it with the mapped dmabufs representing mapped ION
buffers.
Bug: 174546244
Test: dumpsys meminfo
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ia7f5fc2ca95389a5f2ae78d4cdbf8ba3ef8e3972
Merged-In: Ia7f5fc2ca95389a5f2ae78d4cdbf8ba3ef8e3972
Connectivity is becoming a mainline module in S but mainline
modules are not allowed to use non-formal APIs. Thus, replace
non-formal API Inet[4|6]Address#ANY to
NetworkStackConstants#IPV[4|6]_ADDR_ANY.
Bug: 181756157
Test: FrameworksNetTests
Change-Id: Id4d2fc551c1384f549a586e87ab68356ba05b995
The data class supports a ConnectivityManager API, so it should be
together with the ConnectivityManager API surface.
Bug: 181512874
Test: m
Change-Id: I5642486ea0febcb08cadcbd4cd3f0c6056deae0e
The connection service will become the main line module.
It is difficult to include BitUtils in the module. and so
Move the hidden API needed in BitUtils to NetworkCapabilitiesUtils.
Bug: 170598012
Test: atest ConnectivityServiceTest
atest NetworkCapabilitiesTest
atest DnsUtilsTest
Change-Id: Ibc81827e25a54fc3ff94f78d810fe4f5073e3a98
* changes:
[FUI25] Migrate NetworkPolicyManagerService to use ConnectivityManager
[FUI24] Use getAllNetworkStateSnapshot in NetworkPolicyManagerService
Currently, in NPMS, getAllNetworkState is used to get all
information of all connected networks. However, this will not
be available after ConnectivityService goes to mainline module.
Thus, replace the usage with new API.
Test: atest NetworkPolicyManagerServiceTest
Bug: 174123988
Change-Id: I99bca71cb3b98f74eab036fac4517ee926eb539c
* Since AOSP is in control of when IWlan allocates and releases the
pdu session id, it doesn't need to react to start handover and
cancel handover.
* CellularDataService can still use these methods since it is in
AOSP.
Bug: 177607048
Test: make
Merged-In: I9e65ad178a843e92a59e5e4f7debd4d7b77a3edb
Change-Id: I9e65ad178a843e92a59e5e4f7debd4d7b77a3edb
We shouldn't include it until we also update OomAdjuster
to add it to certain processes.
Fixes: 181902246
Test: atest ./tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: I3bfdd2b01c3ba8010e96177e41fc90be3dce8a55
Merged-In: I888764ff22fba92fe2cccf3d8442ed318a19ad2a
This is a temporary change until we can fix an issue
in AMS internally.
Bug: 177641226
Test: treehugger
Change-Id: I7d04b4116f8ecb7da8c3fb0b9229a8896b836811
Merged-In: I888764ff22fba92fe2cccf3d8442ed318a19ad2a
DataConnectStats is now created from BatteryStatsService because
it actually receive necessaary signal and update to BSS. It's
better to move the class into a package that is more related
BSS, so update the package into com.android.server.am.
This commit also fixes some style issues.
Bug: 171183530
Test: m
Change-Id: I61c28599a03a66bf0d83d78076a0791ff63f48cc
Merged-In: I61c28599a03a66bf0d83d78076a0791ff63f48cc
This reverts commit 7f13ec417e.
Reason for revert:
1. The BUILD_VERSIONS.S is 1000, and thus it will prevent
the code from requiring new algorithms on devices whose
first sdk is 31 (e.g. cuttlefish), though these devices
should be treated as first launched with SDK S.
2. It will break #testValidationForAlgosAddedInS, because
the test code is using BUILD_VERSIONS.R to gate the test,
which is inconsistent with the implementation.
Bug: 181887451
Test: atest IpSecAlgorithmTest
Change-Id: I5cd717c5ebd6086ae5cf9abf76311ae4fca0c6e9