Catch NoSuchElementException to unbreak no offload devices.
To consistent with fetching offload config service, retry fetcheing
offload control service.
b/152430668#comment4 assert that the fetch will be retried only
if the service is installed on the device.
Bug: 155026033
Test: run TetheringCoverageTests in virtual devices(do not support
offload)
Change-Id: Ie0a32a9062c722327a27c6de13e3bb8d9588bebb
SIM needs to be fully loaded before we can setup
data connection because APN slection requires
MCC/MNC on the SIM. Also lots of data related configs
are stored in carrier config. Both needs to be ready
before we can setup a data connection (except for
emergency APN).
Bug: 152816633
Test: Manual + unit tests
Merged-In: I69c7838bdd9751bef4c15e9504519b55afb9fefb
Change-Id: I69c7838bdd9751bef4c15e9504519b55afb9fefb
(cherry picked from commit 38de77534aaf4092f01de5dda1654d7963c297c9)
apiextensions_e2e_test doesn't exist, the right name is
sdkextensions_e2e_test.
Test: presubmit
Change-Id: Ibb9618bf0f1fdce6ceceb808705dab910b38755d
Merged-In: Ibb9618bf0f1fdce6ceceb808705dab910b38755d
Add a comment explaining the ordering of messages sent to the tracker
and connectivity diagnostics handlers.
Add a Slog.wtf call in case the deprecated notifyNetworkTested callback
is called.
Bug: 153500847
Test: atest ConnectivityServiceTest
Change-Id: I2dbfc9bf7b2f785ea4594851bd354e9fd0fc0bd1
Address issues found during AIDL review:
- Rename clientAddr to singleClientAddr
- Do not use a ParcelableBundle for notifyNetworkTested or
notifyDataStallSuspected; instead use AIDL parcelables for stronger
backwards compatibility guarantees.
Test: atest NetworkMonitorTest ConnectivityServiceTest
ConnectivityServiceIntegrationTest, manual
Bug: 153500847
Change-Id: Id9b71784e5f6294d203230e57737979e063ff0f8
Modules contributing mainline modules (APK/APEX) should set
min_sdk_version as well as apex_available.
Removed sdk_version because the sdk variant is not used by sdkext apex.
And, changed the dep from libbase_ndk to libbase. libbinder_ndk would
still work. But there's no reason to use it if not set sdk_version.
We could've set "sdk_variant_only" so that sdkext apex use the sdk
variant of derive_sdk explicitly. But even if we do that, we still have
to set min_sdk_version to be used by the apexes anyway.
Bug: 145796956
Test: m
Change-Id: I94ad8b9ffc5088822d3365253bf2f005a659d923
Stop depending on Preconditions that is not released on the same cadence
as the module, and is maintained as part of the framework.
Bug: 148636687
Test: atest TetheringTests NetworkStackNextTests
Change-Id: Id0dcec44f362f79bc8c046d722635687a7388aa2
Bug: 154775373
Test: atest CtsNetTestCasesLatestSdk:\
android.net.NetworkStackTest#testGetService
on both Q and R devices
Change-Id: I937c7cceaed3e2ea8a3d7c4d187890a6e9fdcd28
Bug: 154775373
Test: atest CtsNetTestCasesLatestSdk:android.net.NetworkStackTest
on both Q and R device
Change-Id: I91be50077749c2d357ee6f292fe4e127d1e46b8b
Unfortunately, root is the default user/group for
init-launched services. This can lead to processes
unnecessarily requesting permissions like privileged
capabilities. This service doesn't require any privileges
so run it as AID_NOBODY.
Addresses:
avc: denied { sys_resource } for comm=\"derive_sdk\" capability=24
scontext=u:r:derive_sdk:s0 tcontext=u:r:derive_sdk:s0
tclass=capability permissive=0
Bug: 154711554
Test: m com.android.sdkext
Test: boot && adb shell getprop | grep sdk_info
Change-Id: Ibd4ad616901a9d5c402ba89d636d0238b0043afa
Per linguist's suggestion, extend character limits of strings. And,
keep app's name "Dynamic System Update" not translated.
Bug: 154345776
Bug: 154345861
Bug: 154345863
Test: None
Change-Id: If57e0e0f301588f60744678f0ec942e8eb8e8a70
- I see no usages of private_api_filename / private.txt /
private_dex_api_filename
- tags are no longer used as of
Iff355041d88eb59ac47dd19a03e993cf1ce3927e
- api_filename/removed_api_filename does nothing if check_api is
specified. test-api does not need a removed.txt
Bug: 152479829
Bug: 144149403
Test: m
Change-Id: Ic1e859dc6aa91f8d7b4f285b63d3faafb27edc9b
Merged-In: Ic1e859dc6aa91f8d7b4f285b63d3faafb27edc9b
(cherry picked from commit 960c16cd389fd56542fd3dcc8935406e022cb1be)
Adding carrier config key to support ability to locally disconnect an
empty IMS conference. The network normally does this, but there are some
carriers which rely on the device to do it.
Test: Add unit test to verify local disconnect when participant count is
zero.
Test: Use conference event package test cmd/intents to inject test CEP to
simulate a conference dropped to 0 participants. Verify IMS conference is
disconnected.
Bug: 151707520
Fixes: 154245549
Merged-In: If6fb25b669a74e7e586736c04101a42ab6adcffe
Change-Id: Id7238bc668e6d6d2d7a04a8696263b260d6b6fd8
Adding new carrier config option to indicate if conference event package
data is supported on the conference peer. We already have an option for
the conference host. This new option is used to indicate when the peer
can or cannot support the CEP data. When not supported, even if the
network provides CEP data, it is ignored by the device.
Test: Manual testing using test intents.
Test: Added unit tests for these cases.
Bug: 150860282
Fixes: 154245604
Merged-In: I47b5e49acf08e085ea23e21a5f6b2d5a5d00bc09
Change-Id: Ib8d8f171699f21f45b0ce2eec2dbe75d7466b76a
1. Let restricted notification that can be dismissed.
2. Only put up restricted notification when any of tethering is
activating.
Bug: 154214549
Test: atest TetheringTests
Change-Id: Ib980aca154036828abdab35e3bb11d42f85ff610